Skip to main content

resources

Overview

Nameresources
TypeResource
Iddigitalocean.projects.resources

Fields

NameDatatypeDescription
linksobjectThe links object contains the self object, which contains the resource relationship.
statusstringThe status of assigning and fetching the resources.
urnstringThe uniform resource name (URN) for the resource in the format do:resource_type:resource_id.
assigned_atstringA time value given in ISO8601 combined date and time format that represents when the project was created.

Methods

NameAccessible byRequired ParamsDescription
list_resourcesSELECTproject_idTo list all your resources in a project, send a GET request to /v2/projects/$PROJECT_ID/resources.
_list_resourcesEXECproject_idTo list all your resources in a project, send a GET request to /v2/projects/$PROJECT_ID/resources.
assign_resourcesEXECproject_idTo assign resources to a project, send a POST request to /v2/projects/$PROJECT_ID/resources.