Gets headers for downloading the detached file with the specified file ID
head/files/{fileId}/content
Gets the headers when downloading the file with the specified ID, for a file that is not attached to an object. Use the /documents/{objectTypeName}/{objectId}/files/{fileId}/content endpoint for a file that is attached to an object.
Name | Type | Required | Description |
---|---|---|---|
changeContentDisposition | boolean | false | A true value sets an 'inline' value in the Content-Disposition header. A false value sets an 'attachment' value in the Content-Disposition header. Default: false |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. The file with the specified file ID was returned. | Headers | |
400 | Bad Request | The request failed because the file ID could not be parsed correctly. The file ID must be a UUID. | ||
403 | Forbidden | The request failed. The object does not exist, the user does not have the correct permissions to view the object, or the file is attached to an object. |