Skip to content

Commit 9e6a465

Browse files
update schemas/openapi
1 parent 164fcc2 commit 9e6a465

File tree

2 files changed

+494
-123
lines changed

2 files changed

+494
-123
lines changed

assets/openapi.json

Lines changed: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2732,8 +2732,7 @@
27322732
},
27332733
"required": [
27342734
"name",
2735-
"type",
2736-
"verified"
2735+
"type"
27372736
]
27382737
},
27392738
"UserRelationsResponse": {
@@ -2979,6 +2978,9 @@
29792978
},
29802979
"show_activity": {
29812980
"type": "boolean"
2981+
},
2982+
"metadata_visibility": {
2983+
"type": "boolean"
29822984
}
29832985
}
29842986
}
@@ -4951,7 +4953,8 @@
49514953
],
49524954
"tags": [
49534955
"guilds"
4954-
]
4956+
],
4957+
"x-permission-required": "MANAGE_ROLES"
49554958
}
49564959
},
49574960
"/guilds/{guild_id}/roles/{role_id}/": {
@@ -7987,6 +7990,52 @@
79877990
"connections"
79887991
]
79897992
}
7993+
},
7994+
"/channels/{channel_id}/messages/": {
7995+
"get": {
7996+
"security": [
7997+
{
7998+
"bearer": []
7999+
}
8000+
],
8001+
"parameters": [
8002+
{
8003+
"name": "channel_id",
8004+
"in": "path",
8005+
"required": true,
8006+
"schema": {
8007+
"type": "string"
8008+
},
8009+
"description": "channel_id"
8010+
}
8011+
],
8012+
"tags": [
8013+
"channels"
8014+
]
8015+
},
8016+
"post": {
8017+
"x-right-required": "SEND_MESSAGES",
8018+
"x-permission-required": "SEND_MESSAGES",
8019+
"security": [
8020+
{
8021+
"bearer": []
8022+
}
8023+
],
8024+
"parameters": [
8025+
{
8026+
"name": "channel_id",
8027+
"in": "path",
8028+
"required": true,
8029+
"schema": {
8030+
"type": "string"
8031+
},
8032+
"description": "channel_id"
8033+
}
8034+
],
8035+
"tags": [
8036+
"channels"
8037+
]
8038+
}
79908039
}
79918040
}
79928041
}

0 commit comments

Comments
 (0)