sentry-compat

Create a release for a specific project (stub for sentry-cli compatibility).

sentry-cli calls this endpoint (instead of /organizations/.../releases/) when both SENTRY_ORG and SENTRY_PROJECT env vars are set. Behaves identically to the organizations endpoint but validates the project slug.

post/0/projects/{org_slug}/{project_slug}/releases/

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/0/projects/{org_slug}/{project_slug}/releases/
  • Auth: none declared

Path parameters

org_slugstring required

Organization slug (ignored in single-tenant mode)

project_slugstring required

Project slug or numeric ID

Request body

projectsstring[]

Project slugs this release belongs to

versionstring required

Release version identifier

Response

Release created

dateCreatedstring required
dateReleasedstring nullable
shortVersionstring required
versionstring required

Changes