Skip to Content
OpenPerf

Releases

List releases

GET
/api/v1/releases

Returns a page of releases, newest first, with the health of each. Narrow the list by project, version, environment and time range.

Authorization

headerAuthorizationBearer <opaque>

Organization API token (opt_…)

Query Parameters

from*string
Formatdate-time
to*string
Formatdate-time
projectIds?array<string>
version?string
Lengthlength <= 500
environment?array<string>
limit?integer
Range1 <= value <= 200
Default50
offset?integer
Range0 <= value <= 100000
Default0

Response Body

application/json
  1. response
data*array<>
total*integer
Example Request
curl -X GET 'https://api.example.com/api/v1/releases?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z' \
  -H 'Authorization: Bearer <token>'
Example Response
{
  "data": [
    {
      "id": "string",
      "version": "string",
      "url": "string",
      "releasedAt": "2019-08-24T14:15:22Z",
      "createdAt": "2019-08-24T14:15:22Z",
      "status": "pending",
      "current": {
        "transactions": 0,
        "errors": 0,
        "failureRate": 0,
        "errorsPerK": 0,
        "newIssues": 0
      },
      "previous": {
        "transactions": 0,
        "errors": 0,
        "failureRate": 0,
        "errorsPerK": 0,
        "newIssues": 0
      },
      "firstSeenAt": "2019-08-24T14:15:22Z",
      "lastSeenAt": "2019-08-24T14:15:22Z",
      "adoption": [
        0
      ],
      "projects": [
        {
          "id": "string",
          "projectId": "string",
          "version": "string",
          "previousVersion": "string",
          "ref": "string",
          "status": "pending",
          "current": {
            "transactions": 0,
            "errors": 0,
            "failureRate": 0,
            "errorsPerK": 0,
            "newIssues": 0
          },
          "previous": {
            "transactions": 0,
            "errors": 0,
            "failureRate": 0,
            "errorsPerK": 0,
            "newIssues": 0
          },
          "firstSeenAt": "2019-08-24T14:15:22Z",
          "lastSeenAt": "2019-08-24T14:15:22Z",
          "adoption": [
            0
          ]
        }
      ]
    }
  ],
  "total": 0
}