Update Organization Release
PUT https://sentry.io/api/0/organizations/{{organization_slug}}/releases/:version/
https://docs.sentry.io/api/releases/update-an-organizations-release/
Update a release for a given organization.
Path Parameters
organization_slug
(string)REQUIRED
The slug of the organization the release belongs to.
version
(string)REQUIRED
The version identifier of the release.
Body Parameters
ref
(string)
An optional commit reference. This is useful if a tagged version has been provided.
url
(string)
A URL that points to the release. This can be the path to an online interface to the source code for instance.
dateReleased
(string)
An optional date that indicates when the release went live. If not provided the current time is assumed.
commits
(array)
An optional list of commit data to be associated with the release. Commits must include parameters id
(the sha of the commit), and can optionally include repository
, message
, author_name
, author_email
, and timestamp
.
refs
(array)
An optional way to indicate the start and end commits for each repository included in a release. Head commits must include parameters repository
and commit
(the HEAD sha). They can optionally include previousCommit
(the sha of the HEAD of the previous release), which should be specified if this is the first time you've sent commit data.
Scopes
You need to authenticate via bearer auth token. requires one of the following scopes:
-
project:releases
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dateReleased | string |
Request Body
{"dateReleased"=>nil}