curl --request GET \
--url https://{FUSION HOST}/api/query-profiles/{id} \
--header 'Authorization: Basic <encoded-value>'
{
"id": "<string>",
"queryPipeline": "<string>",
"collection": "<string>",
"searchHandler": "<string>",
"searchMode": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "replace"
}
],
"experiment": {
"id": "<string>",
"percentOfTraffic": 123
}
}
Fetch a query profile by ID. The response is the query profile schema in JSON format.
curl --request GET \
--url https://{FUSION HOST}/api/query-profiles/{id} \
--header 'Authorization: Basic <encoded-value>'
{
"id": "<string>",
"queryPipeline": "<string>",
"collection": "<string>",
"searchHandler": "<string>",
"searchMode": "<string>",
"params": [
{
"key": "<string>",
"value": "<string>",
"policy": "replace"
}
],
"experiment": {
"id": "<string>",
"percentOfTraffic": 123
}
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The query profile ID.
OK
The response is of type object
.
Was this page helpful?