Pages
Bnder API documentation for Pages. Read the API Overview to get started and learn more.
Get all domains
Gets all domains in the guild
GET/consumer/v1/guilds/guildId /pages/domains
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
Request body
empty
Response
Status: 200 -
empty response
Create a new domain
Creates a new domain in the
POST/consumer/v1/guilds/guildId /pages/domains
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
Request body
| Field | Type | Description |
|---|---|---|
| domain | string | The name of the domain to create. Must be between 1 and 50 characters. |
| display_name | string | The display name of the domain. |
Response
Status: 201 -
empty response
Get a domain
Gets a domain in the guild
GET/consumer/v1/guilds/guildId /pages/domains/domainId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| domainId | The ID of the domain |
Request body
empty
Response
Status: 200 -
empty response
Update a domain
Updates a domain in the guild
PUT/consumer/v1/guilds/guildId /pages/domains/domainId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| domainId | The ID of the domain |
Request body
| Field | Type | Description |
|---|---|---|
| display_name | string | The display name of the domain. |
Response
Status: 200 -
empty response
Delete a domain
Deletes a domain in the guild
DELETE/consumer/v1/guilds/guildId /pages/domains/domainId
| Parameters | Description |
|---|---|
| guildId | The id of a discord guild |
| domainId | The ID of the domain |
Request body
empty
Response
Status: 204 - Domain deleted successfully
empty response