App Platform References

The DigitalOcean API

The DigitalOcean API lets you manage DigitalOcean resources programmatically using conventional HTTP requests. All the functionality available in the DigitalOcean Control Panel is also available through the API.

You can use the API to deploy, delete, and manage apps on App Platform.

The DigitalOcean Command Line Client, doctl

doctl is a command-line interface for the DigitalOcean API and supports many of the same actions.

doctl supports managing apps from the command line. See the doctl documentation or use doctl apps --help for more information.

Reference for the format of app configuration files for App Platform, also known as “app specs.”
The DigitalOcean API allows you to manage your app in a programmatic way using conventional HTTP requests. All of the functionality that you see in the DigitalOcean control panel is also available through the API, allowing you to script the complex actions that your situation requires. The DigitalOcean API is useful for automating configuration and resourcing changes to your app from within the application code itself. Connect to the API Use of the API requires an API token, which you can generate for your account by visiting the control panel’s token generator.
doctl is a command-line interface for the DigitalOcean API and supports many of the same actions. Get Started To use doctl, you must first install it. The commands for App Platform are inside the apps command space To create or update an app, you can pass in a YAML or JSON app specification to doctl apps create: doctl apps create –spec <path-to-spec> How to Install doctl Install and configure doctl, the official DigitalOcean command-line client (CLI).
Reference for error codes and their reasons in App Platform.