Gets headers when downloading the file with the specified file ID
head/documents/{objectTypeName}/{objectId}/files/{fileId}/content
Gets the headers when downloading the file with the specified ID from the object that is specified in the path.
Name | Type | Required | Description |
---|---|---|---|
fileId | string | true | The ID of the file. |
objectId | string | true | The ID of the object. |
objectTypeName | string | true | The name of the object type to which the object belongs. |
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 file location is not valid. | ||
404 | Not Found | The object does not exist, the user does not have the correct permissions to view the object, or the file association is a link to an external file. External files cannot be downloaded via this endpoint. |