From 3148ed3f93c0319a78f5301aff9504a10028263f Mon Sep 17 00:00:00 2001 From: jellejurre Date: Thu, 21 Nov 2024 00:19:56 +0100 Subject: [PATCH] Catch-up with main --- .../codeSamples/authentication.yaml | 16 ++++++------ openapi/components/codeSamples/avatars.yaml | 18 ++++++------- openapi/components/codeSamples/economy.yaml | 26 +++++++++---------- openapi/components/codeSamples/favorites.yaml | 18 ++++++------- openapi/components/codeSamples/files.yaml | 26 +++++++++---------- openapi/components/codeSamples/friends.yaml | 10 +++---- openapi/components/codeSamples/instances.yaml | 6 ++--- openapi/components/codeSamples/invite.yaml | 16 ++++++------ openapi/components/codeSamples/jams.yaml | 6 ++--- .../components/codeSamples/notifications.yaml | 12 ++++----- .../components/codeSamples/permissions.yaml | 12 ++++----- .../codeSamples/playermoderation.yaml | 8 +++--- openapi/components/codeSamples/system.yaml | 14 +++++----- openapi/components/codeSamples/users.yaml | 20 +++++++------- openapi/components/codeSamples/worlds.yaml | 26 +++++++++---------- .../requests/UpdateUserRequest.yaml | 2 +- .../schemas/CurrentAvatarImageUrl.yaml | 2 +- .../CurrentAvatarThumbnailImageUrl.yaml | 2 +- .../components/schemas/GroupGalleryImage.yaml | 2 +- openapi/components/schemas/UnityPackage.yaml | 2 +- 20 files changed, 122 insertions(+), 122 deletions(-) diff --git a/openapi/components/codeSamples/authentication.yaml b/openapi/components/codeSamples/authentication.yaml index 21afbdff..9b226acb 100644 --- a/openapi/components/codeSamples/authentication.yaml +++ b/openapi/components/codeSamples/authentication.yaml @@ -2,30 +2,30 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth" \ -b "amplitude_id_a750df50d11f21f712262cbd4c0bab37vrchat.com={string}; auth={authCookie}" /logout: put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/logout" \ + curl -X PUT "https://api.vrchat.cloud/api/1/logout" \ -b "auth={authCookie}" /auth/user: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/user" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/user" \ -H "Authorization: Basic {string}" /auth/exists: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/exists?email={string}" + curl -X GET "https://api.vrchat.cloud/api/1/auth/exists?email={string}" /auth/twofactorauth/totp/verify: post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/auth/twofactorauth/totp/verify" \ + curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/totp/verify" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"code": "string"}' @@ -33,7 +33,7 @@ post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/auth/twofactorauth/otp/verify" \ + curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/otp/verify" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"code": "string"}' @@ -41,7 +41,7 @@ post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/auth/twofactorauth/emailotp/verify" \ + curl -X POST "https://api.vrchat.cloud/api/1/auth/twofactorauth/emailotp/verify" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"code": "string"}' @@ -49,5 +49,5 @@ put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/user/{userId}/delete" \ + curl -X PUT "https://api.vrchat.cloud/api/1/user/{userId}/delete" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/avatars.yaml b/openapi/components/codeSamples/avatars.yaml index 6da91015..f90f2382 100644 --- a/openapi/components/codeSamples/avatars.yaml +++ b/openapi/components/codeSamples/avatars.yaml @@ -2,18 +2,18 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/avatars/favorites?featured=true" \ + curl -X GET "https://api.vrchat.cloud/api/1/avatars/favorites?featured=true" \ -b "auth={authCookie}" /avatars: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/avatars?featured=true" \ + curl -X GET "https://api.vrchat.cloud/api/1/avatars?featured=true" \ -b "auth={authCookie}" post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/avatars" \ + curl -X POST "https://api.vrchat.cloud/api/1/avatars" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"assetUrl": "string", "id": "{avatarId}", "name": "string", "description": "string", "tags": ["string"], "imageUrl": "string", "releaseStatus": "public", "version": 1, "unityPackageUrl": "string"}' @@ -21,33 +21,33 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/avatars/{avatarId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/avatars/{avatarId}" \ -b "auth={authCookie}" put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/avatars/{avatarId}" \ + curl -X PUT "https://api.vrchat.cloud/api/1/avatars/{avatarId}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"assetUrl": "string", "id": "{avatarId}", "name": "string", "description": "string", "tags": ["string"], "imageUrl": "string", "releaseStatus": "public", "version": 1, "unityPackageUrl": "string"}' delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/avatars/{avatarId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/avatars/{avatarId}" \ -b "auth={authCookie}" '/avatars/{avatarId}/select': put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/avatars/{avatarId}/select" \ + curl -X PUT "https://api.vrchat.cloud/api/1/avatars/{avatarId}/select" \ -b "auth={authCookie}" '/avatars/{avatarId}/selectFallback': put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/avatars/{avatarId}/selectFallback" + curl -X PUT "https://api.vrchat.cloud/api/1/avatars/{avatarId}/selectFallback" '/users/{userId}/avatar': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/users/{userId}/avatar" -b "auth={authCookie}" \ No newline at end of file + curl -X GET "https://api.vrchat.cloud/api/1/users/{userId}/avatar" -b "auth={authCookie}" \ No newline at end of file diff --git a/openapi/components/codeSamples/economy.yaml b/openapi/components/codeSamples/economy.yaml index 70b0d9b2..32162ced 100644 --- a/openapi/components/codeSamples/economy.yaml +++ b/openapi/components/codeSamples/economy.yaml @@ -2,77 +2,77 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/Steam/transactions" \ + curl -X GET "https://api.vrchat.cloud/api/1/Steam/transactions" \ -b "auth={authCookie}" '/Steam/transactions/{transactionId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/Steam/transactions/{transactionId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/Steam/transactions/{transactionId}" \ -b "auth={authCookie}" /Admin/transactions: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/Admin/transactions" \ + curl -X GET "https://api.vrchat.cloud/api/1/Admin/transactions" \ -b "auth=auth={authCookie}" '/Admin/transactions/{transactionId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/Admin/transactions/{transactionId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/Admin/transactions/{transactionId}" \ -b "auth={authCookie}" /auth/user/subscription: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/user/subscription" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/user/subscription" \ -b "auth={authCookie}" /subscriptions: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/subscriptions" \ + curl -X GET "https://api.vrchat.cloud/api/1/subscriptions" \ -b "auth={authCookie}" '/licenseGroups/{licenseGroupId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/licenseGroups/{licenseGroupId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/licenseGroups/{licenseGroupId}" \ -b "auth={authCookie}" '/listing/{productId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/listing/{productId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/listing/{productId}" \ -b "auth={authCookie}" '/user/{userId}/listings': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/user/{userId}/listings?hydrate=true" \ + curl -X GET "https://api.vrchat.cloud/api/1/user/{userId}/listings?hydrate=true" \ -b "auth={authCookie}" '/tokenBundles': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/tokenBundles" \ + curl -X GET "https://api.vrchat.cloud/api/1/tokenBundles" \ -b "auth={authCookie}" '/tilia/status': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/tilia/status" \ + curl -X GET "https://api.vrchat.cloud/api/1/tilia/status" \ -b "auth={authCookie}" '/user/{userId}/tilia/tos': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/user/{userId}/tilia/tos" \ + curl -X GET "https://api.vrchat.cloud/api/1/user/{userId}/tilia/tos" \ -b "auth={authCookie}" '/user/{userId}/balance': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/user/{userId}/balance" \ + curl -X GET "https://api.vrchat.cloud/api/1/user/{userId}/balance" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/favorites.yaml b/openapi/components/codeSamples/favorites.yaml index 00d0b750..18296d4f 100644 --- a/openapi/components/codeSamples/favorites.yaml +++ b/openapi/components/codeSamples/favorites.yaml @@ -2,12 +2,12 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/favorites?type={string}&tag={string}" \ + curl -X GET "https://api.vrchat.cloud/api/1/favorites?type={string}&tag={string}" \ -b "auth={authCookie}" post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/favorites" \ + curl -X POST "https://api.vrchat.cloud/api/1/favorites" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"type": "friend", "favoriteId": "userId", "tags": ["string"]}' @@ -15,39 +15,39 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/favorites/{favoriteId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/favorites/{favoriteId}" \ -b "auth={authCookie}" delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/favorites/{favoriteId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/favorites/{favoriteId}" \ -b "auth={authCookie}" /favorite/groups: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/favorite/groups?ownerId={userId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/favorite/groups?ownerId={userId}" \ -b "auth={authCookie}" '/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}" \ -b "auth={authCookie}" put: - lang: cURL source: >- - curl -X PUT -H "Content-Type: application/json" "https://vrchat.com/api/1/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}" \ + curl -X PUT -H "Content-Type: application/json" "https://api.vrchat.cloud/api/1/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}" \ -b "auth={authCookie}" \ --data '{"displayName": "string", "visibility": "private", "tags": ["string"]}' delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/favorite/group/{favoriteGroupType}/{favoriteGroupName}/{userId}" \ -b "auth={authCookie}" '/auth/user/favoritelimits': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/user/favoritelimits" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/user/favoritelimits" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/files.yaml b/openapi/components/codeSamples/files.yaml index 5fbec15b..9617db29 100644 --- a/openapi/components/codeSamples/files.yaml +++ b/openapi/components/codeSamples/files.yaml @@ -2,13 +2,13 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/files?tag={string}" \ + curl -X GET "https://api.vrchat.cloud/api/1/files?tag={string}" \ -b "auth={authCookie}" /file: post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/file" \ + curl -X POST "https://api.vrchat.cloud/api/1/file" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"name": "string", "mimeType": "image/jpeg", "extension": "string", "tags": ["string"]}' @@ -16,17 +16,17 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/file/{fileId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/file/{fileId}" \ -b "auth={authCookie}" delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/file/{fileId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/file/{fileId}" \ -b "auth={authCookie}" post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/file/{fileId}" \ + curl -X POST "https://api.vrchat.cloud/api/1/file/{fileId}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"signatureMd5": "string", "signatureSizeInBytes": 0, "fileMd5": "string", "fileSizeInBytes": 0}' @@ -34,18 +34,18 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/file/{fileId}/{versionId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}" \ -b "auth={authCookie}" delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/file/{fileId}/{versionId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}" \ -b "auth={authCookie}" '/file/{fileId}/{versionId}/{fileType}/finish': put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/file/{fileId}/{versionId}/{fileType}/finish" \ + curl -X PUT "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}/{fileType}/finish" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"etags": ["xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"], "nextPartNumber": "0", "maxParts": "0"}' @@ -53,29 +53,29 @@ put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/file/{fileId}/{versionId}/{fileType}/start" \ + curl -X PUT "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}/{fileType}/start" \ -b "auth={authCookie}" /file/{fileId}/{versionId}/{fileType}/status: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/file/{fileId}/{versionId}/{fileType}/status" \ + curl -X GET "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}/{fileType}/status" \ -b "auth={authCookie}" /analysis/{fileId}/{versionId}: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/file/{fileId}/{versionId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}" \ -b "auth={authCookie}" /analysis/{fileId}/{versionId}/security: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/file/{fileId}/{versionId}/security" \ + curl -X GET "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}/security" \ -b "auth={authCookie}" /analysis/{fileId}/{versionId}/standard: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/file/{fileId}/{versionId}/standard" \ + curl -X GET "https://api.vrchat.cloud/api/1/file/{fileId}/{versionId}/standard" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/friends.yaml b/openapi/components/codeSamples/friends.yaml index 813ec120..deb0a7bc 100644 --- a/openapi/components/codeSamples/friends.yaml +++ b/openapi/components/codeSamples/friends.yaml @@ -2,28 +2,28 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/user/friends?offline=true" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/user/friends?offline=true" \ -b "auth={authCookie}" '/user/{userId}/friendRequest': post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/user/{userId}/friendRequest" \ + curl -X POST "https://api.vrchat.cloud/api/1/user/{userId}/friendRequest" \ -b "auth={authCookie}" delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/user/{userId}/friendRequest" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/user/{userId}/friendRequest" \ -b "auth={authCookie}" '/user/{userId}/friendStatus': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/user/{userId}/friendStatus" \ + curl -X GET "https://api.vrchat.cloud/api/1/user/{userId}/friendStatus" \ -b "auth={authCookie}" '/auth/user/friends/{userId}': delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/auth/user/friends/{userId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/auth/user/friends/{userId}" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/instances.yaml b/openapi/components/codeSamples/instances.yaml index a7b60d6c..3e1488be 100644 --- a/openapi/components/codeSamples/instances.yaml +++ b/openapi/components/codeSamples/instances.yaml @@ -2,17 +2,17 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/instances/{worldId}:{instanceId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/instances/{worldId}:{instanceId}" \ -b "auth={authCookie}" '/instance/{worldId}:{instanceId}/shortName': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/instances/{worldId}:{instanceId}/shortName" \ + curl -X GET "https://api.vrchat.cloud/api/1/instances/{worldId}:{instanceId}/shortName" \ -b "auth={authCookie}" '/instances/s/{shortname}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/instances/s/{shortname}" \ + curl -X GET "https://api.vrchat.cloud/api/1/instances/s/{shortname}" \ -b "auth={authCookie}" \ No newline at end of file diff --git a/openapi/components/codeSamples/invite.yaml b/openapi/components/codeSamples/invite.yaml index 16a11a28..883a6b79 100644 --- a/openapi/components/codeSamples/invite.yaml +++ b/openapi/components/codeSamples/invite.yaml @@ -2,7 +2,7 @@ post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/invite/{userId}" \ + curl -X POST "https://api.vrchat.cloud/api/1/invite/{userId}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"instanceId": "wrld_ba913a96-fac4-4048-a062-9aa5db092812:12345~hidden(usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469)~region(eu)~nonce(27e8414a-59a0-4f3d-af1f-f27557eb49a2)", "messageSlot": 11}' @@ -10,14 +10,14 @@ post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/invite/myself/to/{worldid}:{instanceid}" \ + curl -X POST "https://api.vrchat.cloud/api/1/invite/myself/to/{worldid}:{instanceid}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}"' '/requestInvite/{userId}': post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/requestInvite/{userId}" \ + curl -X POST "https://api.vrchat.cloud/api/1/requestInvite/{userId}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"messageSlot": 11}' @@ -25,7 +25,7 @@ post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/invite/{notificationId}/response" \ + curl -X POST "https://api.vrchat.cloud/api/1/invite/{notificationId}/response" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"responseSlot": 11}' @@ -33,23 +33,23 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/message/{userId}/{messageType}" \ + curl -X GET "https://api.vrchat.cloud/api/1/message/{userId}/{messageType}" \ -b "auth={authCookie}" '/message/{userId}/{messageType}/{slot}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/message/{userId}/{messageType}/{slot}" \ + curl -X GET "https://api.vrchat.cloud/api/1/message/{userId}/{messageType}/{slot}" \ -b "auth={authCookie}" put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/message/{userId}/{messageType}/{slot}" \ + curl -X PUT "https://api.vrchat.cloud/api/1/message/{userId}/{messageType}/{slot}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"message": "string"}' delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/message/{userId}/{messageType}/{slot}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/message/{userId}/{messageType}/{slot}" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/jams.yaml b/openapi/components/codeSamples/jams.yaml index fcdeabee..dd957350 100644 --- a/openapi/components/codeSamples/jams.yaml +++ b/openapi/components/codeSamples/jams.yaml @@ -2,14 +2,14 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/jams?type={string}" + curl -X GET "https://api.vrchat.cloud/api/1/jams?type={string}" /jams/{jamId}: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/jams/{jamId}" + curl -X GET "https://api.vrchat.cloud/api/1/jams/{jamId}" /jams/{jamId}/submissions: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/jams/{jamId}/submissions" \ No newline at end of file + curl -X GET "https://api.vrchat.cloud/api/1/jams/{jamId}/submissions" \ No newline at end of file diff --git a/openapi/components/codeSamples/notifications.yaml b/openapi/components/codeSamples/notifications.yaml index 86035c42..13ea3423 100644 --- a/openapi/components/codeSamples/notifications.yaml +++ b/openapi/components/codeSamples/notifications.yaml @@ -2,35 +2,35 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/user/notifications?type=all" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/user/notifications?type=all" \ -b "auth={authCookie}" /auth/user/notifications/{notificationId}: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/user/notifications/{notificationId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/user/notifications/{notificationId}" \ -b "auth={authCookie}" '/auth/user/notifications/{notificationId}/accept': put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/auth/user/notifications/{notificationId}/accept" \ + curl -X PUT "https://api.vrchat.cloud/api/1/auth/user/notifications/{notificationId}/accept" \ -b "auth={authCookie}" '/auth/user/notifications/{notificationId}/see': put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/auth/user/notifications/{notificationId}/see" \ + curl -X PUT "https://api.vrchat.cloud/api/1/auth/user/notifications/{notificationId}/see" \ -b "auth={authCookie}" '/auth/user/notifications/{notificationId}/hide': put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/auth/user/notifications/{notificationId}/hide" \ + curl -X PUT "https://api.vrchat.cloud/api/1/auth/user/notifications/{notificationId}/hide" \ -b "auth={authCookie}" '/auth/user/notifications/notifications/clear': put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/auth/user/notifications/notifications/clear" \ + curl -X PUT "https://api.vrchat.cloud/api/1/auth/user/notifications/notifications/clear" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/permissions.yaml b/openapi/components/codeSamples/permissions.yaml index e78103d6..65e80720 100644 --- a/openapi/components/codeSamples/permissions.yaml +++ b/openapi/components/codeSamples/permissions.yaml @@ -2,18 +2,18 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/permissions" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/permissions" \ -b "auth={authCookie}" /permissions: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/permissions" \ + curl -X GET "https://api.vrchat.cloud/api/1/permissions" \ -b "auth={authCookie}" post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/permissions" \ + curl -X POST "https://api.vrchat.cloud/api/1/permissions" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"name": "string", "ownerId": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469"}' @@ -21,17 +21,17 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/permissions/{permissionId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/permissions/{permissionId}" \ -b "auth={authCookie}" put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/permissions/{permissionId}" \ + curl -X PUT "https://api.vrchat.cloud/api/1/permissions/{permissionId}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"name": "string", "ownerId": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469"}' delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/permissions/{permissionId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/permissions/{permissionId}" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/playermoderation.yaml b/openapi/components/codeSamples/playermoderation.yaml index b06a5cdc..2395c935 100644 --- a/openapi/components/codeSamples/playermoderation.yaml +++ b/openapi/components/codeSamples/playermoderation.yaml @@ -2,25 +2,25 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/auth/user/playermoderations?type=unmute&targetUserId={userId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/auth/user/playermoderations?type=unmute&targetUserId={userId}" \ -b "auth={authCookie}" post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/auth/user/playermoderations" \ + curl -X POST "https://api.vrchat.cloud/api/1/auth/user/playermoderations" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"moderated": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", "type": "unmute"}' delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/auth/user/playermoderations" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/auth/user/playermoderations" \ -b "auth={authCookie}" /auth/user/unplayermoderate: put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/auth/user/unplayermoderate" \ + curl -X PUT "https://api.vrchat.cloud/api/1/auth/user/unplayermoderate" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"moderated": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", "type": "unmute"}' diff --git a/openapi/components/codeSamples/system.yaml b/openapi/components/codeSamples/system.yaml index 0ee65163..85e5dce2 100644 --- a/openapi/components/codeSamples/system.yaml +++ b/openapi/components/codeSamples/system.yaml @@ -2,34 +2,34 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/config" + curl -X GET "https://api.vrchat.cloud/api/1/config" /infoPush: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/infoPush?require={string}&include={string}" + curl -X GET "https://api.vrchat.cloud/api/1/infoPush?require={string}&include={string}" /css/app.css: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/css/app.css?variant=public&branch=main" + curl -X GET "https://api.vrchat.cloud/api/1/css/app.css?variant=public&branch=main" /js/app.js: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/js/app.js?variant=internal&branch=main" + curl -X GET "https://api.vrchat.cloud/api/1/js/app.js?variant=internal&branch=main" /health: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/health" + curl -X GET "https://api.vrchat.cloud/api/1/health" /visits: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/visits" + curl -X GET "https://api.vrchat.cloud/api/1/visits" /time: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/time" + curl -X GET "https://api.vrchat.cloud/api/1/time" diff --git a/openapi/components/codeSamples/users.yaml b/openapi/components/codeSamples/users.yaml index 6209397d..c870e2c4 100644 --- a/openapi/components/codeSamples/users.yaml +++ b/openapi/components/codeSamples/users.yaml @@ -2,49 +2,49 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/users?search={string}&developerType=internal" \ + curl -X GET "https://api.vrchat.cloud/api/1/users?search={string}&developerType=internal" \ -b "auth={authCookie}" /users/active: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/users/active?search={string}&developerType=none" \ + curl -X GET "https://api.vrchat.cloud/api/1/users/active?search={string}&developerType=none" \ -b "auth={authCookie}" '/users/{username}/name': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/users/{username}/name" \ + curl -X GET "https://api.vrchat.cloud/api/1/users/{username}/name" \ -b "auth={authCookie}" '/users/{userId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/users/{userId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/users/{userId}" \ -b "auth={authCookie}" put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/users/{userId}" \ + curl -X PUT "https://api.vrchat.cloud/api/1/users/{userId}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ - --data '{"email": "string", "birthday": "2019-08-24", "acceptedTOSVersion": 0, "tags": ["string"], "status": "active", "statusDescription": "string", "bio": "string", "bioLinks": ["string"], "userIcon": "https://vrchat.com/api/1/file/file_76dc2964-0ce8-41df-b2e7-8edf994fee31/1"}' + --data '{"email": "string", "birthday": "2019-08-24", "acceptedTOSVersion": 0, "tags": ["string"], "status": "active", "statusDescription": "string", "bio": "string", "bioLinks": ["string"], "userIcon": "https://api.vrchat.cloud/api/1/file/file_76dc2964-0ce8-41df-b2e7-8edf994fee31/1"}' '/users/{userId}/feedback': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/users/{userId}/feedback?n=100" \ + curl -X GET "https://api.vrchat.cloud/api/1/users/{userId}/feedback?n=100" \ -b "auth={authCookie}" '/userNotes': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/userNotes?n=100" \ + curl -X GET "https://api.vrchat.cloud/api/1/userNotes?n=100" \ -b "auth={authCookie}" post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/userNotes" \ + curl -X POST "https://api.vrchat.cloud/api/1/userNotes" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"targetUserId": "userId", "note": "string"}' @@ -52,5 +52,5 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/userNotes/{userNoteId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/userNotes/{userNoteId}" \ -b "auth={authCookie}" diff --git a/openapi/components/codeSamples/worlds.yaml b/openapi/components/codeSamples/worlds.yaml index 86f096d7..4fddc08c 100644 --- a/openapi/components/codeSamples/worlds.yaml +++ b/openapi/components/codeSamples/worlds.yaml @@ -2,12 +2,12 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds?featured=true&sort=popularity&userId={userId}&order=descending&search={string}&tag={string}¬ag={string}" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds?featured=true&sort=popularity&userId={userId}&order=descending&search={string}&tag={string}¬ag={string}" \ -b "auth={authCookie}" post: - lang: cURL source: >- - curl -X POST "https://vrchat.com/api/1/worlds" \ + curl -X POST "https://api.vrchat.cloud/api/1/worlds" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"assetUrl": "string", "assetVersion": 0, "authorId": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", "authorName": "string", "capacity": 8, "description": "string", "id": "wrld_ba913a96-fac4-4048-a062-9aa5db092812", "imageUrl": "string", "name": "string", "platform": "standalonewindows", "releaseStatus": "public", "tags": ["string"], "unityPackageUrl": "string", "unityVersion": "2018.4.20f1"}' @@ -15,63 +15,63 @@ get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds/active?featured=false&sort=heat&order=ascending&search={string}&tag={string}¬ag={string}&releaseStatus=all" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds/active?featured=false&sort=heat&order=ascending&search={string}&tag={string}¬ag={string}&releaseStatus=all" \ -b "auth={authCookie}" /worlds/favorites: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds/favorites?featured=false&sort=popularity&order=descending&search={string}&tag={string}¬ag={string}&releaseStatus=private&userId={userId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds/favorites?featured=false&sort=popularity&order=descending&search={string}&tag={string}¬ag={string}&releaseStatus=private&userId={userId}" \ -b "auth={authCookie}" /worlds/recend: get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds/recent?featured=false" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds/recent?featured=false" \ -b "auth={authCookie}" '/worlds/{worldId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds/{worldId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds/{worldId}" \ -b "auth={authCookie}" put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/worlds/{worldId}" \ + curl -X PUT "https://api.vrchat.cloud/api/1/worlds/{worldId}" \ -H "Content-Type: application/json" \ -b "auth={authCookie}" \ --data '{"assetUrl": "string", "assetVersion": "string","authorId": "usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469", "authorName": "string", "capacity": 8, "description": "string", "imageUrl": "string", "name": "string", "platform": "standalonewindows", "releaseStatus": "public", "tags": ["string"], "unityPackageUrl": "string", "unityVersion": "2018.4.20f1"}' delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/worlds/{worldId}" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/worlds/{worldId}" \ -b "auth={authCookie}" '/world/{worldId}/metadata': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds/{worldId}/metadata" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds/{worldId}/metadata" \ -b "auth={authCookie}" '/world/{worldId}/publish': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds/{worldId}/publish" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds/{worldId}/publish" \ -b "auth={authCookie}" put: - lang: cURL source: >- - curl -X PUT "https://vrchat.com/api/1/worlds/{worldId}/publish" \ + curl -X PUT "https://api.vrchat.cloud/api/1/worlds/{worldId}/publish" \ -b "auth={authCookie}" delete: - lang: cURL source: >- - curl -X DELETE "https://vrchat.com/api/1/worlds/{worldId}/publish" \ + curl -X DELETE "https://api.vrchat.cloud/api/1/worlds/{worldId}/publish" \ -b "auth={authCookie}" '/worlds/{worldId}/{instanceId}': get: - lang: cURL source: >- - curl -X GET "https://vrchat.com/api/1/worlds/{worldId}/{instanceId}" \ + curl -X GET "https://api.vrchat.cloud/api/1/worlds/{worldId}/{instanceId}" \ -b "auth={authCookie}" diff --git a/openapi/components/requests/UpdateUserRequest.yaml b/openapi/components/requests/UpdateUserRequest.yaml index 0f2fd6b0..6e1eb5c2 100644 --- a/openapi/components/requests/UpdateUserRequest.yaml +++ b/openapi/components/requests/UpdateUserRequest.yaml @@ -33,5 +33,5 @@ properties: userIcon: type: string description: MUST be a valid VRChat /file/ url. - example: 'https://vrchat.com/api/1/file/file_76dc2964-0ce8-41df-b2e7-8edf994fee31/1' + example: 'https://api.vrchat.cloud/api/1/file/file_76dc2964-0ce8-41df-b2e7-8edf994fee31/1' minLength: 0 diff --git a/openapi/components/schemas/CurrentAvatarImageUrl.yaml b/openapi/components/schemas/CurrentAvatarImageUrl.yaml index 88904452..71ad96e1 100644 --- a/openapi/components/schemas/CurrentAvatarImageUrl.yaml +++ b/openapi/components/schemas/CurrentAvatarImageUrl.yaml @@ -1,4 +1,4 @@ description: 'When profilePicOverride is not empty, use it instead.' -example: 'https://vrchat.com/api/1/file/file_ae46d521-7281-4b38-b365-804b32a1d6a7/1/file' +example: 'https://api.vrchat.cloud/api/1/file/file_ae46d521-7281-4b38-b365-804b32a1d6a7/1/file' title: CurrentAvatarImageUrl type: string diff --git a/openapi/components/schemas/CurrentAvatarThumbnailImageUrl.yaml b/openapi/components/schemas/CurrentAvatarThumbnailImageUrl.yaml index 67bc499c..44dc793c 100644 --- a/openapi/components/schemas/CurrentAvatarThumbnailImageUrl.yaml +++ b/openapi/components/schemas/CurrentAvatarThumbnailImageUrl.yaml @@ -1,4 +1,4 @@ description: 'When profilePicOverride is not empty, use it instead.' -example: 'https://vrchat.com/api/1/image/file_aae83ed9-d42d-4d72-9f4b-9f1e41ed17e1/1/256' +example: 'https://api.vrchat.cloud/api/1/image/file_aae83ed9-d42d-4d72-9f4b-9f1e41ed17e1/1/256' title: CurrentAvatarThumbnailImageUrl type: string diff --git a/openapi/components/schemas/GroupGalleryImage.yaml b/openapi/components/schemas/GroupGalleryImage.yaml index 38aa0e63..718b6a33 100644 --- a/openapi/components/schemas/GroupGalleryImage.yaml +++ b/openapi/components/schemas/GroupGalleryImage.yaml @@ -11,7 +11,7 @@ properties: $ref: ./FileID.yaml imageUrl: type: string - example: 'https://vrchat.com/api/1/file/file_ce35d830-e20a-4df0-a6d4-5aaef4508044/1/file' + example: 'https://api.vrchat.cloud/api/1/file/file_ce35d830-e20a-4df0-a6d4-5aaef4508044/1/file' format: uri createdAt: type: string diff --git a/openapi/components/schemas/UnityPackage.yaml b/openapi/components/schemas/UnityPackage.yaml index 51a274f3..c6d87d1a 100644 --- a/openapi/components/schemas/UnityPackage.yaml +++ b/openapi/components/schemas/UnityPackage.yaml @@ -5,7 +5,7 @@ properties: assetUrl: type: string nullable: true - example: https://vrchat.com/api/1/file/file_cd0caa7b-69ba-4715-8dfe-7d667a9d2537/65/file + example: https://api.vrchat.cloud/api/1/file/file_cd0caa7b-69ba-4715-8dfe-7d667a9d2537/65/file assetUrlObject: type: object example: {}