main - remote-2023-08-03T13:45:55 now-2023-08-03T13:46:19

This commit is contained in:
Adversary 2023-08-03 13:46:19 +00:00
parent 374f00c3dd
commit e8347ee2fb
2 changed files with 84 additions and 6 deletions

View File

@ -417,9 +417,31 @@
},
"patch": {
"operationId": "update_my_user",
"requestBody": {
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/BotAccountPatchRequestPartial"
}
],
"x-discord-union": "oneOf"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for update_my_user"
"description": "200 response for update_my_user",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserPIIResponse"
}
}
}
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
@ -9125,7 +9147,7 @@
]
},
"minItems": 1,
"maxItems": 1521
"maxItems": 5
}
},
"required": [
@ -12989,6 +13011,23 @@
"metadata"
]
},
"BotAccountPatchRequestPartial": {
"type": "object",
"properties": {
"username": {
"type": "string",
"minLength": 2,
"maxLength": 32
},
"avatar": {
"type": [
"string",
"null"
],
"contentEncoding": "base64"
}
}
},
"Button": {
"type": "object",
"properties": {
@ -14934,7 +14973,7 @@
},
"name": {
"type": "string",
"maxLength": 152133
"maxLength": 32
},
"animated": {
"type": [

View File

@ -417,9 +417,31 @@
},
"patch": {
"operationId": "update_my_user",
"requestBody": {
"content": {
"application/json": {
"schema": {
"anyOf": [
{
"$ref": "#/components/schemas/BotAccountPatchRequestPartial"
}
],
"x-discord-union": "oneOf"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "200 response for update_my_user"
"description": "200 response for update_my_user",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserPIIResponse"
}
}
}
},
"4XX": {
"$ref": "#/components/responses/ClientErrorResponse"
@ -9125,7 +9147,7 @@
]
},
"minItems": 1,
"maxItems": 1521
"maxItems": 5
}
},
"required": [
@ -12989,6 +13011,23 @@
"metadata"
]
},
"BotAccountPatchRequestPartial": {
"type": "object",
"properties": {
"username": {
"type": "string",
"minLength": 2,
"maxLength": 32
},
"avatar": {
"type": [
"string",
"null"
],
"contentEncoding": "base64"
}
}
},
"Button": {
"type": "object",
"properties": {
@ -14938,7 +14977,7 @@
},
"name": {
"type": "string",
"maxLength": 152133
"maxLength": 32
},
"animated": {
"type": [