Skip to content

Commit

Permalink
ci(test: 2024-10-14): new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 14, 2024
1 parent 73fb24e commit 723af85
Show file tree
Hide file tree
Showing 25 changed files with 1,422 additions and 110 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# checkUserExists via display name

## Request
`GET https://vrchat.com/api/1/auth/exists?displayName=undefined`
`GET https://vrchat.com/api/1/auth/exists?displayName=8cf3def6b8cea`

| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| cookie | `auth=<redacted>; twoFactorAuth=<redacted>` |


## Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| cookie | `auth=<redacted>; twoFactorAuth=<redacted>` |


## Response
Expand Down
7 changes: 4 additions & 3 deletions data/requests/authentication/checkuserexists-via-username.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# checkUserExists via username

## Request
`GET https://vrchat.com/api/1/auth/exists?username=undefined`
`GET https://vrchat.com/api/1/auth/exists?username=8cf3def6b8cea`

| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| cookie | `auth=<redacted>; twoFactorAuth=<redacted>` |


## Response
Expand All @@ -17,7 +18,7 @@
| access-control-allow-credentials | `true` |
| cache-control | `private, no-cache` |
| connection | `keep-alive` |
| content-length | `34` |
| content-length | `33` |
| content-type | `application/json; charset=utf-8` |
| etag | `<redacted>` |
| pragma | `no-cache` |
Expand All @@ -28,6 +29,6 @@
```jsonc
{
"nameOk": true,
"userExists": false
"userExists": true
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| cookie | `auth=<redacted>; twoFactorAuth=<redacted>` |


## Response
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,133 @@
| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| cookie | `auth=<redacted>; twoFactorAuth=<redacted>` |


## Response
`401 Unauthorized`
`200 OK`

| Header | Value |
| ------ | ----- |
| access-control-allow-credentials | `true` |
| cache-control | `private, no-cache` |
| connection | `keep-alive` |
| content-length | `65` |
| content-type | `application/json; charset=utf-8` |
| etag | `<redacted>` |
| pragma | `no-cache` |
| server | `cloudflare` |
| transfer-encoding | `chunked` |
| vary | `Authorization, Accept-Encoding` |
| x-frame-options | `deny` |

```jsonc
{
"error": {
"message": "\"Missing Credentials\"",
"status_code": 401
}
"acceptedPrivacyVersion": 1,
"acceptedTOSVersion": 9,
"accountDeletionDate": null,
"accountDeletionLog": null,
"activeFriends": [],
"allowAvatarCopying": true,
"badges": [
{
"assignedAt": "2024-07-21T22:28:04.790Z",
"badgeDescription": "Supports VRChat through VRC+",
"badgeId": "bdg_754f9935-0f97-49d8-b857-95afb9b673fa",
"badgeImageUrl": "https://assets.vrchat.com/badges/fa/bdgai_eff7def2-c264-4c0e-b462-6a9477ea4e6c.png",
"badgeName": "Supporter",
"hidden": false,
"showcased": true,
"updatedAt": "2024-07-21T22:28:04.790Z"
}
],
"bio": "",
"bioLinks": [],
"currentAvatar": "avtr_c38a1615-5bf5-42b4-84eb-a8b6c37cbd11",
"currentAvatarAssetUrl": "https://api.vrchat.cloud/api/1/file/file_ddea1398-ae13-41c4-8c74-6d7479337d40/1/variant/security?v=3",
"currentAvatarImageUrl": "https://api.vrchat.cloud/api/1/file/file_0e8c4e32-7444-44ea-ade4-313c010d4bae/1/file",
"currentAvatarTags": "<unstable: array of strings>",
"currentAvatarThumbnailImageUrl": "https://api.vrchat.cloud/api/1/image/file_0e8c4e32-7444-44ea-ade4-313c010d4bae/1/256",
"date_joined": "2023-04-11",
"developerType": "none",
"displayName": "8cf3def6b8cea",
"emailVerified": true,
"fallbackAvatar": "avtr_07917a03-5e0b-48e9-b041-e94086bc658f",
"friendGroupNames": [],
"friendKey": "c61f12138fd21145f86eca5b51631932",
"friends": [],
"googleDetails": {},
"googleId": "",
"hasBirthday": true,
"hasEmail": true,
"hasLoggedInFromClient": false,
"hasPendingEmail": false,
"hideContentFilterSettings": false,
"homeLocation": "",
"id": "usr_9439f8cc-1c6b-4dca-9a07-d2eccb570701",
"isBoopingEnabled": true,
"isFriend": false,
"last_activity": "<unstable: string>",
"last_login": "<unstable: string>",
"last_mobile": null,
"last_platform": "standalonewindows",
"obfuscatedEmail": "<redacted>",
"obfuscatedPendingEmail": "",
"oculusId": "",
"offlineFriends": [],
"onlineFriends": [],
"pastDisplayNames": [],
"picoId": "",
"presence": {
"groups": [],
"id": "usr_9439f8cc-1c6b-4dca-9a07-d2eccb570701",
"instance": "offline",
"instanceType": "",
"platform": "",
"status": "offline",
"travelingToInstance": "offline",
"travelingToWorld": "offline",
"world": "offline"
},
"profilePicOverride": "",
"profilePicOverrideThumbnail": "",
"pronouns": "",
"receiveMobileInvitations": true,
"state": "offline",
"status": "active",
"statusDescription": "",
"statusFirstTime": true,
"statusHistory": [
"Looking to make new friends",
"Ask me about ․․․",
"Let's partyǃ",
"I'm AFK right now",
"I'm streaming on Twitch",
"My mic is muted",
"I'm here but busy",
"I speak [English]",
"I create ․․․",
"My discord is ․․․‚"
],
"steamDetails": {},
"steamId": "",
"tags": [
"system_no_captcha",
"language_eng",
"system_supporter",
"system_avatar_access",
"system_trust_basic",
"system_world_access",
"system_trust_known",
"system_feedback_access"
],
"twoFactorAuthEnabled": true,
"twoFactorAuthEnabledDate": "2023-04-11T22:29:32.524Z",
"unsubscribe": true,
"updated_at": "<unstable: string>",
"userIcon": "",
"userLanguage": null,
"userLanguageCode": "en",
"username": "8cf3def6b8cea",
"viveId": ""
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -46,34 +46,39 @@ Response schema mismatch:
* Missing property at ``#/date_joined``,
* Missing property at ``#/isFriend``,
* Missing property at ``#/friendKey``,
* Unexpected property at ``#/error``.
* Unexpected property at ``#/requiresTwoFactorAuth``.
## Request
`GET https://vrchat.com/api/1/auth/user`

| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| authorization | `Basic <redacted>` |


## Response
`403 Forbidden`
`200 OK`

| Header | Value |
| ------ | ----- |
| accept-ranges | `bytes` |
| access-control-allow-credentials | `true` |
| cache-control | `private, no-cache` |
| connection | `keep-alive` |
| content-type | `application/json` |
| content-length | `40` |
| content-type | `application/json; charset=utf-8` |
| etag | `<redacted>` |
| pragma | `no-cache` |
| server | `cloudflare` |
| transfer-encoding | `chunked` |
| vary | `Accept-Encoding` |
| set-cookie | `<redacted>` |
| vary | `Authorization, Accept-Encoding` |
| x-frame-options | `deny` |

```jsonc
{
"error": {
"message": "\"please identify yourself with a properly formatted user-agent containing application name, version and contact information. thank you!\"",
"status_code": 403,
"waf_code": 13799
}
"requiresTwoFactorAuth": [
"totp",
"otp"
]
}
```
15 changes: 5 additions & 10 deletions data/requests/authentication/verify2fa.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
# verify2FA

## Issues
Response schema mismatch:
* Missing property at ``#/verified``,
* Unexpected property at ``#/error``.
## Request
`POST https://vrchat.com/api/1/auth/twofactorauth/totp/verify`

| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| content-type | `application/json` |
| cookie | `auth=<redacted>` |

```json
{
Expand All @@ -20,25 +17,23 @@ Response schema mismatch:


## Response
`401 Unauthorized`
`200 OK`

| Header | Value |
| ------ | ----- |
| access-control-allow-credentials | `true` |
| cache-control | `private, no-cache` |
| connection | `keep-alive` |
| content-length | `65` |
| content-length | `17` |
| content-type | `application/json; charset=utf-8` |
| pragma | `no-cache` |
| server | `cloudflare` |
| set-cookie | `<redacted>` |
| vary | `Authorization, Accept-Encoding` |
| x-frame-options | `deny` |

```jsonc
{
"error": {
"message": "\"Missing Credentials\"",
"status_code": 401
}
"verified": true
}
```
12 changes: 6 additions & 6 deletions data/requests/authentication/verifyauthtoken.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@
| Header | Value |
| ------ | ----- |
| user-agent | `specification-test/@<unstable> https://github.com/vrchatapi/specification-test/issues/new` |
| cookie | `auth=<redacted>; twoFactorAuth=<redacted>` |


## Response
`401 Unauthorized`
`200 OK`

| Header | Value |
| ------ | ----- |
| access-control-allow-credentials | `true` |
| cache-control | `private, no-cache` |
| connection | `keep-alive` |
| content-length | `65` |
| content-type | `application/json; charset=utf-8` |
| etag | `<redacted>` |
| pragma | `no-cache` |
| server | `cloudflare` |
| transfer-encoding | `chunked` |
| vary | `Authorization, Accept-Encoding` |
| x-frame-options | `deny` |

```jsonc
{
"error": {
"message": "\"Missing Credentials\"",
"status_code": 401
}
"ok": true,
"token": "<redacted>"
}
```
15 changes: 9 additions & 6 deletions data/requests/avatars/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
## Get Own Avatar
Get the current avatar for the user. This will return an error for any other user than the one logged in.

> Missing coverage.
* [getOwnAvatar](./getownavatar.md)
## Search Avatars
Search and list avatars by query filters. You can only search your own or featured avatars. It is not possible as a normal user to search other peoples avatars.

> Missing coverage.
* [searchAvatars with zero parameters](./searchavatars-with-zero-parameters.md)
* [searchAvatars with admin_featured_legacy tag](./searchavatars-with-admin_featured_legacy-tag.md)
## Create Avatar
Create an avatar. It's possible to optionally specify a ID if you want a custom one. Attempting to create an Avatar with an already claimed ID will result in a DB error.

Expand All @@ -19,21 +20,23 @@ Delete an avatar. Notice an avatar is never fully "deleted", only its ReleaseSta
## Get Avatar
Get information about a specific Avatar.

> Missing coverage.
* [getAvatar by id](./getavatar-by-id.md)
## Update Avatar
Update information about a specific avatar.

> Missing coverage.
## Select Avatar
Switches into that avatar.

> Missing coverage.
* [selectAvatar with id](./selectavatar-with-id.md)
* [selectAvatar with default avatar id](./selectavatar-with-default-avatar-id.md)
## Select Fallback Avatar
Switches into that avatar as your fallback avatar.

> Missing coverage.
* [selectFallbackAvatar with id (not quest fallback)](./selectfallbackavatar-with-id-(not-quest-fallback).md)
* [selectFallbackAvatar with id](./selectfallbackavatar-with-id.md)
## List Favorited Avatars
Search and list favorited avatars by query filters.

> Missing coverage.
* [getFavoritedAvatars with zero parameters](./getfavoritedavatars-with-zero-parameters.md)

Loading

0 comments on commit 723af85

Please sign in to comment.