v1
latestOpenAPI 3.0.32026-07-13218142597.2 KBGet attachment by id
Returns a specific attachment.
Permissions required: Permission to view the attachment's container.
Path parameters
The ID of the attachment to be returned. If you don't know the attachment's ID, use Get attachments for page/blogpost/custom content.
Query parameters
Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
Includes labels associated with this attachment in the response. The number of results will be limited to 50 and sorted in the default sort order. A meta and _links property will be present to indicate if more results are available and a link to retrieve the rest of the results.
Includes content properties associated with this attachment in the response. The number of results will be limited to 50 and sorted in the default sort order. A meta and _links property will be present to indicate if more results are available and a link to retrieve the rest of the results.
Includes operations associated with this attachment in the response, as defined in the Operation object. The number of results will be limited to 50 and sorted in the default sort order. A meta and _links property will be present to indicate if more results are available and a link to retrieve the rest of the results.
Includes versions associated with this attachment in the response. The number of results will be limited to 50 and sorted in the default sort order. A meta and _links property will be present to indicate if more results are available and a link to retrieve the rest of the results.
Includes the current version associated with this attachment in the response. By default this is included and can be omitted by setting the value to false.
Includes collaborators on the attachment.
Response
Returned if the requested attachment is returned.