Releases
List release commits
GET
Returns the commits included in a release for a project.
cookiecookie
better-auth.session_token<token>Dashboard session cookie
id*stringprojectId*stringLength
1 <= length <= 64application/json- response
status*stringValue in
"ok""no_previous""no_ref""no_repository"base*|nullhead*string|nullrepositories*array<>curl -X GET 'https://api.example.com/api/v1/releases/string/commits?projectId=string'Example Response
{
"status": "ok",
"base": {
"version": "string",
"ref": "string"
},
"head": "string",
"repositories": [
{
"repository": {
"id": "string",
"integrationId": "string",
"provider": "github",
"name": "string",
"url": "http://example.com",
"defaultBranch": "string"
},
"totalCommits": 0,
"commits": [
{
"sha": "string",
"message": "string",
"authorName": "string",
"authorEmail": "string",
"authorLogin": "string",
"authorAvatarUrl": "string",
"committedAt": "2019-08-24T14:15:22Z",
"url": "http://example.com"
}
]
}
]
}