Python
import requests url = "https://{FUSION HOST}/api/index-profiles/{id}" headers = {"Authorization": "Basic <encoded-value>"} response = requests.get(url, headers=headers) print(response.text)
{ "id": "default", "indexPipeline": "<string>", "collection": "<string>", "parser": "<string>" }
Fetch an index profile by ID. The response is the index profile schema in JSON format.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The index profile ID
OK
A JSON object defining the index profile.
A unique index profile ID.
"default"
The index pipeline associated with this index profile.
The collection associated with this index profile.
The parser associated with this index profile.
Was this page helpful?