Skip to main content

 Version 5

Legacy documentation for PageSeeder v5

autocomplete group field

/groups/{group}/autocomplete/{field} [GET]

Description

This service is now deprecated, use Service: /groups/{group}/autocomplete [GET] instead.

Autocomplete for a specific field

Returns the list of terms that auto-complete the prefix from terms in the field specified in the URL.

Parameters

NameDescriptionRequiredTypeDefault
termThe term to autocomplete, effectively a prefix for possible termsyesstring
max-termsThe maximum number of terms to returnnointeger20

Permission

This service is restricted to guest and higher.

Response

Example XML output:

<autocomplete term="test">
  <term text="test1" prefix="true"/>
  <term text="test2" prefix="true"/>
  <term text="testable" prefix="true"/>
  <term text="tested" prefix="true"/>
  ...
</autocomplete>

Error Handling

No specific errors expected for this service.

Created on , last edited on