Skip to Content
Xeonr Developer Docs
API Specificationxmb.api.v1.BrowseService

List facets

POST
/xmb.api.v1.BrowseService/ListFacets

Returns each facet's values with counts computed against every other facet's selection.

Required scopes: xmb:user:read

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

serverSlug?string
Length1 <= length <= 128
query?

The same cut the grid is showing. The counts are relative to it.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.BrowseService/ListFacets" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "facets": [
    "map[facet:FACET_KIND_GENRE totalWithout:212 values:[map[count:14 selected:true value:Crime] map[count:131 selected:false value:Drama]]]"
  ],
  "countsApproximate": "false"
}