Upload a New Organization Release File

Upload a new organization release file.

Path Parameters

organization_slug (string)
REQUIRED
The slug of the organization.
version (string)
REQUIRED
The version identifier of the release.

Body Parameters

name (string)
The name (full path) of the file.
file (string)
REQUIRED
The multipart encoded file.
dist (string)
The name of the dist.
header (string)
This parameter can be supplied multiple times to attach headers to the file. Each header is a string in the format key:value. For instance it can be used to define a content type.

Scopes

<auth_token> requires the following scopes:
  • project:releases
POST /api/0/organizations/{organization_slug}/releases/{version}/files/
curl https://sentry.io/api/0/organizations/{organization_slug}/releases/{version}/files/ \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: multipart/form-data' \
 -F name=/demo/release.min.js \
 -F file=release.min.js
RESPONSE
Success.