v14

OpenAPI 3.1.02026-08-03122113375.9 KB
search

Hierarchy by set

Search within a specific set under a game hierarchy node.

Use this for set-specific pages such as "Base Set", "Jungle", and other collection views.

Behavior:

  • Resolves {game} and {set} slugs in the hierarchy tree.
  • Merges node facets with any user-provided filters from the request body.
  • Returns standard search results for that scoped set.

Failure behavior:

  • Returns 404 when the set slug is not found for the selected game.
post/search/hierarchy/{game}/{set}

Path parameters

gamestring required

The slug of the game to retrieve results for

Example:pokemon

The slug of the game to retrieve results for

setstring required

The slug of the set to retrieve results for

Example:base-set

The slug of the set 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 set

totalnumber required
facetsobject required