FM api or other programmatical way to work with FM / non-UI / 11.3.1
Hello
I'm just wondering if there is any way to communicate with FM using any programmatic way.
The aim is to avoid manual actions on UI.
Thank you in advance
WBR
Ivan
Answers
-
Miguel Angel Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 118 Dataiker
Hi Ivan,
In the documentation you will see information about the Fleet Manager API: https://doc.dataiku.com/dss/latest/python-api/fleetmanager/index.html
Please note the exact syntax may vary depending on your FM version.
-
Hello, thank you for your response.
When try API, the path cant be found api/public/tenants/main/instances python3.7/site-packages/dataikuapi/fmclient.py", line 249, in _perform_http
At the same time, nginx access.log logs on FM show slightly different path:
api/agent/tenants/main/instances/
Is this path configurable?
-
In fmclient.py l.232:
"%s/api/public%s" % (self.host, path)
thus /api/public is hard coded.
Is this a bug?
Just want to get why this is happening: the path cant be found api/public/tenants/main/instances python3.7/site-packages/dataikuapi/fmclient.py", line 249, in _perform_http