Skip to content

Commit 240f48c

Browse files
author
MapleFluff
authored
Add missing world query params (#472)
* feat(world_search_params): Add missing params "avatarSpecific" and "notag" are used in some places for searching for worlds. `notag: exlcude worlds with these tags` `avatarSpecific: only include avatar worlds` Another field is "organization". Ive only ever seen this set as "vrchat" though. I didnt include it because of that, but thought id mention it just in case * feat(active_world_params): add avatarSpecific I missed adding the avatarSpecific parameter to the worlds/active endpoint
1 parent ed96451 commit 240f48c

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

openapi/components/parameters.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,20 @@ platform:
276276
schema:
277277
type: string
278278
description: The platform the asset supports.
279+
noplatform:
280+
name: noplatform
281+
in: query
282+
required: false
283+
schema:
284+
type: string
285+
description: The platform the asset does not support.
286+
avatarSpecific:
287+
name: avatarSpecific
288+
in: query
289+
required: false
290+
schema:
291+
type: boolean
292+
description: Only search for avatar worlds.
279293
tag:
280294
name: tag
281295
in: query

openapi/components/paths/worlds.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ paths:
3939
- $ref: ../parameters.yaml#/maxUnityVersion
4040
- $ref: ../parameters.yaml#/minUnityVersion
4141
- $ref: ../parameters.yaml#/platform
42+
- $ref: ../parameters.yaml#/noplatform
4243
- $ref: ../parameters.yaml#/fuzzy
44+
- $ref: ../parameters.yaml#/avatarSpecific
4345
description: Search and list any worlds by query filters.
4446
post:
4547
summary: Create World
@@ -86,6 +88,7 @@ paths:
8688
- $ref: ../parameters.yaml#/maxUnityVersion
8789
- $ref: ../parameters.yaml#/minUnityVersion
8890
- $ref: ../parameters.yaml#/platform
91+
- $ref: ../parameters.yaml#/noplatform
8992
description: Search and list currently Active worlds by query filters.
9093
/worlds/recent:
9194
get:

0 commit comments

Comments
 (0)