Community Conundrum 10: The Titanic is now live Learn more

How to restart WebApps Backend using python dataikuapi?

Level 2
How to restart WebApps Backend using python dataikuapi?

Hi,



Requirement: Check running state of all webapps in a project and then start/restart webapps backend using dataikuapi (python)



I am unable to locate any reference in dataikuapi documentation for python.



Can you kindly assist?



- Kuntal.



 



 



 

0 Kudos
1 Reply
Level 1

Hi Kuntal,



 



Here's a way to do half of the job:



You can create scenarios that (re)start webapp backends. And then you can trigger this scenario from the API: https://doc.dataiku.com/dss/latest/python-api/rest-api-client/scenarios.html



However, this will still not allow you to automatically check the state of the webapp, but it will allow you to restart them.



 



regards



 



Coen

0 Kudos