Retrieve an index profile
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>"
}Retrieve an index profile
Fetch an index profile by ID. The response is the index profile schema in JSON format.
GET
/
index-profiles
/
{id}
Retrieve an index profile
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>"
}Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Path Parameters
The index profile ID
Response
200 - application/json
OK
Was this page helpful?
⌘I