To list all your resources in a project, send a GET request to /v2/projects/$PROJECT_ID/resources.This endpoint will only return resources that you are authorized to see. For example, to see Droplets in a project, include the droplet:read scope.
OptionalrequestConfiguration: RequestConfiguration<ResourcesRequestBuilderGetQueryParameters>Configuration for the request such as headers, query parameters, and middleware options.
To assign resources to a project, send a POST request to /v2/projects/$PROJECT_ID/resources.You must have both project:update and <resource>:read scopes to assign new resources. For example, to assign a Droplet to a project, include both the project:update and droplet:read scopes.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
To list all your resources in a project, send a GET request to /v2/projects/$PROJECT_ID/resources.This endpoint will only return resources that you are authorized to see. For example, to see Droplets in a project, include the droplet:read scope.
OptionalrequestConfiguration: RequestConfiguration<ResourcesRequestBuilderGetQueryParameters>Configuration for the request such as headers, query parameters, and middleware options.
To assign resources to a project, send a POST request to /v2/projects/$PROJECT_ID/resources.You must have both project:update and <resource>:read scopes to assign new resources. For example, to assign a Droplet to a project, include both the project:update and droplet:read scopes.
The request body
OptionalrequestConfiguration: RequestConfiguration<object>Configuration for the request such as headers, query parameters, and middleware options.
Builds and executes requests for operations under /v2/projects/{project_id}/resources