Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
220 changes: 110 additions & 110 deletions assets/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3446,6 +3446,107 @@
"view_nsfw_guilds"
]
},
"SessionsLogoutSchema": {
"type": "object",
"properties": {
"session_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"session_id_hashes": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"GetSessionsResponse": {
"type": "object",
"properties": {
"user_sessions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"id_hash": {
"type": "string"
},
"status": {
"type": "string"
},
"activities": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Activity"
}
}
},
"client_status": {
"$ref": "#/components/schemas/ClientStatus"
},
"approx_last_used_time": {
"type": "string"
},
"client_info": {
"type": "object",
"properties": {
"client": {
"type": "string"
},
"os": {
"type": "string"
},
"version": {
"type": "integer"
},
"location": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"client",
"location",
"os",
"version"
]
},
"last_seen": {
"type": "string",
"format": "date-time"
},
"last_seen_ip": {
"type": "string"
},
"last_seen_location": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"activities",
"approx_last_used_time",
"client_info",
"client_status",
"id",
"id_hash",
"status"
]
}
}
},
"required": [
"user_sessions"
]
},
"GuildProfileResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -3767,9 +3868,7 @@
"additionalProperties": false
},
"intents": {
"type": "number",
"properties": {},
"additionalProperties": false
"type": "number"
},
"presence": {
"$ref": "#/components/schemas/ActivitySchema"
Expand All @@ -3788,9 +3887,7 @@
"maxItems": 2,
"type": "array",
"items": {
"type": "number",
"properties": {},
"additionalProperties": false
"type": "number"
}
},
"guild_subscriptions": {
Expand Down Expand Up @@ -7183,6 +7280,9 @@
"name": {
"type": "string"
},
"id": {
"type": "string"
},
"type": {
"enum": [
0,
Expand All @@ -7208,9 +7308,6 @@
],
"type": "number"
},
"id": {
"type": "string"
},
"flags": {
"type": "integer"
},
Expand Down Expand Up @@ -7346,107 +7443,6 @@
"name"
]
},
"SessionsLogoutSchema": {
"type": "object",
"properties": {
"session_ids": {
"type": "array",
"items": {
"type": "string"
}
},
"session_id_hashes": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"GetSessionsResponse": {
"type": "object",
"properties": {
"user_sessions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"id_hash": {
"type": "string"
},
"status": {
"type": "string"
},
"activities": {
"type": "array",
"items": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Activity"
}
}
},
"client_status": {
"$ref": "#/components/schemas/ClientStatus"
},
"approx_last_used_time": {
"type": "string"
},
"client_info": {
"type": "object",
"properties": {
"client": {
"type": "string"
},
"os": {
"type": "string"
},
"version": {
"type": "integer"
},
"location": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"client",
"location",
"os",
"version"
]
},
"last_seen": {
"type": "string",
"format": "date-time"
},
"last_seen_ip": {
"type": "string"
},
"last_seen_location": {
"type": "string"
}
},
"additionalProperties": false,
"required": [
"activities",
"approx_last_used_time",
"client_info",
"client_status",
"id",
"id_hash",
"status"
]
}
}
},
"required": [
"user_sessions"
]
},
"ApplicationCommandOption": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -10872,6 +10868,9 @@
"$ref": "#/components/schemas/MessageSnapshot"
}
},
"isWebhook": {
"type": "boolean"
},
"id": {
"type": "string"
}
Expand All @@ -10881,6 +10880,7 @@
"embeds",
"flags",
"id",
"isWebhook",
"mention_channels",
"mention_roles",
"mentions",
Expand Down
Loading
Loading