Get ZooKeeper data
import requests
url = "https://{FUSION HOST}/api/zk/export/{path}"
response = requests.get(url)
print(response.text){
"path": "/lucid/query-pipelines",
"children": [
{
"path": "/lucid/query-pipelines/default"
}
]
}Download a ZooKeeper configuration. The REST API only supports export requests. The Fusion distribution includes a utility script zkImportExport.sh which can be used to import ZooKeeper configuration as well as to export it from arbitrary Fusion instances.
GET
/
zk
/
export
/
{path}
Get ZooKeeper data
import requests
url = "https://{FUSION HOST}/api/zk/export/{path}"
response = requests.get(url)
print(response.text){
"path": "/lucid/query-pipelines",
"children": [
{
"path": "/lucid/query-pipelines/default"
}
]
}Path Parameters
Path from ZooKeeper root node, such as 'lucid/query-pipelines'.
Pattern:
.*Query Parameters
Return children nodes.
List of paths to exclude.
List of paths to include.
Values encoding. Default is 'base64'.
Include ephemeral nodes. Default is false.
Was this page helpful?
⌘I