Skip to main content

 Services

Web services from /about to /webhooks

get group facet

/groups/{group}/facet [GET]

Description

Returns the facets for a specific field in the index.

Parameters

NameDescriptionRequiredTypeDefault
fieldA valid index fieldyesstring

See Index for index fields available.

Permission

This service is restricted to guest and higher.

Response

When the field is valid, the XML returned is:

<facet name="[field name]" type="field" computed="true" total="[total]">
  <term field="[field name]" text="[term]" cardinality="[occurrences]"/>
  ...
</facet>

If field is invalid, return:

<facet name="pd" type="field" computed="true" total="0"/>

Error Handling

CodeCause / Description
0x0201Missing required field
Created on , last edited on