Skip to content

Commit

Permalink
Merge branch 'spacebarchat:master' into fix/extended-settings-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
DEVTomatoCake authored Aug 17, 2024
2 parents 0400001 + c5d58d5 commit 0b9680b
Show file tree
Hide file tree
Showing 40 changed files with 10,881 additions and 3,254 deletions.
80 changes: 65 additions & 15 deletions assets/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,9 @@
"version"
]
},
"client_status": {
"$ref": "#/components/schemas/ClientStatus"
},
"status": {
"$ref": "#/components/schemas/Status"
},
Expand All @@ -1867,13 +1870,31 @@
"required": [
"activities",
"client_info",
"client_status",
"id",
"session_id",
"status",
"user",
"user_id"
]
},
"ClientStatus": {
"type": "object",
"properties": {
"desktop": {
"type": "string"
},
"mobile": {
"type": "string"
},
"web": {
"type": "string"
},
"embedded": {
"type": "string"
}
}
},
"Relationship": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -3867,20 +3888,6 @@
"code"
]
},
"ClientStatus": {
"type": "object",
"properties": {
"desktop": {
"type": "string"
},
"mobile": {
"type": "string"
},
"web": {
"type": "string"
}
}
},
"Snowflake": {
"description": "A container for useful snowflake-related methods.",
"type": "object"
Expand Down Expand Up @@ -4310,6 +4317,9 @@
},
"is_primary": {
"type": "boolean"
},
"icon": {
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -4360,9 +4370,14 @@
"maxFriends": {
"type": "integer",
"default": 5000
},
"maxBio": {
"type": "integer",
"default": 190
}
},
"required": [
"maxBio",
"maxFriends",
"maxGuilds",
"maxUsername"
Expand Down Expand Up @@ -6243,6 +6258,42 @@
}
}
},
"RequestGuildMembersSchema": {
"type": "object",
"properties": {
"guild_id": {
"type": "string"
},
"query": {
"type": "string"
},
"limit": {
"type": "integer"
},
"presences": {
"type": "boolean"
},
"user_ids": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"nonce": {
"type": "string"
}
},
"required": [
"guild_id"
]
},
"RoleModifySchema": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6544,7 +6595,6 @@
"nullable": true
},
"bio": {
"maxLength": 1024,
"type": "string"
},
"accent_color": {
Expand Down
Loading

0 comments on commit 0b9680b

Please sign in to comment.