...
Table of Contents
Table of Contents | ||
---|---|---|
|
Introduction
Expose an OpenSearch API endpoint of one or several projects.
Note |
---|
NOTE The OpenSearch protocol should not be confused with the https://www.opensearch.org/ software. |
Usage
In the project Setup → Settings tab, select OpenSearch API.
This studio plugin requires additional configuration. To enable it for certain projects, you need to add the following configuration snippet to either your frontend.ini
or common.ini
file:
Code Block |
---|
[opensearch_api]
# Whitelist all project ids that expose the opensearch API.
# Only configure projects here that contain public data as of
# today we have no authentication in place.
# Multiple projects can be separated by comma.
project_ids = id1,id2
# use a read-only api token for a non-admin user.
token = abc...
# query cache time in seconds
query_cache_ttl = 60 |
Once done, click on the GO TO DESCRIPTION XML
button to get the link and content of the OpenSearch API description file. This file can be used to integrate with any OpenSearch compatible frameworks. For an example on how to use it to configure federated search within Salesforce, see Salesforce Federated Search.
Resources
...
https://en.wikipedia.org/wiki/OpenSearch
...
https://developer.mozilla.org/en-US/docs/Web/OpenSearch
...
This page can now be found at OpenSearch API on the Squirro Docs site.