Retrieve a commit sequence
GET
/api/v4/projects/{id}/repository/commits/{sha}/sequence
Retrieves the commit sequence for a specified commit.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”first_parent
boolean
Only include the first parent of merges
Responses
Section titled “Responses”OK
Media typeapplication/json
object
count
integer
Example
{ "count": 1}Bad Request
Not found