List an Organization's Releases

GET /api/0/organizations/{organization_id_or_slug}/releases/

Return a list of releases for a given organization.

Path Parameters

organization_id_or_slug (string)
REQUIRED

The id or slug of the organization.

Query Parameters:

query (string)

This parameter can be used to create a "starts with" filter for the version.

Scopes

<auth_token> requires one of the following scopes:
  • project:releases
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/releases/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
  {
    "id": 2,
    "authors": [],
    "commitCount": 0,
    "data": {},
    "dateCreated": "2018-11-06T21:20:08.033Z",
    "dateReleased": null,
    "deployCount": 0,
    "firstEvent": null,
    "lastCommit": null,
    "lastDeploy": null,
    "lastEvent": null,
    "newGroups": 0,
    "owner": null,
    "projects": [
      {
        "name": "Pump Station",
        "slug": "pump-station"
      }
    ],
    "ref": "6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb",
    "shortVersion": "2.0rc2",
    "url": null,
    "version": "2.0rc2"
  },
  {
    "id": 1,
    "authors": [],
    "commitCount": 0,
    "data": {},
    "dateCreated": "2018-11-06T21:19:58.559Z",
    "dateReleased": null,
    "deployCount": 0,
    "firstEvent": "2018-11-06T21:19:58.639Z",
    "lastCommit": null,
    "lastDeploy": null,
    "lastEvent": "2018-11-06T21:19:58.639Z",
    "newGroups": 0,
    "owner": null,
    "projects": [
      {
        "name": "Prime Mover",
        "slug": "prime-mover"
      }
    ],
    "ref": null,
    "shortVersion": "2b6af31",
    "url": null,
    "version": "2b6af31b2edccc73a629108b17344dfe20858780"
  }
]