docs: added endpoints and object models
This commit is contained in:
parent
ebab7e4fb3
commit
142cc5a448
7 changed files with 184 additions and 0 deletions
25
API/models/Guild.md
Normal file
25
API/models/Guild.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
## Guild Object
|
||||
Represents a guild in an [[Instance]].
|
||||
|
||||
**Structure**
|
||||
|
||||
| Field | Type | Description |
|
||||
| ------------ | ---------------------------------------------- | ------------------------------ |
|
||||
| id | string | ID of the guild |
|
||||
| description | string | Description of the guild |
|
||||
| name | string | Name of the guild |
|
||||
| icon | string | URL for the icon |
|
||||
| owner_id | string | ID of the owner |
|
||||
| roles | array of [[#Role Object\|Role]] objects | Roles in the guild |
|
||||
| emojis | array of [[Emoji#Emoji Object\|Emoji]] objects | Emojis in the guild |
|
||||
| member_count | integer | Number of members in the guild |
|
||||
|
||||
### Role Object
|
||||
**Structure**
|
||||
|
||||
| Field | Type | Description |
|
||||
| ----- | ------ | ----------------------- |
|
||||
| id | string | ID of the role |
|
||||
| name | string | Name of the role |
|
||||
| icon | string | URL for the role's icon |
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue