Hub
Fetch hub
GET
https://api.hubdot.xyz/v1/hub/fetch
Returns a specific hub.
Query Parameters
Name | Type | Description |
---|---|---|
guildId | string | hub's Discord guild id |
apiToken | string | hub's api token |
Create hub
POST
https://api.hubdot.xyz/v1/hub/create
Creates a hub.
Request Body
Name | Type | Description |
---|---|---|
guildId | string | hub's Discord guild id |
name | string | hub's name |
placeId | string | hub's Roblox place id |
theme | string | hub's theme, default monochrome |
Delete hub
POST
https://api.hubdot.xyz/v1/hub/delete
Deletes a hub.
Request Body
Name | Type | Description |
---|---|---|
guildId | string | hub's Discord guild id |
apiToken | string | hub's api token |
Update hub
POST
https://api.hubdot.xyz/v1/hub/update
Updates a hub.
Request Body
Name | Type | Description |
---|---|---|
guildId | string | hub's Discord guild id |
apiToken | string | hub's api token |
update | object | keys to update |
update.name | string | name to update to |
update.placeId | string | place id to update to |
update.theme | string | theme to update to |
Last updated