CDN
Bnder API documentation for Documents. Read the API Overview to get started and learn more.
Info:
The domain for the CDN is cdn.bnder.net. Authorization headers are the same as the main API. The owner of the api key
must be placed in a pro seat to upload files.
View task attachments
View the attachments of a task in the specified guild by the attachment id.
GET/tasks/attachments/guildId /taskId /attachmentId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| taskId | The id of the task that contains the attachment |
| attachmentId | The id of the attachment |
Request body
empty
Response
Status: 200 - Attachment retrieved
empty response
Delete task attachments
Delete the attachment of a task in the specified guild by the attachment id.
DELETE/tasks/attachments/guildId /taskId /attachmentId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| taskId | The id of the task that contains the attachment |
| attachmentId | The id of the attachment |
| file | The file to upload |
Request body
empty
Response
Status: 204 - Attachment deleted
empty response
Upload task attachments
Upload an attachment to a task in the specified guild.
POST/tasks/attachments/guildId /taskId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| taskId | The id of the task that will contain the attachment |
| file | The file to upload |
Request body
empty
Response
Status: 201 - Attachment uploaded
empty response