v1

latestOpenAPI 3.0.32026-07-1714016.9 KB

Return values for a single facet

post/faceted-search/{facetClass}/facet/{id}

Path parameters

facetClassstring required
Example:perspective1

The class of the facet

idstring required
Example:language

The id of the facet

Request body

sortBystring
sortDirectionstring
constraintsobject[] nullable
constrainSelfboolean
langTagstring

Example request

{
  "sortBy": "instanceCount",
  "sortDirection": "desc",
  "langTag": "en"
}

Response

Facet values

flatDataobject[]

Facet values as an array of objects with no hierarchy

idstring

The id of facet

sparqlQuerystring

The SPARQL query that was used for the values of the facet