Alerts
List attachments for alert
Changed onLists all attachments for the given alert with pagination support.
get/api/{cloudId}/v1/alerts/{alertId}/attachments
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- URLhttps://api.atlassian.com/jsm/ops/api/{cloudId}/v1/alerts/{alertId}/attachments
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.stg.atlassian.com/authorizeToken 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.
Query parameters
afterstring
The pagination token for fetching the next page of results.
sizeinteger
The maximum number of items to return per page.
Response
Returned if the request is successful.
Example response
{
"values": [
{
"id": "1234567890",
"attachmentName": "error_log.txt",
"insertedAt": "2024-01-05T07:06:47.958Z"
}
],
"links": {
"next": "/api/{cloudId}/v1/alerts/alert-id/attachments?after=1234567890"
}
}Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info
- info
endpoint added
- info