Skip to content

Commit

Permalink
Catch-up with main (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
jellejurre authored Nov 25, 2024
1 parent 1a8e0dd commit 4f193a7
Show file tree
Hide file tree
Showing 20 changed files with 122 additions and 122 deletions.
16 changes: 8 additions & 8 deletions openapi/components/codeSamples/authentication.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,52 @@
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"}'
/auth/twofactorauth/otp/verify:
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"}'
/auth/twofactorauth/emailotp/verify:
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"}'
'/user/{userId}/delete':
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}"
18 changes: 9 additions & 9 deletions openapi/components/codeSamples/avatars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,52 @@
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"}'
'/avatars/{avatarId}':
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}"
curl -X GET "https://api.vrchat.cloud/api/1/users/{userId}/avatar" -b "auth={authCookie}"
26 changes: 13 additions & 13 deletions openapi/components/codeSamples/economy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
18 changes: 9 additions & 9 deletions openapi/components/codeSamples/favorites.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,52 +2,52 @@
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"]}'
'/favorites/{favoriteId}':
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}"
26 changes: 13 additions & 13 deletions openapi/components/codeSamples/files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,80 +2,80 @@
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"]}'
'/file/{fileId}':
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}'
'/file/{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}"
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"}'
'/file/{fileId}/{versionId}/{fileType}/start':
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}"
Loading

0 comments on commit 4f193a7

Please sign in to comment.