From 03e393b6d740402779b3ef2d8f81e7a0e5b37209 Mon Sep 17 00:00:00 2001 From: jellejurre Date: Sat, 8 Mar 2025 01:34:30 +0100 Subject: [PATCH] Update API Config --- openapi/components/schemas/APIConfig.yaml | 36 +++++++++---------- .../components/schemas/DeploymentGroup.yaml | 15 -------- .../components/schemas/ReportCategory.yaml | 6 ++++ 3 files changed, 22 insertions(+), 35 deletions(-) delete mode 100644 openapi/components/schemas/DeploymentGroup.yaml diff --git a/openapi/components/schemas/APIConfig.yaml b/openapi/components/schemas/APIConfig.yaml index 691fbc4d..ed3a8863 100644 --- a/openapi/components/schemas/APIConfig.yaml +++ b/openapi/components/schemas/APIConfig.yaml @@ -58,12 +58,6 @@ properties: analyticsSegment_NewUI_Salt: description: Unknown type: string - appName: - default: VrChat - deprecated: true - description: Game name - minLength: 1 - type: string availableLanguageCodes: description: List of supported Languages type: array @@ -96,10 +90,6 @@ properties: - Quest - XRElite - iOSMobile - buildVersionTag: - description: Build tag of the API server - minLength: 1 - type: string chatboxLogBufferSeconds: default: 40 description: Unknown @@ -191,8 +181,6 @@ properties: $ref: ./AvatarID.yaml defaultStickerSet: type: string - deploymentGroup: - $ref: ./DeploymentGroup.yaml devLanguageCodes: type: array description: Unknown @@ -417,6 +405,8 @@ properties: properties: avatar: $ref: './ReportCategory.yaml' + avatarpage: + $ref: './ReportCategory.yaml' behavior: $ref: './ReportCategory.yaml' chat: @@ -465,6 +455,10 @@ properties: type: array items: type: string + avatarpage: + type: array + items: + type: string warnings: type: array items: @@ -544,6 +538,10 @@ properties: $ref: './ReportReason.yaml' cancellation: $ref: './ReportReason.yaml' + copyright: + $ref: './ReportReason.yaml' + fraud: + $ref: './ReportReason.yaml' gore: $ref: './ReportReason.yaml' hacking: @@ -572,6 +570,8 @@ properties: $ref: './ReportReason.yaml' sexual: $ref: './ReportReason.yaml' + technical: + $ref: './ReportReason.yaml' threatening: $ref: './ReportReason.yaml' visuals: @@ -614,10 +614,6 @@ properties: description: Unity version supported by the SDK minLength: 1 type: string - serverName: - description: Server name of the API server currently responding - minLength: 1 - type: string stringHostUrlList: description: A list of explicitly allowed origins that worlds can request strings from via the Udon's [VRCStringDownloader.LoadUrl](https://creators.vrchat.com/worlds/udon/string-loading/#ivrcstringdownload). type: array @@ -679,6 +675,9 @@ properties: description: Currently used youtube-dl.exe hash in SHA1-delimited format minLength: 1 type: string + publicKey: + type: string + description: Public key, hex encoded websocketMaxFriendsRefreshDelay: type: integer description: Unknown @@ -704,11 +703,9 @@ required: - announcements - analyticsSegment_NewUI_PctOfUsers - analyticsSegment_NewUI_Salt - - appName - availableLanguageCodes - availableLanguages - avatarPerfLimiter - - buildVersionTag - chatboxLogBufferSeconds - clientApiKey - clientBPSCeiling @@ -722,7 +719,6 @@ required: - currentTOSVersion - defaultAvatar - defaultStickerSet - - deploymentGroup - devSdkUrl - devSdkVersion - dis-countdown @@ -770,7 +766,6 @@ required: - sdkDiscordUrl - sdkNotAllowedToPublishMessage - sdkUnityVersion - - serverName - stringHostUrlList - supportEmail - supportFormUrl @@ -788,6 +783,7 @@ required: - whiteListedAssetUrls - player-url-resolver-version - player-url-resolver-sha1 + - publicKey - websocketMaxFriendsRefreshDelay - websocketQuickReconnectTime - websocketReconnectMaxDelay \ No newline at end of file diff --git a/openapi/components/schemas/DeploymentGroup.yaml b/openapi/components/schemas/DeploymentGroup.yaml deleted file mode 100644 index 50472bca..00000000 --- a/openapi/components/schemas/DeploymentGroup.yaml +++ /dev/null @@ -1,15 +0,0 @@ -type: string -description: |- - Used to identify which API deployment cluster is currently responding. - - `blue` and `green` are used by Production. - `grape`and `cherry` are used during Development. - - [Blue Green Deployment by Martin Fowler](https://martinfowler.com/bliki/BlueGreenDeployment.html) -enum: - - blue - - green - - grape - - cherry -title: DeploymentGroup -default: blue diff --git a/openapi/components/schemas/ReportCategory.yaml b/openapi/components/schemas/ReportCategory.yaml index 649d3738..26824fae 100644 --- a/openapi/components/schemas/ReportCategory.yaml +++ b/openapi/components/schemas/ReportCategory.yaml @@ -2,6 +2,12 @@ title: ReportCategory type: object description: A category used for reporting content properties: + description: + type: string + description: The description of the report category + title: + type: string + description: The title of the report category text: type: string description: The label of the report category