v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Attachment

Get attachments for label

Returns the attachments of specified label. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response header.

Permissions required: Permission to view the attachment and its corresponding space.

get/labels/{id}/attachments

Path parameters

idinteger required

The ID of the label for which attachments should be returned.

Query parameters

sort'created-date' | '-created-date' | 'modified-date' | '-modified-date'

The sort fields for attachments. The default sort direction is ascending. To sort in descending order, append a - character before the sort field. For example, fieldName or -fieldName.

Used to sort the result by a particular field.

cursorstring

Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.

limitinteger

Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.

Response

Returned if the requested attachments for specified label were successfully fetched.