Skip to Content
OpenPerf

Releases

List release commits

GET
/api/v1/releases/{id}/commits

Returns the commits included in a release for a project.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Path Parameters

id*string

Query Parameters

projectId*string
Length1 <= length <= 64

Response Body

application/json
  1. response
status*string
Value in"ok""no_previous""no_ref""no_repository"
base*|null
head*string|null
repositories*array<>
Example Request
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"
        }
      ]
    }
  ]
}