Download file
GET
/files/{id}/downloadContract
Parameter | Value |
|---|---|
| Section | files |
| Authentication | CookieAuth |
| Consumes | not required |
| Produces | application/octet-stream |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| id | path | yes | integer | File ID |
Responses
4 responses
Status | Description | Type |
|---|---|---|
200 | Successful response | file |
400 | Invalid file ID or path outside storage | object |
401 | Unauthorized | object |
404 | File not found in the database or on disk | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }