Skip to content
Download OpenAPI description
Languages
Servers
https://api.kanbert.com/api/v1
Operations
Operations
Operations
Operations
Webhooks
Operations
Webhooks
Operations
Operations
Webhooks
Operations
Operations
Operations
Operations
Operations
Operations
Operations

Request

No specific scope required.

Security
http or oauth2
Path
idstringrequired

The ID of the file to be retrieved.

curl -i -X GET \
  'https://api.kanbert.com/api/v1/files/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

FileData

Bodyapplication/json
idstringrequired
file_namestringrequired
mime_typestringrequired
sizeintegerrequired

File size in bytes

entity_idstringrequired

ID of the entity that the file belongs to

entity_typestringrequired

Type of the entity that the file belongs to

created_atstringrequired
Response
application/json
{ "id": "string", "file_name": "string", "mime_type": "string", "size": 0, "entity_id": "string", "entity_type": "string", "created_at": "string" }

Request

No specific scope required.

Security
http or oauth2
Path
idstringrequired

The ID of the file to be downloaded.

curl -i -X GET \
  'https://api.kanbert.com/api/v1/files/{id}/download' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Headers
Content-Dispositionstringrequired
Example: "attachment"
Bodyapplication/octet-stream
string(binary)
Response
No content
Operations
Operations
Schemas