Milestones
Bnder API documentation for Milestones. Read the API Overview to get started and learn more.
Creates a new milestone
Creates a new milestone in the specified project
POST/consumer/v1/guilds/guildId /projects/projectId /milestones
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| projectId | The ID of the project |
Request body
| Field | Type | Description |
|---|---|---|
| name | string | The name of the milestone |
| due_date | string | The due date of the milestone |
Response
Status: 201 -
empty response
Updates a milestone
Updates a milestone in the specified project
PUT/consumer/v1/guilds/guildId /projects/projectId /milestones/milestoneId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| projectId | The ID of the project |
| milestoneId | The ID of the milestone |
Request body
| Field | Type | Description |
|---|---|---|
| name | string | The name of the milestone |
| due_date | string | The due date of the milestone |
Response
Status: 200 - Milestone updated
| Field | Type | Description |
|---|---|---|
| name | string | The name of the milestone |
| due_date | string | The due date of the milestone |
Deletes a milestone
Deletes a milestone in the specified project
DELETE/consumer/v1/guilds/guildId /projects/projectId /milestones/milestoneId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| projectId | The ID of the project |
| milestoneId | The ID of the milestone |
Request body
empty
Response
Status: 204 -
empty response
Create a new folder
Create a new folder in the specified project
POST/consumer/v1/guilds/guildId /files
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
Request body
| Field | Type | Description |
|---|---|---|
| name | string | The name of the folder |
| parent | string | The ID of the parent folder, or root if first level |
Response
Status: 201 -
empty response
Update a folder
Update the name or parent of a folder
PUT/consumer/v1/guilds/guildId /files/folder/folderId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| folderId | The ID of the folder |
Request body
| Field | Type | Description |
|---|---|---|
| name | string | The name of the folder |
| parent | string | The ID of the parent folder, or root if first level |
| shared_with | array | A list of user IDs to share the folder with |
Response
Status: 200 -
empty response
Delete a folder
Delete a folder and all its contents
DELETE/consumer/v1/guilds/guildId /files/folder/folderId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| folderId | The ID of the folder |
Request body
empty
Response
Status: 204 -
empty response
Update a file
Update the name of a file
PUT/consumer/v1/guilds/guildId /files/fileId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| fileId | undefined |
Request body
| Field | Type | Description |
|---|---|---|
| name | string | The name of the file |
| shared_with | array | The IDs of users the file is shared with |
| folder_id | string | The ID of the parent folder, or root if first level |
| public | boolean | Whether the file is public or not |
Response
Status: 200 -
empty response