commits
Retrieve a commit sequence
Retrieves the commit sequence for a specified commit.
get/api/v4/projects/{id}/repository/commits/{sha}/sequence
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
shastring required
A commit SHA
Query parameters
first_parentboolean
Only include the first parent of merges
Response
Retrieve a commit sequence
Example response
{
"count": 1
}Changes
No recorded changes to this operation across all 5 revisions of this API.