Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions openapi/components/schemas/WebsocketEconomyUpdate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: WebsocketEconomyUpdate
type: object
properties:
dirtyPurchases:
type: boolean
Comment thread
C0D3-M4513R marked this conversation as resolved.
required:
- dirtyPurchases
14 changes: 14 additions & 0 deletions openapi/components/schemas/WebsocketEconomyUpdateEncoded.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: WebsocketEconomyUpdateEncoded
type: object
properties:
content:
type: string
contentMediaType: application/json
contentSchema:
$ref: ./WebsocketEconomyUpdate.yaml
x-vrchat-double-encoding-type: WebsocketEconomyUpdate
type:
const: economy-update
required:
- content
- type
3 changes: 3 additions & 0 deletions openapi/components/schemas/WebsocketFriendOnline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ properties:
$ref: ./LocationID.yaml
platform:
$ref: ./Platform.yaml
user:
$ref: ./User.yaml
userId:
$ref: ./UserID.yaml
required:
- canRequestInvite
- location
- platform
- user
- userId
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ title: WebsocketGroupMemberUpdated
type: object
properties:
member:
# Todo: Is this the correct GroupMember?
Comment thread
C0D3-M4513R marked this conversation as resolved.
$ref: ./GroupMemberLimitedUser.yaml
required:
- member
7 changes: 7 additions & 0 deletions openapi/components/schemas/WebsocketInstanceClosed.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title: WebsocketInstanceClosed
type: object
properties:
instanceLocation:
$ref: ./LocationID.yaml
required:
- instanceLocation
14 changes: 14 additions & 0 deletions openapi/components/schemas/WebsocketInstanceClosedEncoded.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: WebsocketInstanceClosedEncoded
type: object
properties:
content:
type: string
contentMediaType: application/json
contentSchema:
$ref: ./WebsocketInstanceClosed.yaml
x-vrchat-double-encoding-type: WebsocketInstanceClosed
type:
const: instance-closed
required:
- content
- type
4 changes: 2 additions & 2 deletions openapi/components/schemas/WebsocketInstanceQueueJoined.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
title: WebsocketInstanceQueueJoined
type: object
properties:
location:
instanceLocation:
$ref: ./LocationID.yaml
position:
type: integer
required:
- location
- instanceLocation
- position
4 changes: 2 additions & 2 deletions openapi/components/schemas/WebsocketInstanceQueueReady.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ properties:
expiry:
type: string
format: date-time
location:
instanceLocation:
$ref: ./LocationID.yaml
required:
- expiry
- location
- instanceLocation
6 changes: 6 additions & 0 deletions openapi/components/schemas/WebsocketMessage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ discriminator:
mapping:
clear-notification: ./WebsocketClearNotification.yaml
content-refresh: ./WebsocketContentRefreshEncoded.yaml
economy-update: ./WebsocketEconomyUpdateEncoded.yaml
Comment thread
C0D3-M4513R marked this conversation as resolved.
friend-active: ./WebsocketFriendActiveEncoded.yaml
friend-add: ./WebsocketFriendAddEncoded.yaml
friend-delete: ./WebsocketFriendDeleteEncoded.yaml
Expand All @@ -17,8 +18,10 @@ discriminator:
group-member-updated: ./WebsocketGroupMemberUpdatedEncoded.yaml
group-role-updated: ./WebsocketGroupRoleUpdatedEncoded.yaml
hide-notification: ./WebsocketHideNotification.yaml
instance-closed: ./WebsocketInstanceClosedEncoded.yaml
instance-queue-joined: ./WebsocketInstanceQueueJoinedEncoded.yaml
instance-queue-ready: ./WebsocketInstanceQueueReadyEncoded.yaml
modified-image-update: ./WebsocketModifiedImageUpdateEncoded.yaml
notification: ./WebsocketNotificationEncoded.yaml
notification-v2: ./WebsocketNotificationV2Encoded.yaml
notification-v2-delete: ./WebsocketNotificationV2DeleteEncoded.yaml
Expand All @@ -33,6 +36,7 @@ discriminator:
oneOf:
- $ref: ./WebsocketClearNotification.yaml
- $ref: ./WebsocketContentRefreshEncoded.yaml
- $ref: ./WebsocketEconomyUpdateEncoded.yaml
- $ref: ./WebsocketFriendActiveEncoded.yaml
- $ref: ./WebsocketFriendAddEncoded.yaml
- $ref: ./WebsocketFriendDeleteEncoded.yaml
Expand All @@ -45,8 +49,10 @@ oneOf:
- $ref: ./WebsocketGroupMemberUpdatedEncoded.yaml
- $ref: ./WebsocketGroupRoleUpdatedEncoded.yaml
- $ref: ./WebsocketHideNotification.yaml
- $ref: ./WebsocketInstanceClosedEncoded.yaml
- $ref: ./WebsocketInstanceQueueJoinedEncoded.yaml
- $ref: ./WebsocketInstanceQueueReadyEncoded.yaml
- $ref: ./WebsocketModifiedImageUpdateEncoded.yaml
- $ref: ./WebsocketNotificationEncoded.yaml
- $ref: ./WebsocketNotificationV2Encoded.yaml
- $ref: ./WebsocketNotificationV2DeleteEncoded.yaml
Expand Down
9 changes: 9 additions & 0 deletions openapi/components/schemas/WebsocketMessageError.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: WebsocketMessageError
type: object
description: A websocket message, which indicates that some sort of error has occurred
additionalProperties: true
properties:
err:
type: string
required:
- err
3 changes: 3 additions & 0 deletions openapi/components/schemas/WebsocketMessageUnknown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ properties:
enum:
- clear-notification
- content-refresh
- economy-update
- friend-active
- friend-add
- friend-delete
Expand All @@ -21,8 +22,10 @@ properties:
- group-member-updated
- group-role-updated
- hide-notification
- instance-closed
- instance-queue-joined
- instance-queue-ready
- modified-image-update
- notification
- notification-v2
- notification-v2-delete
Expand Down
5 changes: 5 additions & 0 deletions openapi/components/schemas/WebsocketMessageUntyped.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
title: WebsocketMessageUntyped
description: A websocket message whose `type` is unknown or missing
anyOf:
- $ref: ./WebsocketMessageError.yaml
- $ref: ./WebsocketMessageUnknown.yaml
16 changes: 16 additions & 0 deletions openapi/components/schemas/WebsocketModifiedImageUpdate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
title: WebsocketModifiedImageUpdate
type: object
properties:
fileId:
$ref: ./FileID.yaml
needsProcessing:
type: boolean
pixelSize:
type: number
versionNumber:
type: number
required:
- fileId
- needsProcessing
- pixelSize
- versionNumber
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
title: WebsocketModifiedImageUpdateEncoded
type: object
properties:
content:
type: string
contentMediaType: application/json
contentSchema:
$ref: ./WebsocketModifiedImageUpdate.yaml
x-vrchat-double-encoding-type: WebsocketModifiedImageUpdate
type:
const: modified-image-update
required:
- content
- type
8 changes: 5 additions & 3 deletions openapi/components/schemas/WebsocketNotificationV2Delete.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
title: WebsocketNotificationV2Delete
type: object
properties:
id:
$ref: ./NotificationID.yaml
ids:
type: array
items:
$ref: ./NotificationID.yaml
version:
type: integer
required:
- id
- ids
- version
2 changes: 1 addition & 1 deletion openapi/components/schemas/WebsocketUserUpdate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: WebsocketUserUpdate
type: object
properties:
user:
$ref: ./User.yaml
$ref: ./WebsocketUserUpdateUser.yaml
userId:
$ref: ./UserID.yaml
required:
Expand Down
45 changes: 45 additions & 0 deletions openapi/components/schemas/WebsocketUserUpdateUser.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
title: WebsocketUserUpdateUser
Comment thread
C0D3-M4513R marked this conversation as resolved.
type: object
properties:
bio:
type: string
currentAvatar:
$ref: ./AvatarID.yaml
currentAvatarImageUrl:
type: string
currentAvatarThumbnailImageUrl:
type: string
displayName:
type: string
fallbackAvatar:
$ref: ./AvatarID.yaml
id:
$ref: ./UserID.yaml
profilePicOverride:
type: string
status:
$ref: ./UserStatus.yaml
statusDescription:
type: string
tags:
type: array
items:
$ref: ./Tag.yaml
userIcon:
type: string
username:
type: string
required:
- bio
- currentAvatar
- currentAvatarImageUrl
- currentAvatarThumbnailImageUrl
- displayName
- fallbackAvatar
- id
- profilePicOverride
- status
- statusDescription
- tags
- userIcon
- username
18 changes: 18 additions & 0 deletions openapi/components/schemas/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ WebsocketContentRefresh:
$ref: ./WebsocketContentRefresh.yaml
WebsocketContentRefreshEncoded:
$ref: ./WebsocketContentRefreshEncoded.yaml
WebsocketEconomyUpdate:
$ref: ./WebsocketEconomyUpdate.yaml
WebsocketEconomyUpdateEncoded:
$ref: ./WebsocketEconomyUpdateEncoded.yaml
WebsocketFriendActive:
$ref: ./WebsocketFriendActive.yaml
WebsocketFriendActiveEncoded:
Expand Down Expand Up @@ -90,6 +94,10 @@ WebsocketGroupRoleUpdatedEncoded:
$ref: ./WebsocketGroupRoleUpdatedEncoded.yaml
WebsocketHideNotification:
$ref: ./WebsocketHideNotification.yaml
WebsocketInstanceClosed:
$ref: ./WebsocketInstanceClosed.yaml
WebsocketInstanceClosedEncoded:
$ref: ./WebsocketInstanceClosedEncoded.yaml
WebsocketInstanceQueueJoined:
$ref: ./WebsocketInstanceQueueJoined.yaml
WebsocketInstanceQueueJoinedEncoded:
Expand All @@ -100,9 +108,17 @@ WebsocketInstanceQueueReadyEncoded:
$ref: ./WebsocketInstanceQueueReadyEncoded.yaml
WebsocketMessage:
$ref: ./WebsocketMessage.yaml
WebsocketMessageError:
$ref: ./WebsocketMessageError.yaml
WebsocketMessageUnknown:
$ref: ./WebsocketMessageUnknown.yaml
WebsocketMessageUntyped:
$ref: ./WebsocketMessageUntyped.yaml

WebsocketModifiedImageUpdate:
$ref: ./WebsocketModifiedImageUpdate.yaml
WebsocketModifiedImageUpdateEncoded:
$ref: ./WebsocketModifiedImageUpdateEncoded.yaml
WebsocketNotification:
$ref: ./WebsocketNotification.yaml
WebsocketNotificationDetailBoop:
Expand Down Expand Up @@ -153,3 +169,5 @@ WebsocketUserUpdate:
$ref: ./WebsocketUserUpdate.yaml
WebsocketUserUpdateEncoded:
$ref: ./WebsocketUserUpdateEncoded.yaml
WebsocketUserUpdateUser:
$ref: ./WebsocketUserUpdateUser.yaml
Loading