Get rules by targeted docs
import requests
url = "https://{FUSION HOST}/api/query-rewrite/search/targeted-docs"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text){}Get rules by targeted docs
Identify rules targeting the specified document IDs.
GET
/
query-rewrite
/
search
/
targeted-docs
Get rules by targeted docs
import requests
url = "https://{FUSION HOST}/api/query-rewrite/search/targeted-docs"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text){}Authorizations
Basic authAPI key
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Query Parameters
The app to which this object belongs, as app:SomeApp. If the app doesn't exist, the request fails. Other comma-separated contexts in the context parameter are allowed but ignored.
An edit session ID filter. Equivalent to a Fusion username.
A list of main collection document IDs.
Response
200 - */*
OK
Was this page helpful?
⌘I