Skip to content

Commit

Permalink
Add unityVersion property to avatar endpoints and update example unit…
Browse files Browse the repository at this point in the history
…yVersion to 2022.3.6f1 (vrchatapi#281)
  • Loading branch information
Littlewhinging authored Feb 20, 2024
1 parent d677d70 commit c423e15
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
5 changes: 5 additions & 0 deletions openapi/components/requests/CreateAvatarRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ properties:
description: Enabling featured tag requires Admin Credentials.
unityPackageUrl:
type: string
unityVersion:
type: string
minLength: 1
default: 5.3.4p1
example: 2022.3.6f1
required:
- name
- imageUrl
2 changes: 1 addition & 1 deletion openapi/components/requests/CreateWorldRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ properties:
type: string
minLength: 1
default: 5.3.4p1
example: 2018.4.20f1
example: 2022.3.6f1
required:
- assetUrl
- imageUrl
Expand Down
7 changes: 6 additions & 1 deletion openapi/components/requests/UpdateAvatarRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ properties:
x-internal: true
description: Enabling featured tag requires Admin Credentials.
unityPackageUrl:
type: string
type: string
unityVersion:
type: string
minLength: 1
default: 5.3.4p1
example: 2022.3.6f1
2 changes: 1 addition & 1 deletion openapi/components/requests/UpdateWorldRequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ properties:
type: string
minLength: 1
default: 5.3.4p1
example: 2018.4.20f1
example: 2022.3.6f1
2 changes: 1 addition & 1 deletion openapi/components/schemas/LimitedUnityPackage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ properties:
platform:
$ref: ./Platform.yaml
unityVersion:
example: 2018.4.14f1
example: 2022.3.6f1
minLength: 1
type: string
required:
Expand Down
4 changes: 2 additions & 2 deletions openapi/components/schemas/UnityPackage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ example:
pluginUrl: ''
pluginUrlObject: {}
unitySortNumber: 20180414000
unityVersion: 2018.4.14f1
unityVersion: 2022.3.6f1
properties:
id:
$ref: ./UnityPackageID.yaml
Expand Down Expand Up @@ -37,7 +37,7 @@ properties:
format: int64
unityVersion:
default: 5.3.4p1
example: 2018.4.12f1
example: 2022.3.6f1
minLength: 1
type: string
impostorUrl:
Expand Down

0 comments on commit c423e15

Please sign in to comment.