How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Digital Ocean Project Resources API

Project Resources are resources that can be grouped into your projects.You can group resources (like Droplets, Spaces, load balancers, domains,and floating IPs) in ways that align with the applications you host onDigitalOcean.### Supported Resource Types ExamplesProjects resources are identified by uniform resource names or URNs. Avalid URN has the following format: `do:resource_type:resource_id`. Thefollowing resource types are supported:Resource Type | Example URN-------------------|------------App Platform App | `do:app:be5aab85-851b-4cab-b2ed-98d5a63ba4e8`Database | `do:dbaas:83c7a55f-0d84-4760-9245-aba076ec2fb2`Domain | `do:domain:example.com`Droplet | `do:droplet:4126873`Floating IP | `do:floatingip:192.168.99.100`Kubernetes Cluster | `do:kubernetes:bd5f5959-5e1e-4205-a714-a914373942af`Load Balancer | `do:loadbalancer:39052d89-8dd4-4d49-8d5a-3c3b6b365b5b`Space | `do:space:my-website-assets`Volume | `do:volume:6fc4c277-ea5c-448a-93cd-dd496cfef71f`### Resource Status CodesWhen assigning and retrieving resources in projects, a `status` attributeis returned that indicates if a resource was successfully retrieved orassigned. The status codes can be one of the following:Status Code | Explanation-------------------|------------`ok` | There was no problem retrieving or assigning a resource.`not_found` | The resource was not found.`assigned` | The resource was successfully assigned.`already_assigned` | The resource was already assigned.`service_down` | There was a problem retrieving or assigning a resource. Please try again.

Digital Ocean Project Resources API is one of 37 APIs that Digital Ocean publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Project Resources. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 2 paths, and defines 14 schemas. It is described by OpenAPI 3.0.0, at version 2.0.

Requests are made against a single base URL, https://api.digitalocean.com.

4 operations 2 paths 14 schemas 2 GET2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
2.0
Base URL
https://api.digitalocean.com/v2
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

Digital Ocean Project Resources API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearer_auth). By default, every request must be authenticated.

  • bearer_auth — OAuth Authentication In order to interact with the DigitalOcean API, you or your application must authenticate. The DigitalOcean API handles this through OAuth…

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 2 GET, 2 POST. Each is listed below with its method, path, parameters, and response codes.

Project Resources 4

Project Resources are resources that can be grouped into your projects. You can group resources (like Droplets, Spaces, load balancers, domains, and floating IPs) in ways that ali…

GET
/v2/projects/{project_id}/resources
List Project Resources
projects_list_resources 3 params → 200401404429500default
POST
/v2/projects/{project_id}/resources
Assign Resources to a Project
projects_assign_resources 1 param body → 200401404429500default
GET
/v2/projects/default/resources
List Default Project Resources
projects_list_resources_default → 200401404429500default
POST
/v2/projects/default/resources
Assign Resources to Default Project
projects_assign_resources_default body → 200401404429500default

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are resource (4 properties), error (3 properties), meta_properties (1 property), link_to_next_page (1 property). Each schema is shown below with its type and property counts.

link_to_prev_page
object
1 property
link_to_last_page
object
1 property
page_links
object
1 property
urn
string
The uniform resource name (URN) for the resource in the format do:resourcetype:resourceid.
forward_links
project_assignment
object
1 property
pagination
object
1 property
link_to_first_page
object
1 property
error
object
3 properties 2 required
backward_links
meta_properties
object
Information about the response itself.
1 property
meta
object
1 property 1 required
link_to_next_page
object
1 property
resource
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

digital-ocean-project-resources-api-openapi.yml Raw ↑

Other APIs Digital Ocean publishes across the network.

Digital Ocean 1-Click Applications API
Digital Ocean Account API
Digital Ocean Actions API
Digital Ocean Apps API
Digital Ocean Billing API
Digital Ocean Block Storage Actions API
Digital Ocean Block Storage API
Digital Ocean CDN Endpoints API
Digital Ocean Certificates API
Digital Ocean Container Registry API
Digital Ocean Databases API
Digital Ocean Domain Records API
Where this information came from

This is an independent, third-party profile of Digital Ocean Project Resources API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.