Skip to content

Commit

Permalink
Add code sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jellejurre committed Nov 25, 2024
1 parent e2fa4ed commit 1639ae7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions openapi/components/codeSamples/users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,9 @@
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/userNotes/{userNoteId}" \
-b "auth={authCookie}"
'/users/{userId}/instances/groups':
get:
- lang: cURL
source: >-
curl -X GET "https://api.vrchat.cloud/api/1/users/{userId}/instances/groups" \
-b "auth={authCookie}"
2 changes: 2 additions & 0 deletions openapi/components/paths/users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ paths:
- $ref: ../parameters.yaml#/userId
get:
summary: Get User Group Instances
x-codeSamples:
$ref: ../codeSamples/users.yaml#/~1users~1{userId}~1instances~1groups/get
description: Returns a list of group instances for a user
operationId: getUserGroupInstances
tags:
Expand Down

0 comments on commit 1639ae7

Please sign in to comment.