From c254039ca9e04ab0d54d816c0d2f87199eceed81 Mon Sep 17 00:00:00 2001 From: jellejurre <76777936+jellejurre@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:33:25 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20vrchatap?= =?UTF-8?q?i/specification@1b3576171994c16d8acdaf17df517779170a6ac0=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/openapi.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++++ openapi.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) diff --git a/dist/openapi.yaml b/dist/openapi.yaml index 5ec2cc6..6edf34d 100644 --- a/dist/openapi.yaml +++ b/dist/openapi.yaml @@ -3523,6 +3523,29 @@ paths: $ref: '#/components/responses/MissingCredentialsError' operationId: getUserNote description: Get a particular user note + /users/{userId}/instances/groups: + parameters: + - $ref: '#/components/parameters/userId' + get: + summary: Get User Group Instances + x-codeSamples: + - lang: cURL + source: |- + curl -X GET "https://api.vrchat.cloud/api/1/users/{userId}/instances/groups" \ + -b "auth={authCookie}" + description: Returns a list of group instances for a user + operationId: getUserGroupInstances + tags: + - users + responses: + '200': + $ref: '#/components/responses/UserGroupInstanceListResponse' + '401': + $ref: '#/components/responses/MissingCredentialsError' + '403': + $ref: '#/components/responses/UserMustBeOwnError' + security: + - authCookie: [] /worlds: get: summary: Search All Worlds @@ -11279,6 +11302,32 @@ components: application/json: schema: $ref: '#/components/schemas/UserNote' + UserGroupInstanceListResponse: + description: Returns a list of Instance objects with a fetched at time. + content: + application/json: + schema: + type: object + properties: + fetchedAt: + type: string + format: date-time + instances: + type: array + items: + $ref: '#/components/schemas/Instance' + UserMustBeOwnError: + description: Error response when trying get group instances of another user. + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + examples: + User Id must be your own: + value: + error: + message: User ID must be your own․ + status_code: 403 LimitedWorldListResponse: description: Returns a list of LimitedWorld objects. content: diff --git a/openapi.yaml b/openapi.yaml index 5ec2cc6..6edf34d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3523,6 +3523,29 @@ paths: $ref: '#/components/responses/MissingCredentialsError' operationId: getUserNote description: Get a particular user note + /users/{userId}/instances/groups: + parameters: + - $ref: '#/components/parameters/userId' + get: + summary: Get User Group Instances + x-codeSamples: + - lang: cURL + source: |- + curl -X GET "https://api.vrchat.cloud/api/1/users/{userId}/instances/groups" \ + -b "auth={authCookie}" + description: Returns a list of group instances for a user + operationId: getUserGroupInstances + tags: + - users + responses: + '200': + $ref: '#/components/responses/UserGroupInstanceListResponse' + '401': + $ref: '#/components/responses/MissingCredentialsError' + '403': + $ref: '#/components/responses/UserMustBeOwnError' + security: + - authCookie: [] /worlds: get: summary: Search All Worlds @@ -11279,6 +11302,32 @@ components: application/json: schema: $ref: '#/components/schemas/UserNote' + UserGroupInstanceListResponse: + description: Returns a list of Instance objects with a fetched at time. + content: + application/json: + schema: + type: object + properties: + fetchedAt: + type: string + format: date-time + instances: + type: array + items: + $ref: '#/components/schemas/Instance' + UserMustBeOwnError: + description: Error response when trying get group instances of another user. + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + examples: + User Id must be your own: + value: + error: + message: User ID must be your own․ + status_code: 403 LimitedWorldListResponse: description: Returns a list of LimitedWorld objects. content: