v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Attachment

Get attachments

Returns all attachments. 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 container of the attachment.

get/attachments

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.

statusstring[]

Filter the results to attachments based on their status. By default, current and archived are used.

mediaTypestring

Filters on the mediaType of attachments. Only one may be specified.

filenamestring

Filters on the file-name of attachments. Only one may be specified.

limitinteger

Maximum number of attachments 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 are returned.