summary refs log tree commit diff
path: root/assets/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/openapi.json55
1 files changed, 52 insertions, 3 deletions
diff --git a/assets/openapi.json b/assets/openapi.json

index 4e4d50a8..eff3df07 100644 --- a/assets/openapi.json +++ b/assets/openapi.json
@@ -2732,8 +2732,7 @@ }, "required": [ "name", - "type", - "verified" + "type" ] }, "UserRelationsResponse": { @@ -2979,6 +2978,9 @@ }, "show_activity": { "type": "boolean" + }, + "metadata_visibility": { + "type": "boolean" } } } @@ -4951,7 +4953,8 @@ ], "tags": [ "guilds" - ] + ], + "x-permission-required": "MANAGE_ROLES" } }, "/guilds/{guild_id}/roles/{role_id}/": { @@ -7987,6 +7990,52 @@ "connections" ] } + }, + "/channels/{channel_id}/messages/": { + "get": { + "security": [ + { + "bearer": [] + } + ], + "parameters": [ + { + "name": "channel_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "channel_id" + } + ], + "tags": [ + "channels" + ] + }, + "post": { + "x-right-required": "SEND_MESSAGES", + "x-permission-required": "SEND_MESSAGES", + "security": [ + { + "bearer": [] + } + ], + "parameters": [ + { + "name": "channel_id", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "description": "channel_id" + } + ], + "tags": [ + "channels" + ] + } } } } \ No newline at end of file