Web service API

How to use PageSeeder's Web service API

get group facet

/groups/{group}/facet [GET]

com.pageseeder.search.GetFacet

Description

Returns the facets for a specific field in the index.

Parameters

NameDescriptionRequiredTypeDefault value
field A valid index field yes string

See Index for index fields available.

Permission

Undocumented permissions requirements.

Response

The XML returned is:

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

Error handling

No specific errors expected for this service.

Created on , last edited on