Managing Applications
In this section, you will learn how to manage your application using the available library. You can interact with your application in various ways, such as obtaining information about the application status, accessing logs, starting, stopping, and restarting the application, as well as managing files associated with it.
All operations below can be performed by either the Client class, the Application class and the CLI. Below are examples of how to perform each of these tasks using both classes:
Getting the status of your application
client.app_status
and app.status
return a StatusData
object.
Getting logs
client.get_logs
and app.logs
return a LogsData
object.
Starting the application
client.start_app
and app.start
return a Response
object.
Stopping the application
client.stop_app
and app.stop
return a Response
object.
Restarting the application
client.restart_app
and app.restart
return a Response
object.
Deleting an application
client.delete_app
and app.delete
return a Response
object.
This will delete your application PERMANENTLY, meaning that unless you have a backup of your application, it cannot be recovered.
Was this page helpful?