Skip to main content
POST
Hierarchy by games

Path Parameters

game
string
required

The slug of the game to retrieve results for

Example:

"pokemon"

Body

application/json

A search query includes a free text query property, refinements in the form of facets, pagination controls and optional sorting.

query
string

One or more free text search terms

filters
object[]
facets
object

Facets to refine the search results. Values are case-sensitive unless noted otherwise.

from
number | null
default:0

Offset for pagination

size
number
default:25

Number of results to return

Required range: 1 <= x <= 50
sorting
object

Sort results by field and order

Response

200 - application/json

Results for the matching game

total
number
required
hits
object[]
required
facets
object
required