Skip to main content
GET
/
collections
/
{collection}
/
synonyms
/
{path}
/
suggestions
Get term suggestions from synonyms/categories/comments for autocomplete/autosuggest purposes
import requests

url = "http://api/apollo/collections/{collection}/synonyms/{path}/suggestions"

response = requests.get(url)

print(response.text)
[
  "<string>"
]

Path Parameters

collection
string
required

The name of a collection

path
string
required

The path to a synonym file

Query Parameters

field
string

The field to search

q
string

The query term for which to get suggestions

Response

200 - application/json

successful operation

The response is of type string[].