Skip to content

Add missing world query params #472

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
14 changes: 14 additions & 0 deletions openapi/components/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Member

@ariesclark ariesclark Jun 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This description isn't really self explanatory, can you add a bit more explaining it?

avatarSpecific:
name: avatarSpecific
in: query
required: false
schema:
type: boolean
description: Only search for avatar worlds.
tag:
name: tag
in: query
Expand Down
3 changes: 3 additions & 0 deletions openapi/components/paths/worlds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -86,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:
Expand Down