Implement signed cdn urls
This commit is contained in:
+220
-69
@@ -212,6 +212,48 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"GuildSubscriptionSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"channels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"threads": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"typing": {
|
||||
"enum": [
|
||||
true
|
||||
],
|
||||
"type": "boolean"
|
||||
},
|
||||
"members": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"member_updates": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"thread_member_lists": {
|
||||
"type": "array",
|
||||
"items": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"ActivitySchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -3972,6 +4014,21 @@
|
||||
"widget_enabled"
|
||||
]
|
||||
},
|
||||
"RefreshedUrl": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"original": {
|
||||
"type": "string"
|
||||
},
|
||||
"refreshed": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"original",
|
||||
"refreshed"
|
||||
]
|
||||
},
|
||||
"TenorGifResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -4137,6 +4194,12 @@
|
||||
"$ref": "#/components/schemas/Channel"
|
||||
}
|
||||
},
|
||||
"members": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Member"
|
||||
}
|
||||
},
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4215,12 +4278,6 @@
|
||||
"presence_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"members": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Member"
|
||||
}
|
||||
},
|
||||
"template_id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -4620,9 +4677,7 @@
|
||||
"channel": {
|
||||
"$ref": "#/components/schemas/RateLimitOptions"
|
||||
},
|
||||
"auth": {
|
||||
"$ref": "#/components/schemas/AuthRateLimit"
|
||||
}
|
||||
"auth": {}
|
||||
},
|
||||
"required": [
|
||||
"auth",
|
||||
@@ -4631,21 +4686,6 @@
|
||||
"webhook"
|
||||
]
|
||||
},
|
||||
"AuthRateLimit": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"login": {
|
||||
"$ref": "#/components/schemas/RateLimitOptions"
|
||||
},
|
||||
"register": {
|
||||
"$ref": "#/components/schemas/RateLimitOptions"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"login",
|
||||
"register"
|
||||
]
|
||||
},
|
||||
"GlobalRateLimits": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -5390,6 +5430,68 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"LazyRequestSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"guild_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"channels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"threads": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"typing": {
|
||||
"enum": [
|
||||
true
|
||||
],
|
||||
"type": "boolean"
|
||||
},
|
||||
"members": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"member_updates": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"thread_member_lists": {
|
||||
"type": "array",
|
||||
"items": {}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"guild_id"
|
||||
]
|
||||
},
|
||||
"GuildSubscriptionsBulkSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"subscriptions": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/components/schemas/GuildSubscriptionSchema"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"subscriptions"
|
||||
]
|
||||
},
|
||||
"GuildTemplateCreateSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -5740,51 +5842,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"LazyRequestSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"guild_id": {
|
||||
"type": "string"
|
||||
},
|
||||
"channels": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"activities": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"threads": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"typing": {
|
||||
"enum": [
|
||||
true
|
||||
],
|
||||
"type": "boolean"
|
||||
},
|
||||
"members": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"thread_member_lists": {
|
||||
"type": "array",
|
||||
"items": {}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"guild_id"
|
||||
]
|
||||
},
|
||||
"LoginSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6249,6 +6306,20 @@
|
||||
"before"
|
||||
]
|
||||
},
|
||||
"RefreshUrlsRequestSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"attachment_urls": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"attachment_urls"
|
||||
]
|
||||
},
|
||||
"RegisterSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -7090,6 +7161,20 @@
|
||||
"location"
|
||||
]
|
||||
},
|
||||
"RefreshUrlsResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"refreshed_urls": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/RefreshedUrl"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"refreshed_urls"
|
||||
]
|
||||
},
|
||||
"TeamListResponse": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
@@ -9055,6 +9140,9 @@
|
||||
{
|
||||
"name": "applications"
|
||||
},
|
||||
{
|
||||
"name": "attachments"
|
||||
},
|
||||
{
|
||||
"name": "auth"
|
||||
},
|
||||
@@ -11652,6 +11740,25 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/policies/instance/config/": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"policies"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/ping/": {
|
||||
"get": {
|
||||
"responses": {
|
||||
@@ -18302,6 +18409,50 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/attachments/refresh-urls/": {
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"bearer": []
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RefreshUrlsRequestSchema"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RefreshUrlsResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/APIErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"attachments"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/applications/": {
|
||||
"get": {
|
||||
"security": [
|
||||
|
||||
+12567
-2927
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user