api:file:download
Table of Contents
API : File Download
Introduction
Download a file.
Request
| URL | https://api.telecomx.dk/file/ID/download | |
|---|---|---|
| Method | GET | |
| Access level | Minimum VIEWER | |
| Param | ID | Id of the file (24 hex-char string) |
Query example
https://api.telecomx.dk/file/1234567890ABCDEF12345678/download
Images and PDF files are served inline for preview; other file types are sent as attachments.
Response
| File |
|---|
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | id | File id is invalid |
| 404 | id | Not found |
| 404 | not_found | File could not be fetched from the file server |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/file/download.txt · Last modified: by Mikkel Meerwaldt Jørgensen