New to Dataiku DSS? Try out our NEW Quick Start Programs today and get onboarded on the product in just one hour! Let's go

How to restart WebApps Backend using python dataikuapi?

kuntaldeb
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
ConusAdonis
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
Labels (2)
A banner prompting to get Dataiku DSS