v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Releases

Create a New Release for an Organization

Create a new release for the given organization. Releases are used by Sentry to improve error reporting by correlating first-seen events with the release that may have introduced them, and are required for source maps and other debug features.

Release versions that are the same across multiple projects within an organization are treated as the same release in Sentry.

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

Path parameters

organization_id_or_slugstring required

The ID or slug of the organization the resource belongs to.

Request body

versionstring required

A version identifier for this release. Can be a version number, a commit hash, and so on.

refstring nullable

An optional commit reference. This is useful if a tagged version has been provided.

urlstring uri nullable

A URL that points to the release. For instance, this can be the path to an online interface to the source code, such as a GitHub URL.

dateReleasedstring date-time nullable

An optional date that indicates when the release went live. If not provided the current time is used.

statusstring

The status of the release. Can be open or archived.

ownerstring

The username of the user to set as the release owner.

Response

refstring nullable
urlstring nullable
dateReleasedstring date-time nullable
dateCreatedstring date-time nullable
dateStartedstring date-time nullable
ownerobject nullable
lastCommitobject nullable
firstEventstring date-time nullable
lastEventstring date-time nullable
currentProjectMetaobject nullable
userAgentstring nullable
adoptionStagesobject nullable
idinteger required
versionstring required
newGroupsinteger required
statusstring required
shortVersionstring required
dataobject required
commitCountinteger required
deployCountinteger required