mirror of
https://github.com/stoatchat/javascript-client-api.git
synced 2026-07-15 14:15:37 -04:00
chore: generate OpenAPI specification
This commit is contained in:
+24
-6
@@ -13,7 +13,7 @@
|
||||
"name": "AGPLv3",
|
||||
"url": "https://github.com/revoltchat/delta/blob/master/LICENSE"
|
||||
},
|
||||
"version": "0.8.1"
|
||||
"version": "0.8.2"
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
@@ -25,8 +25,12 @@
|
||||
"description": "Revolt Staging"
|
||||
},
|
||||
{
|
||||
"url": "http://local.revolt.chat:8000",
|
||||
"url": "http://local.revolt.chat:14702",
|
||||
"description": "Local Revolt Environment"
|
||||
},
|
||||
{
|
||||
"url": "http://local.revolt.chat:14702/0.8",
|
||||
"description": "Local Revolt Environment (v0.8)"
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
@@ -1374,9 +1378,9 @@
|
||||
{
|
||||
"name": "limit",
|
||||
"in": "query",
|
||||
"description": "Maximum number of messages to fetch\n\nFor fetching nearby messages, this is \\`(limit + 1)\\`.",
|
||||
"description": "Maximum number of messages to fetch\n\nFor fetching nearby messages, this is \\`(limit + 2)\\`.",
|
||||
"schema": {
|
||||
"description": "Maximum number of messages to fetch\n\nFor fetching nearby messages, this is \\`(limit + 1)\\`.",
|
||||
"description": "Maximum number of messages to fetch\n\nFor fetching nearby messages, this is \\`(limit + 2)\\`.",
|
||||
"type": "integer",
|
||||
"format": "int64",
|
||||
"maximum": 100.0,
|
||||
@@ -2965,7 +2969,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/servers/{server}/members/{target}": {
|
||||
"/servers/{server}/members/{member}": {
|
||||
"patch": {
|
||||
"tags": [
|
||||
"Server Members"
|
||||
@@ -2983,7 +2987,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "target",
|
||||
"name": "member",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
@@ -6020,6 +6024,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"CannotTimeoutYourself"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
||||
Reference in New Issue
Block a user