Search
Performs an autocomplete search on a table
The method expects an object with the following mandatory properties:
- the name of the table to search
- the query string to autocomplete For details, see the documentation on Autocomplete An example: { "table":"table_name", "query":"query_beginning" } An example of the method's response:
[
{
"total": 3,
"error": "",
"warning": "",
"columns": [
{
"query": {
"type": "string"
}
}
],
"data": [
{
"query": "hello"
},
{
"query": "helio"
},
{
"query": "hell"
}
]
}
]
For more detailed information about the autocomplete queries, please refer to the documentation here.
post/autocomplete
Request body
Example request
{
"table": "test",
"query": "Start",
"options": {
"layouts": "us,uk",
"fuzziness": 0
}
}Response
Ok
object[] required