Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

FM api or other programmatical way to work with FM / non-UI / 11.3.1

IvanMi
Level 2
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

 

 

0 Kudos
3 Replies
MiguelangelC
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.

0 Kudos
IvanMi
Level 2
Author

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?

0 Kudos
IvanMi
Level 2
Author

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

0 Kudos