From 904cb6cb8485421c5392276abba7433f8deced09 Mon Sep 17 00:00:00 2001 From: MapleFluff Date: Fri, 20 Jun 2025 09:15:30 -0500 Subject: [PATCH 1/2] 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 --- openapi/components/parameters.yaml | 14 ++++++++++++++ openapi/components/paths/worlds.yaml | 2 ++ 2 files changed, 16 insertions(+) diff --git a/openapi/components/parameters.yaml b/openapi/components/parameters.yaml index 98c86185..22371eca 100644 --- a/openapi/components/parameters.yaml +++ b/openapi/components/parameters.yaml @@ -251,6 +251,20 @@ platform: schema: type: string description: The platform the asset supports. +noplatform: + name: noplatform + in: query + required: false + schema: + type: string + description: The platform the asset does not support. +avatarSpecific: + name: avatarSpecific + in: query + required: false + schema: + type: boolean + description: Only search for avatar worlds. tag: name: tag in: query diff --git a/openapi/components/paths/worlds.yaml b/openapi/components/paths/worlds.yaml index 842057c8..416b0d91 100644 --- a/openapi/components/paths/worlds.yaml +++ b/openapi/components/paths/worlds.yaml @@ -39,7 +39,9 @@ paths: - $ref: ../parameters.yaml#/maxUnityVersion - $ref: ../parameters.yaml#/minUnityVersion - $ref: ../parameters.yaml#/platform + - $ref: ../parameters.yaml#/noplatform - $ref: ../parameters.yaml#/fuzzy + - $ref: ../parameters.yaml#/avatarSpecific description: Search and list any worlds by query filters. post: summary: Create World From 5b0a164741d12acd6f00dc6b1c216a078ba2c4cc Mon Sep 17 00:00:00 2001 From: maplefluff Date: Fri, 20 Jun 2025 09:44:10 -0500 Subject: [PATCH 2/2] feat(active_world_params): add avatarSpecific I missed adding the avatarSpecific parameter to the worlds/active endpoint --- openapi/components/paths/worlds.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/openapi/components/paths/worlds.yaml b/openapi/components/paths/worlds.yaml index 416b0d91..3d4b00dd 100644 --- a/openapi/components/paths/worlds.yaml +++ b/openapi/components/paths/worlds.yaml @@ -88,6 +88,7 @@ paths: - $ref: ../parameters.yaml#/maxUnityVersion - $ref: ../parameters.yaml#/minUnityVersion - $ref: ../parameters.yaml#/platform + - $ref: ../parameters.yaml#/noplatform description: Search and list currently Active worlds by query filters. /worlds/recent: get: