Alerts

Get attachment download URL

Changed on

Gets a temporary download URL for the specified attachment.

get/api/{cloudId}/v1/alerts/{alertId}/attachments/{id}

Request

  • Base URL
    https://api.atlassian.com/jsm/ops
  • URL
    https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/alerts/{alertId}/attachments/{id}
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.stg.atlassian.com/authorize
      Token URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-alert:jira-service-management

Path parameters

cloudIdstring required

The cloud ID of the Jira instance.

alertIdstring required

The ID of the alert.

idstring required

The attachment ID (timestamp).

Response

Returned if the request is successful.

urlstring

Temporary download URL for the attachment.

Example response

{
  "url": "https://api.atlassian.com/jsm/ops/v1/alerts/alert-id/attachments/1234567890/download?token=xyz"
}

Changes