v1

latestOpenAPI 3.0.3Apache 2.02026-07-142201861.5 MB
Events

Retrieve an Event Attachment

Retrieve metadata for a single attachment on an event, or download its contents by passing the download query parameter.

Requires the event-attachments organization feature.

get/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/events/{event_id}/attachments/{attachment_id}/

Path parameters

organization_id_or_slugstring required

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

project_id_or_slugstring required

The ID or slug of the project the resource belongs to. Project slugs are unique within each organization.

event_idstring required

The ID of the event. It is a 32-character hexadecimal string as reported by the client.

attachment_idstring required

The numeric ID of the attachment, as returned from the attachments list endpoint.

Query parameters

downloadstring

If this parameter is present, the response will be a binary file download instead of JSON metadata. The value does not matter — any value (including empty) triggers the download.

Response

idstring required
event_idstring required
typestring required
namestring required
mimetypestring nullable required
dateCreatedstring date-time required
sizeinteger required
headersobject required
sha1string nullable required