v14

OpenAPI 3.1.02026-08-03122113375.9 KB
search

Hierarchy by games

Search within a single game node from the hierarchy.

Use this for game-level pages like "Pokemon", "Yu-Gi-Oh!", and similar browse routes.

Behavior:

  • Resolves the {game} slug to hierarchy facets.
  • Merges those facets with any user-provided query filters.
  • Runs a normal search using the merged query.

Failure behavior:

  • Returns 404 if the game slug does not exist in the current hierarchy.
post/search/hierarchy/{game}

Path parameters

gamestring required

The slug of the game to retrieve results for

Example:pokemon

The slug of the game to retrieve results for

Request body

querystring

One or more free text search terms

filtersobject[]
fromnumber nullable

Offset for pagination

sizenumber

Number of results to return

Response

Results for the matching game

totalnumber required
facetsobject required