GET /api/database/{id}/autocomplete_suggestions
Changed onReturn a list of autocomplete suggestions for a given prefix, or substring. Should only specify one, but substring will have priority if both are present.
This is intended for use with the ACE Editor when the User is typing raw SQL. Suggestions include matching Tables and Fields in this Database.
Tables are returned in the format [table_name "Table"]; When Fields have a semantic_type, they are returned in the format [field_name "table_name base_type semantic_type"] When Fields lack a semantic_type, they are returned in the format [field_name "table_name base_type"]
Request
- Base URL(relative, and the document was published on a file host, not at the API’s origin)
- AuthAPI key in header X-API-Key
Path parameters
value must be an integer greater than zero.
Query parameters
value must be a non-blank string.
value must be a non-blank string.
Response
Successful response
Changes
- info
api operation id
get-api-database-id-autocomplete_suggestionswas added
- info