Skip to content

Read the omnisearch configuration

GET
/omnisearch/config.json
curl --request GET \
--url https://work.optidata.cloud/api/omnisearch/config.json \
--header 'Authorization: Bearer <token>'

Configuration document for the quick-search widget. Treat it as an open object; it is a placeholder today and will grow with the feature.

Omnisearch configuration.

Media typeapplication/json
object
key
additional properties
any
Examples
Exampleconfig
{
"message": "Hello World!"
}

Missing, malformed or expired authentication key.

Media typeapplication/json

Authentication failures use an error key rather than message.

object
error
required
string
Examples
Examplemissing

No bearer token sent

{
"error": "JWT passport exception: Missing bearer token in request"
}

Rate limit exceeded. Retry after the window resets.

Media typeapplication/json

Generic error envelope used by policy, binding and framework failures.

object
message
required

Human-readable description of the failure.

string
Examples
Examplethrottled
{
"message": "Too Many Attempts."
}