GET api/file/download/{id}
Downloads a file by its internal node ID, enforcing access control and vault configuration.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The internal node ID of the file to download. Must correspond to a valid document with appropriate access rights. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
On success: HTTP 200 OK with the file stream and appropriate content headers. On failure: HTTP 400 Bad Request with an error message.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |