Get headers for file attachment metadata associated with a document
head/documents/{entityTypeName}/{documentId}/attachments/{attachmentId}
Gets headers for the file attachment metadata that is associated with a document. The "location" property is the relative URI path to download the document from the Files service. To retrieve the contents of an attachment, use the URI that is provided in the "location" field:
GET ${hostAndPort}${valueOfLocationProperty}
.
Note that hostAndPort
is the host and port of the Files service.
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | ||
400 | Bad Request | The request was invalid. | ||
404 | Not Found | The attachment was not found. |