← Back to catalog

Infrastructure

DigitalOcean

swirls add digitalocean
actionPOSTv1.0.0

Create a New Domain

To create a new domain, send a POST request to `/v2/domains`. Set the "name" attribute to the domain name you are adding. Optionally, you may set the "ip_address" attribute, and an A record will be automatically created pointing to the apex domain.

Source
actionPOSTv1.0.0

Create a New Domain Record

To create a new record to a domain, send a POST request to `/v2/domains/$DOMAIN_NAME/records`. The request must include all of the required fields for the domain record type being added. See the [attribute table](#tag/Domain-Records) for details regarding record types and their respective required attributes.

Source
actionGETv1.0.0

Get Customer Balance

To retrieve the balances on a customer's account, send a GET request to `/v2/customers/my/balance`.

Source
actionGETv1.0.0

Get Namespace

Gets the namespace details for the given namespace UUID. To get namespace details, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID` with no parameters.

Source
actionGETv1.0.0

Get Trigger

Gets the trigger details. To get the trigger details, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers/$TRIGGER_NAME`.

Source
actionGETv1.0.0

Get User Information

To show information about the current user account, send a GET request to `/v2/account`.

Source
actionGETv1.0.0

List All Actions

This will be the entire list of actions taken on your account, so it will be quite large. As with any large collection returned by the API, the results will be paginated with only 20 on each page by default.

Source
actionGETv1.0.0

List All Actions for a Floating IP

To retrieve all actions that have been executed on a floating IP, send a GET request to `/v2/floating_ips/$FLOATING_IP/actions`.

Source
actionGETv1.0.0

List All Actions for an Image

To retrieve all actions that have been executed on an image, send a GET request to `/v2/images/$IMAGE_ID/actions`.

Source
actionGETv1.0.0

List all app alerts

List alerts associated to the app and any components. This includes configuration information about the alerts including emails, slack webhooks, and triggering events or conditions.

Source
actionGETv1.0.0

List All CDN Endpoints

To list all of the CDN endpoints available on your account, send a GET request to `/v2/cdn/endpoints`.

Source
actionGETv1.0.0

List All Certificates

To list all of the certificates available on your account, send a GET request to `/v2/certificates`.

Source
actionGETv1.0.0

List All Database Clusters

To list all of the database clusters available on your account, send a GET request to `/v2/databases`. To limit the results to database clusters with a specific tag, include the `tag_name` query parameter set to the name of the tag. For example, `/v2/databases?tag_name=$TAG_NAME`. The result will be a JSON object with a `databases` key. This will be set to an array of database objects, each of which will contain the standard database attributes. The embedded `connection` and `private_connection` objects will contain the information needed to access the database cluster: The embedded `maintenance_window` object will contain information about any scheduled maintenance for the database cluster.

Source
actionGETv1.0.0

List all Database Users

To list all of the users for your database cluster, send a GET request to `/v2/databases/$DATABASE_ID/users`. Note: User management is not supported for Redis clusters. The result will be a JSON object with a `users` key. This will be set to an array of database user objects, each of which will contain the standard database user attributes. For MySQL clusters, additional options will be contained in the mysql_settings object.

Source
actionGETv1.0.0

List All Databases

To list all of the databases in a clusters, send a GET request to `/v2/databases/$DATABASE_ID/dbs`. The result will be a JSON object with a `dbs` key. This will be set to an array of database objects, each of which will contain the standard database attributes. Note: Database management is not supported for Redis clusters.

Source
actionGETv1.0.0

List All Domain Records

To get a listing of all records configured for a domain, send a GET request to `/v2/domains/$DOMAIN_NAME/records`. The list of records returned can be filtered by using the `name` and `type` query parameters. For example, to only include A records for a domain, send a GET request to `/v2/domains/$DOMAIN_NAME/records?type=A`. `name` must be a fully qualified record name. For example, to only include records matching `sub.example.com`, send a GET request to `/v2/domains/$DOMAIN_NAME/records?name=sub.example.com`. Both name and type may be used together.

Source
actionGETv1.0.0

List All Domains

To retrieve a list of all of the domains in your account, send a GET request to `/v2/domains`.

Source
actionGETv1.0.0

List All Droplet Neighbors

To retrieve a list of all Droplets that are co-located on the same physical hardware, send a GET request to `/v2/reports/droplet_neighbors_ids`. The results will be returned as a JSON object with a key of `neighbor_ids`. This will be set to an array of arrays. Each array will contain a set of Droplet IDs for Droplets that share a physical server. An empty array indicates that all Droplets associated with your account are located on separate physical hardware.

Source
actionGETv1.0.0

List All Firewalls

To list all of the firewalls available on your account, send a GET request to `/v2/firewalls`.

Source
actionGETv1.0.0

List All Floating IPs

To list all of the floating IPs available on your account, send a GET request to `/v2/floating_ips`.

Source
actionGETv1.0.0

List All Read-only Replicas

To list all of the read-only replicas associated with a database cluster, send a GET request to `/v2/databases/$DATABASE_ID/replicas`. **Note**: Read-only replicas are not supported for Redis clusters. The result will be a JSON object with a `replicas` key. This will be set to an array of database replica objects, each of which will contain the standard database replica attributes.

Source
actionGETv1.0.0

List App Regions

List all regions supported by App Platform.

Source
actionGETv1.0.0

List Associated Resources for a Droplet

To list the associated billable resources that can be destroyed along with a Droplet, send a GET request to the `/v2/droplets/$DROPLET_ID/destroy_with_associated_resources` endpoint. The response will be a JSON object containing `snapshots`, `volumes`, and `volume_snapshots` keys. Each will be set to an array of objects containing information about the associated resources.

Source
actionGETv1.0.0

List Backups for a Database Cluster

To list all of the available backups of a PostgreSQL or MySQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/backups`. **Note**: Backups are not supported for Redis clusters. The result will be a JSON object with a `backups key`. This will be set to an array of backup objects, each of which will contain the size of the backup and the timestamp at which it was created.

Source
actionGETv1.0.0

List Billing History

To retrieve a list of all billing history entries, send a GET request to `/v2/customers/my/billing_history`.

Source
actionGETv1.0.0

List Connection Pools (PostgreSQL)

To list all of the connection pools available to a PostgreSQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/pools`. The result will be a JSON object with a `pools` key. This will be set to an array of connection pool objects.

Source
actionGETv1.0.0

List Database Options

To list all of the options available for the offered database engines, send a GET request to `/v2/databases/options`. The result will be a JSON object with an `options` key.

Source
actionGETv1.0.0

List Default Project Resources

To list all your resources in your default project, send a GET request to `/v2/projects/default/resources`.

Source
actionGETv1.0.0

List Firewall Rules (Trusted Sources) for a Database Cluster

To list all of a database cluster's firewall rules (known as "trusted sources" in the control panel), send a GET request to `/v2/databases/$DATABASE_ID/firewall`. The result will be a JSON object with a `rules` key.

Source
actionGETv1.0.0

List Instance Sizes

List all instance sizes for `service`, `worker`, and `job` components.

Source
actionGETv1.0.0

List Namespaces

Returns a list of namespaces associated with the current user. To get all namespaces, send a GET request to `/v2/functions/namespaces`.

Source
actionGETv1.0.0

List Neighbors for a Droplet

To retrieve a list of any "neighbors" (i.e. Droplets that are co-located on the same physical hardware) for a specific Droplet, send a GET request to `/v2/droplets/$DROPLET_ID/neighbors`. The results will be returned as a JSON object with a key of `droplets`. This will be set to an array containing objects representing any other Droplets that share the same physical hardware. An empty array indicates that the Droplet is not co-located any other Droplets associated with your account.

Source
actionGETv1.0.0

List Triggers

Returns a list of triggers associated with the current user and namespace. To get all triggers, send a GET request to `/v2/functions/namespaces/$NAMESPACE_ID/triggers`.

Source
actionGETv1.0.0

Retrieve a Droplet Action

To retrieve a Droplet action, send a GET request to `/v2/droplets/$DROPLET_ID/actions/$ACTION_ID`. The response will be a JSON object with a key called `action`. The value will be a Droplet action object.

Source
actionGETv1.0.0

Retrieve an Existing Action

To retrieve a specific action object, send a GET request to `/v2/actions/$ACTION_ID`.

Source
actionGETv1.0.0

Retrieve an Existing Action

To retrieve the status of an image action, send a GET request to `/v2/images/$IMAGE_ID/actions/$IMAGE_ACTION_ID`.

Source
actionGETv1.0.0

Retrieve an Existing App

Retrieve details about an existing app by either its ID or name. To retrieve an app by its name, do not include an ID in the request path. Information about the current active deployment as well as any in progress ones will also be included in the response.

Source
actionGETv1.0.0

Retrieve an Existing CDN Endpoint

To show information about an existing CDN endpoint, send a GET request to `/v2/cdn/endpoints/$ENDPOINT_ID`.

Source
actionGETv1.0.0

Retrieve an Existing Certificate

To show information about an existing certificate, send a GET request to `/v2/certificates/$CERTIFICATE_ID`.

Source
actionGETv1.0.0

Retrieve an Existing Database

To show information about an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID/dbs/$DB_NAME`. Note: Database management is not supported for Redis clusters. The response will be a JSON object with a `db` key. This will be set to an object containing the standard database attributes.

Source
actionGETv1.0.0

Retrieve an Existing Database Cluster

To show information about an existing database cluster, send a GET request to `/v2/databases/$DATABASE_ID`. The response will be a JSON object with a database key. This will be set to an object containing the standard database cluster attributes. The embedded connection and private_connection objects will contain the information needed to access the database cluster. The embedded maintenance_window object will contain information about any scheduled maintenance for the database cluster.

Source
actionGETv1.0.0

Retrieve an Existing Database Cluster Configuration

Shows configuration parameters for an existing database cluster by sending a GET request to `/v2/databases/$DATABASE_ID/config`. The response is a JSON object with a `config` key, which is set to an object containing any database configuration parameters.

Source
actionGETv1.0.0

Retrieve an Existing Database User

To show information about an existing database user, send a GET request to `/v2/databases/$DATABASE_ID/users/$USERNAME`. Note: User management is not supported for Redis clusters. The response will be a JSON object with a `user` key. This will be set to an object containing the standard database user attributes. For MySQL clusters, additional options will be contained in the mysql_settings object.

Source
actionGETv1.0.0

Retrieve an Existing Domain

To get details about a specific domain, send a GET request to `/v2/domains/$DOMAIN_NAME`.

Source
actionGETv1.0.0

Retrieve an Existing Domain Record

To retrieve a specific domain record, send a GET request to `/v2/domains/$DOMAIN_NAME/records/$RECORD_ID`.

Source
actionGETv1.0.0

Retrieve an Existing Droplet

To show information about an individual Droplet, send a GET request to `/v2/droplets/$DROPLET_ID`.

Source
actionGETv1.0.0

Retrieve an Existing Firewall

To show information about an existing firewall, send a GET request to `/v2/firewalls/$FIREWALL_ID`.

Source
actionGETv1.0.0

Retrieve an Existing Floating IP

To show information about a floating IP, send a GET request to `/v2/floating_ips/$FLOATING_IP_ADDR`.

Source
actionGETv1.0.0

Retrieve an Existing Floating IP Action

To retrieve the status of a floating IP action, send a GET request to `/v2/floating_ips/$FLOATING_IP/actions/$ACTION_ID`.

Source
actionGETv1.0.0

Retrieve an Existing Read-only Replica

To show information about an existing database replica, send a GET request to `/v2/databases/$DATABASE_ID/replicas/$REPLICA_NAME`. **Note**: Read-only replicas are not supported for Redis clusters. The response will be a JSON object with a `replica key`. This will be set to an object containing the standard database replica attributes.

Source
actionGETv1.0.0

Retrieve an Instance Size

Retrieve information about a specific instance size for `service`, `worker`, and `job` components.

Source
actionGETv1.0.0

Retrieve Existing Connection Pool (PostgreSQL)

To show information about an existing connection pool for a PostgreSQL database cluster, send a GET request to `/v2/databases/$DATABASE_ID/pools/$POOL_NAME`. The response will be a JSON object with a `pool` key.

Source
actionGETv1.0.0

Retrieve the Eviction Policy for a Redis Cluster

To retrieve the configured eviction policy for an existing Redis cluster, send a GET request to `/v2/databases/$DATABASE_ID/eviction_policy`. The response will be a JSON object with an `eviction_policy` key. This will be set to a string representing the eviction policy.

Source
actionGETv1.0.0

Retrieve the Public Certificate

To retrieve the public certificate used to secure the connection to the database cluster send a GET request to `/v2/databases/$DATABASE_ID/ca`. The response will be a JSON object with a `ca` key. This will be set to an object containing the base64 encoding of the public key certificate.

Source
actionGETv1.0.0

Retrieve the SQL Modes for a MySQL Cluster

To retrieve the configured SQL modes for an existing MySQL cluster, send a GET request to `/v2/databases/$DATABASE_ID/sql_mode`. The response will be a JSON object with a `sql_mode` key. This will be set to a string representing the configured SQL modes.

Source
actionGETv1.0.0

Retrieve the Status of an Online Migration

To retrieve the status of the most recent online migration, send a GET request to `/v2/databases/$DATABASE_ID/online-migration`.

Source
Beyond the catalog

Any provider, on request.

01

Request it

Tell us which provider you need, and we will ship it in the registry.

02

Generate it

Point swirls add at an OpenAPI or GraphQL spec. Typed actions for any API you hold credentials for, today.

acme · integrations
terminal
~/acme $swirls add linear
✓ 12 typed actions · scopes and schemas included
 
~/acme $swirls add https://api.acme.dev/openapi.json
◆ Fetched spec · 38 operations
✓ 6 typed actions · generated from spec