mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 07:49:48 -05:00
Automated spec update (156927)
This commit is contained in:
parent
9408fa97aa
commit
471ad9bea1
1 changed files with 59 additions and 0 deletions
|
|
@ -8863,6 +8863,65 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"/guilds/{guild_id}/roles/member-counts": {
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "guild_id",
|
||||||
|
"in": "path",
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"get": {
|
||||||
|
"operationId": "guild_role_member_counts",
|
||||||
|
"responses": {
|
||||||
|
"200": {
|
||||||
|
"description": "200 response for guild_role_member_counts",
|
||||||
|
"headers": {
|
||||||
|
"X-RateLimit-Limit": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Limit"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Remaining": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Remaining"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Reset-After": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Reset-After"
|
||||||
|
},
|
||||||
|
"X-RateLimit-Bucket": {
|
||||||
|
"$ref": "#/components/headers/X-RateLimit-Bucket"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"application/json": {
|
||||||
|
"schema": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"429": {
|
||||||
|
"$ref": "#/components/responses/ClientRatelimitedResponse"
|
||||||
|
},
|
||||||
|
"4XX": {
|
||||||
|
"$ref": "#/components/responses/ClientErrorResponse"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"security": [
|
||||||
|
{
|
||||||
|
"BotToken": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"/guilds/{guild_id}/roles/{role_id}": {
|
"/guilds/{guild_id}/roles/{role_id}": {
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue