Upload a New File

Upload a new debug information file for the given release.

Unlike other API requests, files must be uploaded using the traditional multipart/form-data content-type.

The file uploaded is a zip archive of an Apple .dSYM folder which contains the individual debug images. Uploading through this endpoint will create different files for the contained images.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the project belongs to.

project_slug (string)
REQUIRED

The slug of the project to upload a file to.

Body Parameters

file (string)
REQUIRED

The multipart encoded file.

Scopes

<auth_token> requires the following scopes:
  • project:write
POST /api/0/projects/{organization_slug}/{project_slug}/files/dsyms/
curl https://sentry.io/api/0/projects/{organization_slug}/{project_slug}/files/dsyms/ \
 -H 'Authorization: Bearer <auth_token>' \
 -H 'Content-Type: multipart/form-data' \
 -F file=debug.zip
RESPONSE
Success.