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 premium 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
guildId The id of a discord guild
taskId The id of the task that contains the attachment
attachmentId The id of the attachment
Responses
200 Response (Attachment retrieved):
The attachment file will be returned as a binary file.
Delete task attachments
Delete the attachment of a task in the specified guild by the attachment id.
DELETE /tasks/attachments/guildId/taskId/attachmentId
Parameters
guildId The id of a discord guild
taskId The id of the task that contains the attachment
attachmentId The id of the attachment
Responses
204 Response (Attachment deleted):
The attachment has been deleted successfully.
Upload task attachments
Upload an attachment to a task in the specified guild.
POST /tasks/attachments/guildId/taskId
Parameters
guildId The id of a discord guild
taskId The id of the task that will contain the attachment
Request Body
file The file to upload
Responses
201 Response (Attachment uploaded):
The attachment has been uploaded successfully.