fix: various fixes to sentry-reported errors and more
This commit is contained in:
@@ -578,6 +578,19 @@ description: 'Admin object schemas from the Fluxer API.'
|
||||
| region_id | [SnowflakeType](#snowflaketype) | ID of the region the server belongs to |
|
||||
| server_id | [SnowflakeType](#snowflaketype) | ID of the voice server to delete |
|
||||
|
||||
<a id="deletewebauthncredentialrequest"></a>
|
||||
|
||||
## DeleteWebAuthnCredentialRequest
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`POST /admin/users/delete-webauthn-credential`](/api-reference/admin/delete-user-webauthn-credential)
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| credential_id | [SnowflakeType](#snowflaketype) | ID of the WebAuthn credential to delete |
|
||||
| user_id | [SnowflakeType](#snowflaketype) | |
|
||||
|
||||
<a id="disableforsuspiciousactivityrequest"></a>
|
||||
|
||||
## DisableForSuspiciousActivityRequest
|
||||
@@ -851,11 +864,13 @@ description: 'Admin object schemas from the Fluxer API.'
|
||||
- [`POST /admin/users/change-log`](/api-reference/admin/get-user-change-log)
|
||||
- [`POST /admin/users/change-username`](/api-reference/admin/change-user-username)
|
||||
- [`POST /admin/users/clear-fields`](/api-reference/admin/clear-user-fields)
|
||||
- [`POST /admin/users/delete-webauthn-credential`](/api-reference/admin/delete-user-webauthn-credential)
|
||||
- [`POST /admin/users/disable-mfa`](/api-reference/admin/disable-user-mfa)
|
||||
- [`POST /admin/users/disable-suspicious`](/api-reference/admin/disable-user-for-suspicious-activity)
|
||||
- [`POST /admin/users/list-dm-channels`](/api-reference/admin/list-user-dm-channels)
|
||||
- [`POST /admin/users/list-guilds`](/api-reference/admin/list-user-guilds)
|
||||
- [`POST /admin/users/list-sessions`](/api-reference/admin/list-user-sessions)
|
||||
- [`POST /admin/users/list-webauthn-credentials`](/api-reference/admin/list-user-webauthn-credentials)
|
||||
- [`POST /admin/users/lookup`](/api-reference/admin/lookup-user)
|
||||
- [`POST /admin/users/schedule-deletion`](/api-reference/admin/schedule-account-deletion)
|
||||
- [`POST /admin/users/search`](/api-reference/admin/search-users)
|
||||
@@ -911,6 +926,8 @@ description: 'Admin object schemas from the Fluxer API.'
|
||||
- [`POST /channels/{channel_id}/call/end`](/api-reference/channels/end-call-session)
|
||||
- [`POST /channels/{channel_id}/call/ring`](/api-reference/channels/ring-call-recipients)
|
||||
- [`POST /channels/{channel_id}/call/stop-ringing`](/api-reference/channels/stop-ringing-call-recipients)
|
||||
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
|
||||
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
|
||||
- [`POST /channels/{channel_id}/invites`](/api-reference/invites/create-channel-invite)
|
||||
- [`POST /channels/{channel_id}/messages`](/api-reference/channels/send-a-message)
|
||||
- [`POST /channels/{channel_id}/messages/{message_id}/ack`](/api-reference/channels/acknowledge-a-message)
|
||||
@@ -1017,6 +1034,7 @@ description: 'Admin object schemas from the Fluxer API.'
|
||||
- [`POST /webhooks/{webhook_id}/{token}/github`](/api-reference/webhooks/execute-github-webhook)
|
||||
- [`POST /webhooks/{webhook_id}/{token}/sentry`](/api-reference/webhooks/execute-sentry-webhook)
|
||||
- [`POST /webhooks/{webhook_id}/{token}/slack`](/api-reference/webhooks/execute-slack-webhook)
|
||||
- [`PUT /channels/{channel_id}/chunked-uploads/{upload_id}/chunks/{chunk_index}`](/api-reference/channels/upload-a-file-chunk)
|
||||
- [`PUT /channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me`](/api-reference/channels/add-reaction-to-message)
|
||||
- [`PUT /channels/{channel_id}/permissions/{overwrite_id}`](/api-reference/channels/set-permission-overwrite-for-channel)
|
||||
- [`PUT /channels/{channel_id}/pins/{message_id}`](/api-reference/channels/pin-a-message)
|
||||
@@ -1788,6 +1806,18 @@ Type: [MessageShredStatusNotFoundResponse](#messageshredstatusnotfoundresponse)
|
||||
|-------|------|-------------|
|
||||
| servers | [VoiceServerAdminResponse](#voiceserveradminresponse)[] | List of voice servers |
|
||||
|
||||
<a id="listwebauthncredentialsrequest"></a>
|
||||
|
||||
## ListWebAuthnCredentialsRequest
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`POST /admin/users/list-webauthn-credentials`](/api-reference/admin/list-user-webauthn-credentials)
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| user_id | [SnowflakeType](#snowflaketype) | |
|
||||
|
||||
<a id="lookupguildrequest"></a>
|
||||
|
||||
## LookupGuildRequest
|
||||
@@ -2775,6 +2805,17 @@ Type: Bitflags32
|
||||
|-------|------|-------------|
|
||||
| success | enum<`true`> | |
|
||||
|
||||
<a id="webauthncredentiallistresponse"></a>
|
||||
|
||||
## WebAuthnCredentialListResponse
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`GET /users/@me/mfa/webauthn/credentials`](/api-reference/users/list-webauthn-credentials)
|
||||
- [`POST /admin/users/list-webauthn-credentials`](/api-reference/admin/list-user-webauthn-credentials)
|
||||
|
||||
Type: [WebAuthnCredentialResponse](#webauthncredentialresponse)[]
|
||||
|
||||
<a id="adminarchiveresponseschemasubjecttype"></a>
|
||||
|
||||
## AdminArchiveResponseSchemaSubjectType
|
||||
@@ -2871,6 +2912,7 @@ Type of search index to refresh
|
||||
| `channel_messages` | Channel message search index |
|
||||
| `guild_members` | Guild member search index |
|
||||
| `favorite_memes` | Favourite meme search index |
|
||||
| `discovery` | Discovery guild search index |
|
||||
|
||||
<a id="systemdmjobresponsestatus"></a>
|
||||
|
||||
|
||||
@@ -360,6 +360,60 @@ Type: [ChannelUpdateTextRequest](#channelupdatetextrequest) \| [ChannelUpdateVoi
|
||||
| url? | ?string | External URL for link channels |
|
||||
| user_limit? | ?integer (int32) | Maximum users allowed in voice channel (0-99, 0 means unlimited) |
|
||||
|
||||
<a id="completechunkeduploadrequest"></a>
|
||||
|
||||
## CompleteChunkedUploadRequest
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| etags | [CompleteChunkedUploadRequestEtagsItem](#completechunkeduploadrequestetagsitem)[] | Array of chunk ETags in order |
|
||||
|
||||
<a id="completechunkeduploadresponse"></a>
|
||||
|
||||
## CompleteChunkedUploadResponse
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| content_type | string | The MIME type of the uploaded file |
|
||||
| file_size | integer (int53) | The total size of the uploaded file in bytes |
|
||||
| upload_filename | string | The temporary filename used to reference this upload |
|
||||
|
||||
<a id="createchunkeduploadrequest"></a>
|
||||
|
||||
## CreateChunkedUploadRequest
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| file_size | integer (int64) | The total size of the file in bytes |
|
||||
| filename | string | The name of the file being uploaded |
|
||||
|
||||
<a id="createchunkeduploadresponse"></a>
|
||||
|
||||
## CreateChunkedUploadResponse
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| chunk_count | integer (int53) | The total number of chunks to upload |
|
||||
| chunk_size | integer (int53) | The size of each chunk in bytes |
|
||||
| upload_filename | string | The temporary filename used to reference this upload |
|
||||
| upload_id | [SnowflakeType](#snowflaketype) | The unique identifier for the upload session |
|
||||
|
||||
<a id="embedauthorresponse"></a>
|
||||
|
||||
## EmbedAuthorResponse
|
||||
@@ -945,6 +999,18 @@ Type: [UserPartialResponse](#userpartialresponse)[]
|
||||
|-------|------|-------------|
|
||||
| region? | string | The preferred voice region for the stream (1-64 characters) |
|
||||
|
||||
<a id="uploadchunkresponse"></a>
|
||||
|
||||
## UploadChunkResponse
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`PUT /channels/{channel_id}/chunked-uploads/{upload_id}/chunks/{chunk_index}`](/api-reference/channels/upload-a-file-chunk)
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| etag | string | The ETag of the uploaded chunk |
|
||||
|
||||
<a id="voiceregionadminresponse"></a>
|
||||
|
||||
## VoiceRegionAdminResponse
|
||||
@@ -1082,6 +1148,17 @@ The type of message
|
||||
| `7` | A system message indicating a user joined |
|
||||
| `19` | A reply message |
|
||||
|
||||
<a id="completechunkeduploadrequestetagsitem"></a>
|
||||
|
||||
## CompleteChunkedUploadRequestEtagsItem
|
||||
|
||||
Array of chunk ETags in order
|
||||
|
||||
| Field | Type | Description |
|
||||
|-------|------|-------------|
|
||||
| chunk_index | integer (int64) | The zero-based index of the chunk |
|
||||
| etag | string | The ETag returned when the chunk was uploaded |
|
||||
|
||||
<a id="messagereactionresponseemoji"></a>
|
||||
|
||||
## MessageReactionResponseEmoji
|
||||
|
||||
@@ -1029,6 +1029,8 @@ The NSFW level of the guild
|
||||
- [`POST /channels/{channel_id}/call/end`](/api-reference/channels/end-call-session)
|
||||
- [`POST /channels/{channel_id}/call/ring`](/api-reference/channels/ring-call-recipients)
|
||||
- [`POST /channels/{channel_id}/call/stop-ringing`](/api-reference/channels/stop-ringing-call-recipients)
|
||||
- [`POST /channels/{channel_id}/chunked-uploads`](/api-reference/channels/initiate-a-chunked-upload-session)
|
||||
- [`POST /channels/{channel_id}/chunked-uploads/{upload_id}/complete`](/api-reference/channels/complete-a-chunked-upload)
|
||||
- [`POST /channels/{channel_id}/invites`](/api-reference/invites/create-channel-invite)
|
||||
- [`POST /channels/{channel_id}/messages`](/api-reference/channels/send-a-message)
|
||||
- [`POST /channels/{channel_id}/messages/{message_id}/ack`](/api-reference/channels/acknowledge-a-message)
|
||||
@@ -1060,6 +1062,7 @@ The NSFW level of the guild
|
||||
- [`POST /webhooks/{webhook_id}/{token}/github`](/api-reference/webhooks/execute-github-webhook)
|
||||
- [`POST /webhooks/{webhook_id}/{token}/sentry`](/api-reference/webhooks/execute-sentry-webhook)
|
||||
- [`POST /webhooks/{webhook_id}/{token}/slack`](/api-reference/webhooks/execute-slack-webhook)
|
||||
- [`PUT /channels/{channel_id}/chunked-uploads/{upload_id}/chunks/{chunk_index}`](/api-reference/channels/upload-a-file-chunk)
|
||||
- [`PUT /channels/{channel_id}/messages/{message_id}/reactions/{emoji}/@me`](/api-reference/channels/add-reaction-to-message)
|
||||
- [`PUT /channels/{channel_id}/permissions/{overwrite_id}`](/api-reference/channels/set-permission-overwrite-for-channel)
|
||||
- [`PUT /channels/{channel_id}/pins/{message_id}`](/api-reference/channels/pin-a-message)
|
||||
|
||||
@@ -18,10 +18,10 @@ Resource tables use a compact notation:
|
||||
|
||||
## Resources by domain
|
||||
|
||||
- [Admin](/resources/admin) (169 schemas)
|
||||
- [Admin](/resources/admin) (172 schemas)
|
||||
- [Auth](/resources/auth) (37 schemas)
|
||||
- [Billing](/resources/billing) (3 schemas)
|
||||
- [Channels](/resources/channels) (66 schemas)
|
||||
- [Channels](/resources/channels) (71 schemas)
|
||||
- [Common](/resources/common) (35 schemas)
|
||||
- [Gateway](/resources/gateway) (2 schemas)
|
||||
- [Gifts](/resources/gifts) (1 schemas)
|
||||
@@ -37,7 +37,7 @@ Resource tables use a compact notation:
|
||||
- [Saved media](/resources/saved_media) (5 schemas)
|
||||
- [Search](/resources/search) (2 schemas)
|
||||
- [Themes](/resources/themes) (2 schemas)
|
||||
- [Users](/resources/users) (81 schemas)
|
||||
- [Users](/resources/users) (80 schemas)
|
||||
- [Webhooks](/resources/webhooks) (9 schemas)
|
||||
|
||||
## All schemas
|
||||
@@ -122,12 +122,16 @@ Resource tables use a compact notation:
|
||||
- [ClearGuildFieldsRequest](/resources/admin#clearguildfieldsrequest)
|
||||
- [ClearUserFieldsRequest](/resources/admin#clearuserfieldsrequest)
|
||||
- [CodesResponse](/resources/admin#codesresponse)
|
||||
- [CompleteChunkedUploadRequest](/resources/channels#completechunkeduploadrequest)
|
||||
- [CompleteChunkedUploadResponse](/resources/channels#completechunkeduploadresponse)
|
||||
- [ConnectionListResponse](/resources/common#connectionlistresponse)
|
||||
- [ConnectionResponse](/resources/common#connectionresponse)
|
||||
- [ConnectionVerificationResponse](/resources/common#connectionverificationresponse)
|
||||
- [CreateAdminApiKeyRequest](/resources/admin#createadminapikeyrequest)
|
||||
- [CreateAdminApiKeyResponse](/resources/admin#createadminapikeyresponse)
|
||||
- [CreateCheckoutSessionRequest](/resources/billing#createcheckoutsessionrequest)
|
||||
- [CreateChunkedUploadRequest](/resources/channels#createchunkeduploadrequest)
|
||||
- [CreateChunkedUploadResponse](/resources/channels#createchunkeduploadresponse)
|
||||
- [CreateConnectionRequest](/resources/common#createconnectionrequest)
|
||||
- [CreateFavoriteMemeBodySchema](/resources/saved_media#createfavoritememebodyschema)
|
||||
- [CreateFavoriteMemeFromUrlBodySchema](/resources/saved_media#createfavoritememefromurlbodyschema)
|
||||
@@ -150,6 +154,7 @@ Resource tables use a compact notation:
|
||||
- [DeleteVoiceRegionRequest](/resources/admin#deletevoiceregionrequest)
|
||||
- [DeleteVoiceResponse](/resources/admin#deletevoiceresponse)
|
||||
- [DeleteVoiceServerRequest](/resources/admin#deletevoiceserverrequest)
|
||||
- [DeleteWebAuthnCredentialRequest](/resources/admin#deletewebauthncredentialrequest)
|
||||
- [DisableForSuspiciousActivityRequest](/resources/admin#disableforsuspiciousactivityrequest)
|
||||
- [DisableMfaRequest](/resources/admin#disablemfarequest)
|
||||
- [DisableTotpRequest](/resources/users#disabletotprequest)
|
||||
@@ -331,6 +336,7 @@ Resource tables use a compact notation:
|
||||
- [ListVoiceRegionsResponse](/resources/admin#listvoiceregionsresponse)
|
||||
- [ListVoiceServersRequest](/resources/admin#listvoiceserversrequest)
|
||||
- [ListVoiceServersResponse](/resources/admin#listvoiceserversresponse)
|
||||
- [ListWebAuthnCredentialsRequest](/resources/admin#listwebauthncredentialsrequest)
|
||||
- [Locale](/resources/klipy#locale)
|
||||
- [LoginRequest](/resources/auth#loginrequest)
|
||||
- [LogoutAuthSessionsRequest](/resources/auth#logoutauthsessionsrequest)
|
||||
@@ -524,6 +530,7 @@ Resource tables use a compact notation:
|
||||
- [UpdateVoiceRegionResponse](/resources/admin#updatevoiceregionresponse)
|
||||
- [UpdateVoiceServerRequest](/resources/admin#updatevoiceserverrequest)
|
||||
- [UpdateVoiceServerResponse](/resources/admin#updatevoiceserverresponse)
|
||||
- [UploadChunkResponse](/resources/channels#uploadchunkresponse)
|
||||
- [UrlResponse](/resources/billing#urlresponse)
|
||||
- [UserAdminResponseSchema](/resources/common#useradminresponseschema)
|
||||
- [UserAuthenticatorTypes](/resources/common#userauthenticatortypes)
|
||||
@@ -564,7 +571,7 @@ Resource tables use a compact notation:
|
||||
- [WebAuthnAuthenticateRequest](/resources/auth#webauthnauthenticaterequest)
|
||||
- [WebAuthnAuthenticationOptionsResponse](/resources/auth#webauthnauthenticationoptionsresponse)
|
||||
- [WebAuthnChallengeResponse](/resources/users#webauthnchallengeresponse)
|
||||
- [WebAuthnCredentialListResponse](/resources/users#webauthncredentiallistresponse)
|
||||
- [WebAuthnCredentialListResponse](/resources/admin#webauthncredentiallistresponse)
|
||||
- [WebAuthnCredentialResponse](/resources/common#webauthncredentialresponse)
|
||||
- [WebAuthnCredentialUpdateRequest](/resources/users#webauthncredentialupdaterequest)
|
||||
- [WebAuthnMfaRequest](/resources/auth#webauthnmfarequest)
|
||||
|
||||
@@ -1278,16 +1278,6 @@ UI theme preference
|
||||
|-------|------|-------------|
|
||||
| challenge | string | The WebAuthn challenge |
|
||||
|
||||
<a id="webauthncredentiallistresponse"></a>
|
||||
|
||||
## WebAuthnCredentialListResponse
|
||||
|
||||
**Related endpoints**
|
||||
|
||||
- [`GET /users/@me/mfa/webauthn/credentials`](/api-reference/users/list-webauthn-credentials)
|
||||
|
||||
Type: [WebAuthnCredentialResponse](#webauthncredentialresponse)[]
|
||||
|
||||
<a id="webauthncredentialupdaterequest"></a>
|
||||
|
||||
## WebAuthnCredentialUpdateRequest
|
||||
|
||||
Reference in New Issue
Block a user