{ "opencollection": "1.0.0", "info": { "name": "DigitalOcean Project Resources API", "version": "2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Project Resources", "type": "folder" }, "items": [ { "info": { "name": "List Project Resources", "type": "http" }, "http": { "method": "GET", "url": "https://api.digitalocean.com/v2/projects/:project_id/resources", "params": [ { "name": "project_id", "value": "4de7ac8b-495b-4884-9a69-1050c6793cd6", "type": "path", "description": "A unique identifier for a project." }, { "name": "per_page", "value": "2", "type": "query", "description": "Number of items returned per page" }, { "name": "page", "value": "1", "type": "query", "description": "Which 'page' of paginated results to return." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "To list all your resources in a project, send a GET request to `/v2/projects/$PROJECT_ID/resources`." }, { "info": { "name": "Assign Resources to a Project", "type": "http" }, "http": { "method": "POST", "url": "https://api.digitalocean.com/v2/projects/:project_id/resources", "params": [ { "name": "project_id", "value": "4de7ac8b-495b-4884-9a69-1050c6793cd6", "type": "path", "description": "A unique identifier for a project." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "To assign resources to a project, send a POST request to `/v2/projects/$PROJECT_ID/resources`." }, { "info": { "name": "List Default Project Resources", "type": "http" }, "http": { "method": "GET", "url": "https://api.digitalocean.com/v2/projects/default/resources", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "To list all your resources in your default project, send a GET request to `/v2/projects/default/resources`." }, { "info": { "name": "Assign Resources to Default Project", "type": "http" }, "http": { "method": "POST", "url": "https://api.digitalocean.com/v2/projects/default/resources", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "To assign resources to your default project, send a POST request to `/v2/projects/default/resources`." } ] } ], "bundled": true }