{ "uuid": "26520860-a6c3-4604-ac1f-10da682eaf0f", "lastMigration": 29, "name": "DigitalOcean API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "e76c0eab-89fe-4b40-ac32-7895cdce45e4", "documentation": "List 1-Click Applications", "method": "get", "endpoint": "v2/1-clicks", "responses": [ { "uuid": "2d7c83b7-f892-4649-abbe-e89d9be85b3c", "body": "{\n \"1_clicks\": [\n {\n \"slug\": \"monitoring\",\n \"type\": \"kubernetes\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `1_clicks`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1743b60e-189f-43f2-a6f0-5ddc6a294e69", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f1729b15-d32e-4029-826a-e3056c930008", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bf0f3e27-836a-43bd-96cc-47955a430f6d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ae26fc25-1aa0-44db-8c4e-be1ca6f08302", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5d54d67-10ad-47d9-9189-3c7d19232ba9", "documentation": "Install Kubernetes 1-Click Applications", "method": "post", "endpoint": "v2/1-clicks/kubernetes", "responses": [ { "uuid": "caabbd0a-d103-4cf5-8373-f5312e414d27", "body": "{\n \"message\": \"Successfully kicked off addon job.\"\n}", "latency": 0, "statusCode": 200, "label": "The response will verify that a job has been successfully created to install a 1-Click. The\npost-installation lifecycle of a 1-Click application can not be managed via the DigitalOcean\nAPI. For additional details specific to the 1-Click, find and view its\n[DigitalOcean Marketplace](https://marketplace.digitalocean.com) page.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8ee4c205-97d3-428f-b232-0ba8f945e8b7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2350990b-1ef8-44b5-ad8f-d2ff67acd3f5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "826e63bd-174c-497f-8720-e900a14fc6e9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6b8e9be7-4f27-4456-9165-b244122b5611", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66b3dfb4-772e-4795-91fb-2dc8e41fde79", "documentation": "Get User Information", "method": "get", "endpoint": "v2/account", "responses": [ { "uuid": "27e04a17-9105-4996-8612-8a1399bf0223", "body": "{\n \"account\": {\n \"droplet_limit\": 25,\n \"email\": \"sammy@digitalocean.com\",\n \"email_verified\": true,\n \"floating_ip_limit\": 5,\n \"status\": \"{{oneOf (array 'active' 'warning' 'locked')}}\",\n \"status_message\": \" \",\n \"uuid\": \"b6fr89dbf6d9156cace5f3c78dc9851d957381ef\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object keyed on account with an excerpt of the current user account data.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4a19a617-2c83-4c82-8a74-30b80fce6e98", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3ff4015e-871d-4ad3-896c-1690571cfe9e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "669d3dc9-2237-4c58-ab03-7478eb9f27d3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "98a39db3-667a-40eb-9c9c-b917d235232f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "202b3464-baf5-4197-aacf-9ebf63e468e6", "documentation": "List All SSH Keys", "method": "get", "endpoint": "v2/account/keys", "responses": [ { "uuid": "85c53328-fb71-4dec-82d1-1e6c3951eb72", "body": "{\n \"links\": {},\n \"meta\": {\n \"total\": 1\n },\n \"ssh_keys\": [\n {\n \"fingerprint\": \"3b:16:e4:bf:8b:00:8b:b8:59:8c:a9:d3:f0:19:fa:45\",\n \"id\": 289794,\n \"name\": \"Other Public Key\",\n \"public_key\": \"ssh-rsa ANOTHEREXAMPLEaC1yc2EAAAADAQABAAAAQQDDHr/jh2Jy4yALcK4JyWbVkPRaWmhck3IgCoeOO3z1e2dBowLh64QAM+Qb72pxekALga2oi4GvT+TlWNhzPH4V anotherexample\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with the key set to `ssh_keys`. The value is an array of `ssh_key` objects, each of which contains the standard `ssh_key` attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "50e9fb9a-8e2d-47d4-82ec-231bfdcb9e34", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b7d5e754-6de3-4a60-bb80-ae96d226ca9f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d9d79cae-f3e5-46b8-b277-dba6c0938e6a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e121bb2d-9b3c-4172-9880-921ab40778e0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aade28b1-223e-469e-a9cf-d876a37a55f9", "documentation": "Create a New SSH Key", "method": "post", "endpoint": "v2/account/keys", "responses": [ { "uuid": "343abc82-5afd-45b5-b1d9-5a8316f74c82", "body": "{\n \"ssh_key\": {\n \"fingerprint\": \"3b:16:bf:e4:8b:00:8b:b8:59:8c:a9:d3:f0:19:45:fa\",\n \"id\": 512189,\n \"name\": \"My SSH Public Key\",\n \"public_key\": \"ssh-rsa AEXAMPLEaC1yc2EAAAADAQABAAAAQQDDHr/jh2Jy4yALcK4JyWbVkPRaWmhck3IgCoeOO3z1e2dBowLh64QAM+Qb72pxekALga2oi4GvT+TlWNhzPH4V example\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The response body will be a JSON object with a key set to `ssh_key`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5a3eea4e-4a78-4343-a51b-1b650e25269f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0d140b61-e3b6-45d9-bb38-2f5d2c4f8e17", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2b7558a1-a354-4976-b9d5-45298a8ebbd3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fe8a6e5f-2389-415f-b47e-3db0e15fe457", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2ad15c89-2f17-412f-878f-add74be99e89", "documentation": "Delete an SSH Key", "method": "delete", "endpoint": "v2/account/keys/:ssh_key_identifier", "responses": [ { "uuid": "0154e6b0-ce40-42b7-9dd4-96ca7afcc349", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "90bd6d22-4408-41be-a7d7-a6f7a9e3777d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3ac97406-8b22-41cf-b4e6-ed0ec3e46c35", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "345791e1-ae49-403a-b3ea-9786f782c25e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "26ce304a-b5ca-4a98-9353-6f6df9f69b31", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6623f828-efaa-4bcf-8821-7c4008c036ec", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66907bfa-d5da-49c5-b82a-f6b65457bccc", "documentation": "Retrieve an Existing SSH Key", "method": "get", "endpoint": "v2/account/keys/:ssh_key_identifier", "responses": [ { "uuid": "dd340c4b-7d8f-49b4-a6a9-b232f69ae8e3", "body": "{\n \"ssh_key\": {\n \"fingerprint\": \"3b:16:bf:e4:8b:00:8b:b8:59:8c:a9:d3:f0:19:45:fa\",\n \"id\": 512189,\n \"name\": \"My SSH Public Key\",\n \"public_key\": \"ssh-rsa AEXAMPLEaC1yc2EAAAADAQABAAAAQQDDHr/jh2Jy4yALcK4JyWbVkPRaWmhck3IgCoeOO3z1e2dBowLh64QAM+Qb72pxekALga2oi4GvT+TlWNhzPH4V example\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with the key set to `ssh_key`. The value is an `ssh_key` object containing the standard `ssh_key` attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "91f56563-a8a7-4ca4-b8f1-e06c51a227cf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "11878d23-dd16-43fd-9c28-1941f80e4c44", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "85ea6db2-ddf6-4904-9003-72252a42867e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bac83b65-0987-437d-bc89-cf73cf835f7f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "db32c2f1-a09f-4d25-88a1-f06f4a8312b8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "47e6d571-c2a1-4fb9-84d7-0c95e0d92c19", "documentation": "Update an SSH Key's Name", "method": "put", "endpoint": "v2/account/keys/:ssh_key_identifier", "responses": [ { "uuid": "e6e72571-dad8-4d9a-a63c-6d4cd8f8d37a", "body": "{\n \"ssh_key\": {\n \"fingerprint\": \"3b:16:bf:e4:8b:00:8b:b8:59:8c:a9:d3:f0:19:45:fa\",\n \"id\": 512189,\n \"name\": \"My SSH Public Key\",\n \"public_key\": \"ssh-rsa AEXAMPLEaC1yc2EAAAADAQABAAAAQQDDHr/jh2Jy4yALcK4JyWbVkPRaWmhck3IgCoeOO3z1e2dBowLh64QAM+Qb72pxekALga2oi4GvT+TlWNhzPH4V example\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with the key set to `ssh_key`. The value is an `ssh_key` object containing the standard `ssh_key` attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5e4c8e31-109f-4035-a321-e19a551add24", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "67d46e61-ef0b-4dd7-9050-14c1b87a6a10", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dfcf5731-43ad-4d2a-9972-1275a11fd70c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ec205523-bb86-4f14-8edd-64635b840983", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2394bc04-ba41-4b88-8868-ee70c092e82c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4015808b-6d7b-41f4-a92a-f9e6cdf2b10e", "documentation": "List All Actions", "method": "get", "endpoint": "v2/actions", "responses": [ { "uuid": "0a6737f7-4854-44d2-a8db-4f595202d07a", "body": "{\n \"actions\": [\n {\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The results will be returned as a JSON object with an actions key. This will be set to an array filled with action objects containing the standard action attributes", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3488a302-be5c-45ac-9f20-6bf0ceaa24b3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c0175976-bbdd-4726-a77e-c085409eb5fc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "86831ff6-2beb-4c97-b63a-126571bb4a6a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7b64168d-088f-4240-81ea-72967b84bbf8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "356211d0-dbb2-414c-a081-274a4d1b9a60", "documentation": "Retrieve an Existing Action", "method": "get", "endpoint": "v2/actions/:action_id", "responses": [ { "uuid": "c1ae8a40-113d-4040-8f76-87b792b084fa", "body": "{\n \"action\": {\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The result will be a JSON object with an action key. This will be set to an action object containing the standard action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "015bb3c6-717d-4f84-857f-e7e6a26345d3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ff52a636-3d9a-4dbe-8596-25283a6fb4f8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "87a89363-73fa-4784-bdf4-12722f079a68", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "37ad0e36-20a8-4579-8f1d-fe910f6f08b6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "85d84c1f-1264-4cb0-8ab7-f7e509ec18b4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "117a5015-f539-408d-845f-4c76a4967426", "documentation": "List All Apps", "method": "get", "endpoint": "v2/apps", "responses": [ { "uuid": "b73cb6d7-6175-474d-81a8-c032541e612b", "body": "{\n \"apps\": [\n {\n \"active_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"created_at\": \"2020-11-19T20:27:18Z\",\n \"default_ingress\": \"digitalocean.com\",\n \"domains\": [\n {\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'CONFIGURING' 'ACTIVE' 'ERROR')}}\",\n \"progress\": {\n \"steps\": [\n {}\n ]\n },\n \"spec\": {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n }\n ],\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"in_progress_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"last_deployment_created_at\": \"2020-11-19T20:27:18Z\",\n \"live_domain\": \"live_domain\",\n \"live_url\": \"google.com\",\n \"live_url_base\": \"digitalocean.com\",\n \"owner_uuid\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"region\": {\n \"continent\": \"europe\",\n \"data_centers\": [\n \"ams\"\n ],\n \"default\": true,\n \"disabled\": true,\n \"flag\": \"ams\",\n \"label\": \"ams\",\n \"reason\": \"to crowded\",\n \"slug\": \"basic\"\n },\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-12-01T00:42:16Z\"\n }\n ],\n \"links\": {\n \"pages\": {\n \"pages\": {\n \"first\": \"https://api.digitalocean.com/v2/account/keys?page=1\",\n \"prev\": \"https://api.digitalocean.com/v2/account/keys?page=2\"\n }\n }\n },\n \"meta\": {\n \"total\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a `apps` key. This is list of object `apps`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fd4899df-19bd-486c-a43c-a265359e1b38", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1bcbc856-9cb6-4b3d-8e56-55e8ad385fbc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fb524ec5-2732-4edd-b5aa-41afb328e029", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "76c8388d-b228-4559-ade8-e34cb928c2bc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "18b2f81d-97a7-4f99-a6ec-be90ebf4f038", "documentation": "Create a New App", "method": "post", "endpoint": "v2/apps", "responses": [ { "uuid": "fc592a93-937c-47ff-ad93-7fe51deaaae0", "body": "{\n \"app\": {\n \"active_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"created_at\": \"2020-11-19T20:27:18Z\",\n \"default_ingress\": \"digitalocean.com\",\n \"domains\": [\n {\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'CONFIGURING' 'ACTIVE' 'ERROR')}}\",\n \"progress\": {\n \"steps\": [\n {}\n ]\n },\n \"spec\": {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n }\n ],\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"in_progress_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"last_deployment_created_at\": \"2020-11-19T20:27:18Z\",\n \"live_domain\": \"live_domain\",\n \"live_url\": \"google.com\",\n \"live_url_base\": \"digitalocean.com\",\n \"owner_uuid\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"region\": {\n \"continent\": \"europe\",\n \"data_centers\": [\n \"ams\"\n ],\n \"default\": true,\n \"disabled\": true,\n \"flag\": \"ams\",\n \"label\": \"ams\",\n \"reason\": \"to crowded\",\n \"slug\": \"basic\"\n },\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-12-01T00:42:16Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON of a `spec` object.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "601c6abf-1e8d-4380-8d68-07dabd01089f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "88447e66-825a-410d-a5f4-03e5a71f0b86", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd2785df-d08e-46c1-ad5d-208f27ab0daf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "21fc4552-e8d9-402d-985a-ba7bd75889fe", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1f588606-cc02-49b4-947d-0188f56ec4ff", "documentation": "Propose an App Spec", "method": "post", "endpoint": "v2/apps/propose", "responses": [ { "uuid": "a168d275-f60d-409a-be69-0df0f70d019b", "body": "{\n \"app_cost\": 5,\n \"app_is_static\": true,\n \"app_name_available\": true,\n \"app_name_suggestion\": \"newName\",\n \"app_tier_downgrade_cost\": 17,\n \"existing_static_apps\": \"2\",\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "da534846-68c0-490e-9dcc-c476f0edc811", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5076280a-6f96-4330-8d42-949d6cedebcd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "eb4968f9-84b2-4d74-8ed7-906acd8d837a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "18def08a-c1ee-4391-906f-836d334427df", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "62e0c651-b8d4-4f0e-aacd-78b46318c3de", "documentation": "List App Regions", "method": "get", "endpoint": "v2/apps/regions", "responses": [ { "uuid": "fc3054bf-b93a-4fa7-9531-ce807fce68a3", "body": "{\n \"regions\": [\n {\n \"continent\": \"europe\",\n \"data_centers\": [\n \"ams\"\n ],\n \"default\": true,\n \"disabled\": true,\n \"flag\": \"ams\",\n \"label\": \"ams\",\n \"reason\": \"to crowded\",\n \"slug\": \"basic\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with key `regions`", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d09afa18-41ac-4a62-8961-406847ac9e2f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ae067cad-929b-4d70-8d28-d60d25eb7b0c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e58c24e5-c84b-4da5-ab5a-0d488fdd40da", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0494f805-df64-4f38-86f9-d2c8540e977f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ad296d8f-262f-45e9-aa22-1df3f1024c4e", "documentation": "List App Tiers", "method": "get", "endpoint": "v2/apps/tiers", "responses": [ { "uuid": "e3cc8d2d-92b4-4cfe-a8b0-48da8aeb4833", "body": "{\n \"tiers\": [\n {\n \"build_seconds\": \"233\",\n \"egress_bandwidth_bytes\": \"123\",\n \"name\": \"test\",\n \"slug\": \"test\",\n \"storage_bytes\": \"10000000\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a `tiers` key. This will be a list of all app tiers", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "47531c73-c460-4410-96c7-c45883c56181", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8c6da052-183f-4f77-9095-e850d8ab0fbc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "48c1c86d-b611-4f1f-90d6-6314bab149ca", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f5a37d69-b335-4ffa-9bc8-18b4311a31ef", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d1bdad43-de49-4f37-8a06-02c9daa88af8", "documentation": "List Instance Sizes", "method": "get", "endpoint": "v2/apps/tiers/instance_sizes", "responses": [ { "uuid": "3355aa6e-a3e3-4b04-8280-246096f4d7fa", "body": "{\n \"discount_percent\": 2.32,\n \"instance_sizes\": [\n {\n \"cpu_type\": \"{{oneOf (array 'UNSPECIFIED' 'SHARED' 'DEDICATED')}}\",\n \"cpus\": \"3\",\n \"memory_bytes\": \"1048\",\n \"name\": \"name\",\n \"slug\": \"basic\",\n \"tier_downgrade_to\": \"basic\",\n \"tier_slug\": \"basic\",\n \"tier_upgrade_to\": \"basic\",\n \"usd_per_month\": \"23\",\n \"usd_per_second\": \"0.00000001232\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON with key `instance_sizes`", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "036691cb-29f8-400f-ba49-c86f6c005ab2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fc9176e2-0f47-4065-bbd6-abe84367fe49", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9ce9836c-3923-4f21-86b4-2c3f3045cde2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "87fc657b-efeb-4651-bddc-608f2c6d733b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8d3e4757-8522-491b-99b5-42492d189446", "documentation": "Retrieve an Instance Size", "method": "get", "endpoint": "v2/apps/tiers/instance_sizes/:slug", "responses": [ { "uuid": "daae7a50-5ec8-49d9-8b0b-66704d0cdccd", "body": "{\n \"instance_size\": {\n \"cpu_type\": \"{{oneOf (array 'UNSPECIFIED' 'SHARED' 'DEDICATED')}}\",\n \"cpus\": \"3\",\n \"memory_bytes\": \"1048\",\n \"name\": \"name\",\n \"slug\": \"basic\",\n \"tier_downgrade_to\": \"basic\",\n \"tier_slug\": \"basic\",\n \"tier_upgrade_to\": \"basic\",\n \"usd_per_month\": \"23\",\n \"usd_per_second\": \"0.00000001232\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON with key `instance_size`", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c736e68e-56f0-4a86-816e-8c19b12d9a0a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6bba92cc-eea7-4fc0-8dfa-c24f9e03a6fc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a6c0ebfb-bb77-4e29-a9d1-d59be169614a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "329e7521-54cf-4e35-b3a4-df6856c266b9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "599c4211-9ea4-4fd9-ba1e-a3f7a84c0483", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b8d1ddda-7d3b-404a-8ae9-e534f7920d30", "documentation": "Retrieve an App Tier", "method": "get", "endpoint": "v2/apps/tiers/:slug", "responses": [ { "uuid": "6492e8be-477b-4c4f-bfdf-68c7c72c6ffb", "body": "{\n \"tier\": {\n \"build_seconds\": \"233\",\n \"egress_bandwidth_bytes\": \"123\",\n \"name\": \"test\",\n \"slug\": \"test\",\n \"storage_bytes\": \"10000000\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON with the key `tier`", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "76969be1-a40c-4024-a820-0dd973c09da4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9c593fed-6c73-42d0-ac08-0915a74f73f5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7a6900ce-d5d9-4e33-a16e-5a6dc8e5ca39", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1dba032a-92f6-47cb-82c0-dacbd445b4f5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d2b82977-4440-413c-b4ae-0448917deeb1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d3db878b-b8ae-47e5-9b3f-eeadb87018a6", "documentation": "List App Deployments", "method": "get", "endpoint": "v2/apps/:app_id/deployments", "responses": [ { "uuid": "d0fd12df-4245-4bca-9fbd-ab20f1d3f258", "body": "{\n \"deployments\": [\n {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n }\n ],\n \"links\": {\n \"pages\": {\n \"pages\": {\n \"first\": \"https://api.digitalocean.com/v2/account/keys?page=1\",\n \"prev\": \"https://api.digitalocean.com/v2/account/keys?page=2\"\n }\n }\n },\n \"meta\": {\n \"total\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a `deployments` key. This will be a list of all app deployments", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ab5f2d00-6200-446f-a963-b67a3209d7ee", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "721dc1f1-b5ab-47ba-9c5f-5d8982758b41", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8985fdec-61ce-45a2-bba9-4d378a0e83af", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7acc1d9f-f769-4109-92d5-721c84c9820f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "73c23f1a-d78f-44ed-ba80-fbf99a25414a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dcde6d9e-6c16-4fe9-b4b0-51da374ffb8a", "documentation": "Create an App Deployment", "method": "post", "endpoint": "v2/apps/:app_id/deployments", "responses": [ { "uuid": "49683574-e1cb-4c25-a87c-b6438d33dd47", "body": "{\n \"deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a `deployment` key.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "aa9a8d56-0869-4d06-99b4-af6e5adda497", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "47e27789-649a-4171-b936-c6449e04aa8b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "22c999fd-dfee-4042-806a-1d2317b32b11", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a628a535-b7aa-44e8-82f3-8f8885e2bb36", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8e0ac14c-e471-438b-a1dd-00bd94b331bf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5355dc31-4925-4465-bc56-e0024206bbdb", "documentation": "Retrieve an App Deployment", "method": "get", "endpoint": "v2/apps/:app_id/deployments/:deployment_id", "responses": [ { "uuid": "5963b43c-b188-4e29-8cd3-a0d3e8b1d77e", "body": "{\n \"deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON of the requested deployment", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d3900b40-5cd6-42f6-850b-2bbffa39317a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a11c16e1-faf4-4ac2-b98a-a7a6fbb3aebd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5bfb4cbb-3fb2-4bca-8f74-8ad6807d1d28", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "513815b8-17c0-4dd1-99ac-8939d8f407dd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "974c6693-dab8-47d0-9b77-7b6a6f20a2b5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8bdeba50-1c10-49ad-8e51-7660db435eb4", "documentation": "Cancel a Deployment", "method": "post", "endpoint": "v2/apps/:app_id/deployments/:deployment_id/cancel", "responses": [ { "uuid": "2527298e-f8e6-4a5b-ad6d-ba9762765ff7", "body": "{\n \"deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON the `deployment` that was just cancelled.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c156a305-ee18-4a0c-9483-c05415cc31b3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "72853519-21fd-4922-9cb2-ac08e6d44a8f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0da89ed3-bd17-48f7-aa27-d867a3d344b1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ed43bc9a-9a40-4d7a-8fef-4bb48a834b6b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "102ec65d-3246-4ef1-a023-264174774b66", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8aa704af-6e09-42c3-b53d-2aaf837d0dbe", "documentation": "Retrieve Deployment Logs", "method": "get", "endpoint": "v2/apps/:app_id/deployments/:deployment_id/components/:component_name/logs", "responses": [ { "uuid": "6c7d5b0c-1ad2-40db-bebb-713e090d0feb", "body": "{\n \"historic_urls\": [\n \"https://logs/build.log\"\n ],\n \"live_url\": \"ws://logs/build\"\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with urls that point to archived logs", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f88c5c5c-d3ca-480e-ba12-5706ca9e6052", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "82489477-a9fc-4cf6-9486-4e9fe965d1ad", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0d805ec5-30aa-4f60-8b23-753c1fa0ffc8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2c37ef29-344d-40fb-b849-18856862e73b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1e649f1f-99f6-4cfb-8745-d4a4db8eebc4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6dc16473-91c7-4abf-a8db-996c642bfa12", "documentation": "Retrieve Aggregate Deployment Logs", "method": "get", "endpoint": "v2/apps/:app_id/deployments/:deployment_id/logs", "responses": [ { "uuid": "7ff24090-bccb-497f-87f3-60a887cf451f", "body": "{\n \"historic_urls\": [\n \"https://logs/build.log\"\n ],\n \"live_url\": \"ws://logs/build\"\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with urls that point to archived logs", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "82bd238a-dbb3-4739-bdc5-bcd15e8a3e56", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "031440eb-63ae-46f1-92cd-36b633805ab8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "17541bb8-bf9c-4464-9894-232552b9d2c5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "41b895ec-ae75-4868-9905-69063bb24526", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c8a426ee-9759-4845-85f9-41e87906183b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "08780e01-c2cd-4aab-b1e9-d217f5edbdef", "documentation": "Delete an App", "method": "delete", "endpoint": "v2/apps/:id", "responses": [ { "uuid": "8be78ea4-05e4-4453-bbce-d96d5be4044e", "body": "{\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\"\n}", "latency": 0, "statusCode": 200, "label": "the ID of the app deleted.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "25bf6ca3-b5b8-4176-a6f9-0736b94ff643", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d07fdedb-35cc-486d-abc6-91ea039cff7d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "22288332-9ffa-466a-ab48-c759fe284a41", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1f9a439d-d527-4492-b20c-558373dbe285", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b81292e0-add9-4f61-89a5-ff761e015034", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3217ace9-636f-42b9-bbe0-8345a06cb63e", "documentation": "Retrieve an Existing App", "method": "get", "endpoint": "v2/apps/:id", "responses": [ { "uuid": "e2690ab4-ea0a-46c6-81f2-ee1315160d6f", "body": "{\n \"app\": {\n \"active_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"created_at\": \"2020-11-19T20:27:18Z\",\n \"default_ingress\": \"digitalocean.com\",\n \"domains\": [\n {\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'CONFIGURING' 'ACTIVE' 'ERROR')}}\",\n \"progress\": {\n \"steps\": [\n {}\n ]\n },\n \"spec\": {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n }\n ],\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"in_progress_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"last_deployment_created_at\": \"2020-11-19T20:27:18Z\",\n \"live_domain\": \"live_domain\",\n \"live_url\": \"google.com\",\n \"live_url_base\": \"digitalocean.com\",\n \"owner_uuid\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"region\": {\n \"continent\": \"europe\",\n \"data_centers\": [\n \"ams\"\n ],\n \"default\": true,\n \"disabled\": true,\n \"flag\": \"ams\",\n \"label\": \"ams\",\n \"reason\": \"to crowded\",\n \"slug\": \"basic\"\n },\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-12-01T00:42:16Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON with key `app`", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f01d815f-8c49-4acc-ab84-9d8ae8e39b5f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f5cecbb1-f5b1-4d9d-85f5-3e3b0ebe5c36", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "25d3cac0-6f4f-456d-b437-60af7b196471", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e3fa5768-5a26-4f11-b6ec-f1ba60f867a5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0759ea63-d4cf-4ef4-baeb-aa40c0f7f5b9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "108c9cb0-c51b-41f7-a46c-103826454324", "documentation": "Update an App", "method": "put", "endpoint": "v2/apps/:id", "responses": [ { "uuid": "d77e2a18-8a65-4de3-a54a-2d231797cb9a", "body": "{\n \"app\": {\n \"active_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"created_at\": \"2020-11-19T20:27:18Z\",\n \"default_ingress\": \"digitalocean.com\",\n \"domains\": [\n {\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'CONFIGURING' 'ACTIVE' 'ERROR')}}\",\n \"progress\": {\n \"steps\": [\n {}\n ]\n },\n \"spec\": {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n }\n ],\n \"id\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"in_progress_deployment\": {\n \"cause\": \"commit 9a4df0b pushed to github/digitalocean/sample-golang\",\n \"cloned_from\": \"3aa4d20e-5527-4c00-b496-601fbd22520a\",\n \"created_at\": \"2020-07-28T18:00:00Z\",\n \"id\": \"b6bdf840-2854-4f87-a36c-5f231c617c84\",\n \"jobs\": [\n {\n \"name\": \"migrate-db\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"phase\": \"{{oneOf (array 'UNKNOWN' 'PENDING_BUILD' 'BUILDING' 'PENDING_DEPLOY' 'DEPLOYING' 'ACTIVE' 'SUPERSEDED' 'ERROR' 'CANCELED')}}\",\n \"phase_last_updated_at\": \"0001-01-01T00:00:00Z\",\n \"progress\": {\n \"error_steps\": 3,\n \"pending_steps\": 2,\n \"running_steps\": 2,\n \"steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"success_steps\": 4,\n \"summary_steps\": [\n {\n \"component_name\": \"component\",\n \"ended_at\": \"2020-11-19T20:27:18Z\",\n \"message_base\": \"Building service\",\n \"name\": \"example_step\",\n \"reason\": {\n \"code\": \"Title of Error\",\n \"message\": \"This is an error\"\n },\n \"started_at\": \"2020-11-19T20:27:18Z\",\n \"status\": \"{{oneOf (array 'UNKNOWN' 'PENDING' 'RUNNING' 'ERROR' 'SUCCESS')}}\",\n \"steps\": [\n {}\n ]\n }\n ],\n \"total_steps\": 5\n },\n \"services\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"static_sites\": [\n {\n \"name\": \"web\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ],\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-07-28T18:00:00Z\",\n \"workers\": [\n {\n \"name\": \"queue-runner\",\n \"source_commit_hash\": \"54d4a727f457231062439895000d45437c7bb405\"\n }\n ]\n },\n \"last_deployment_created_at\": \"2020-11-19T20:27:18Z\",\n \"live_domain\": \"live_domain\",\n \"live_url\": \"google.com\",\n \"live_url_base\": \"digitalocean.com\",\n \"owner_uuid\": \"4f6c71e2-1e90-4762-9fee-6cc4a0a9f2cf\",\n \"region\": {\n \"continent\": \"europe\",\n \"data_centers\": [\n \"ams\"\n ],\n \"default\": true,\n \"disabled\": true,\n \"flag\": \"ams\",\n \"label\": \"ams\",\n \"reason\": \"to crowded\",\n \"slug\": \"basic\"\n },\n \"spec\": {\n \"databases\": [\n {\n \"cluster_name\": \"cluster_name\",\n \"db_name\": \"my_db\",\n \"db_user\": \"superuser\",\n \"engine\": \"{{oneOf (array 'UNSET' 'MYSQL' 'PG' 'REDIS')}}\",\n \"name\": \"prod-db\",\n \"production\": true,\n \"version\": \"12\"\n }\n ],\n \"domains\": [\n {\n \"domain\": \"app.example.com\",\n \"type\": \"{{oneOf (array 'UNSPECIFIED' 'DEFAULT' 'PRIMARY' 'ALIAS')}}\",\n \"wildcard\": true,\n \"zone\": \"example.com\"\n }\n ],\n \"jobs\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"name\": \"web-app-01\",\n \"region\": \"{{oneOf (array 'ams' 'nyc' 'fra')}}\",\n \"services\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"static_sites\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ],\n \"workers\": [\n {\n \"build_command\": \"npm run build\",\n \"dockerfile_path\": \"path/to/Dockerfile\",\n \"environment_slug\": \"node-js\",\n \"envs\": [\n {\n \"key\": \"BASE_URL\",\n \"scope\": \"{{oneOf (array 'UNSET' 'RUN_TIME' 'BUILD_TIME' 'RUN_AND_BUILD_TIME')}}\",\n \"type\": \"{{oneOf (array 'GENERAL' 'SECRET')}}\",\n \"value\": \"http://example.com\"\n }\n ],\n \"git\": {\n \"branch\": \"main\",\n \"repo_clone_url\": \"https://github.com/digitalocean/sample-golang.git\"\n },\n \"github\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"gitlab\": {\n \"branch\": \"main\",\n \"deploy_on_push\": true,\n \"repo\": \"digitalocean/sample-golang\"\n },\n \"image\": {\n \"registry\": \"registry.hub.docker.com\",\n \"registry_type\": \"{{oneOf (array 'DOCKER_HUB' 'DOCR')}}\",\n \"repository\": \"origin/master\",\n \"tag\": \"latest\"\n },\n \"name\": \"api\",\n \"run_command\": \"bin/api\",\n \"source_dir\": \"path/to/dir\"\n }\n ]\n },\n \"tier_slug\": \"basic\",\n \"updated_at\": \"2020-12-01T00:42:16Z\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object of the updated `app`", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f864d523-adeb-4f1e-bac4-21e6a0f1700d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3bb1aeee-93c8-437a-9638-285241dd9394", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "730afe54-e786-43f2-9c0a-6a20d6b8224d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "aff0e1c6-2c5a-4c28-9ab5-ddc7be61aa76", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4489df30-4d15-415e-a4e8-8e364e7cfd6b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d100b9e9-2f1f-456b-bc20-4dcadedf1f8e", "documentation": "List All CDN Endpoints", "method": "get", "endpoint": "v2/cdn/endpoints", "responses": [ { "uuid": "0d9d0cd7-8e49-4299-bfb6-6c0a525e5a35", "body": "{\n \"endpoints\": [\n {\n \"certificate_id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"created_at\": \"2018-07-19T15:04:16Z\",\n \"custom_domain\": \"static.example.com\",\n \"endpoint\": \"static-images.nyc3.cdn.digitaloceanspaces.com\",\n \"id\": \"19f06b6a-3ace-4315-b086-499a0e521b76\",\n \"origin\": \"static-images.nyc3.digitaloceanspaces.com\",\n \"ttl\": 3600\n }\n ],\n \"links\": {},\n \"meta\": {\n \"total\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "The result will be a JSON object with an `endpoints` key. This will be set to an array of endpoint objects, each of which will contain the standard CDN endpoint attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a4c2f6c2-af1e-44d2-89cb-322c931174f4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "50f9ae2e-1362-49fe-8129-b9f1b2930687", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "282fb0ab-01cd-428f-a8d7-185057237104", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0b42c745-7bd2-4fd6-a66f-d2f3c12e7699", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4e692deb-8ba0-4c9e-839a-918383ad744f", "documentation": "Create a New CDN Endpoint", "method": "post", "endpoint": "v2/cdn/endpoints", "responses": [ { "uuid": "956e3724-c4eb-4b44-b7df-a42deac3bfd6", "body": "{\n \"endpoint\": {\n \"certificate_id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"created_at\": \"2018-03-21T16:02:37Z\",\n \"custom_domain\": \"static.example.com\",\n \"endpoint\": \"static-images.nyc3.cdn.digitaloceanspaces.com\",\n \"id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"origin\": \"static-images.nyc3.digitaloceanspaces.com\",\n \"ttl\": \"{{oneOf (array '60' '600' '3600' '86400' '604800')}}\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with an `endpoint` key. This will be set to an object containing the standard CDN endpoint attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c4866770-9f6b-4250-98fb-f1aede87421f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c48e78cd-a01a-4f48-91b2-7a3eb07c6104", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "55e329b1-f565-4f34-bd12-1e2bf0ef2d88", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "67e2e419-cd28-413d-a370-8e89bae12089", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "54e384a6-7ac8-44de-b22f-1fe445a174d6", "documentation": "Delete a CDN Endpoint", "method": "delete", "endpoint": "v2/cdn/endpoints/:cdn_id", "responses": [ { "uuid": "739c93de-6948-474f-8cfd-83e5156adc99", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "77693b83-e683-45cf-8cad-e3b26bc10c5f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4fe00754-ada5-4d26-8123-a80f7da9363d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "36e38f5b-f593-4942-a368-b4598f1988f0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c7389d7f-f532-4c50-90eb-c42df40f9b7b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f5543bd5-2466-4229-b5ae-643d935eea7d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4487fc49-09f6-4679-9476-4cdd59268208", "documentation": "Retrieve an Existing CDN Endpoint", "method": "get", "endpoint": "v2/cdn/endpoints/:cdn_id", "responses": [ { "uuid": "adcb3911-1bff-4044-8971-8886b3362a2c", "body": "{\n \"endpoint\": {\n \"certificate_id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"created_at\": \"2018-03-21T16:02:37Z\",\n \"custom_domain\": \"static.example.com\",\n \"endpoint\": \"static-images.nyc3.cdn.digitaloceanspaces.com\",\n \"id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"origin\": \"static-images.nyc3.digitaloceanspaces.com\",\n \"ttl\": \"{{oneOf (array '60' '600' '3600' '86400' '604800')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with an `endpoint` key. This will be set to an object containing the standard CDN endpoint attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "55b22008-1f95-4e1f-abf4-307fa5efbf13", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "303dedda-4216-435e-b8ac-316c99831eda", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7c433967-b6da-45a7-8195-80485b3c17e9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "27a732ab-5aad-4a6d-873b-619c046820ec", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8af3762b-ff12-4f4b-9482-3053529d6eab", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b99cd9ae-f148-4057-9fd4-1a177f75e12f", "documentation": "Update a CDN Endpoint", "method": "put", "endpoint": "v2/cdn/endpoints/:cdn_id", "responses": [ { "uuid": "aedfa9df-762a-4682-8d2e-c814a06f4610", "body": "{\n \"endpoint\": {\n \"certificate_id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"created_at\": \"2018-03-21T16:02:37Z\",\n \"custom_domain\": \"static.example.com\",\n \"endpoint\": \"static-images.nyc3.cdn.digitaloceanspaces.com\",\n \"id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"origin\": \"static-images.nyc3.digitaloceanspaces.com\",\n \"ttl\": \"{{oneOf (array '60' '600' '3600' '86400' '604800')}}\"\n }\n}", "latency": 0, "statusCode": 202, "label": "The response will be a JSON object with an `endpoint` key. This will be set to an object containing the standard CDN endpoint attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "44c2aedc-f2c2-4246-b01f-8b370235e82d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "052c7f50-9b16-496c-a186-fd42266b963d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3eccdf40-f4b3-4f9b-83d7-e584b3465a2f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0b169763-e595-4aa0-9d7e-4a824318cff3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f9167175-d7fa-4eb0-a8b3-bd1b7fae829c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d467f924-b7e0-4f10-91c1-abcc189a08a9", "documentation": "Purge the Cache for an Existing CDN Endpoint", "method": "delete", "endpoint": "v2/cdn/endpoints/:cdn_id/cache", "responses": [ { "uuid": "77f67364-4f32-4744-a68d-61863a97bedf", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "38899380-5d69-4bea-bb3b-1bf1ab97ac6c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "397e09f0-eeb5-486a-88e1-d2e8487ec4aa", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "32eefc7f-21cc-4fc8-9925-765263469dbc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d3d1a6c0-09a2-4edf-a94a-69e43e44cb34", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dc382bbf-fd59-4d66-8b4f-6323d012aaf9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "561b38a2-5044-42b3-8468-254d8f3a55b3", "documentation": "List All Certificates", "method": "get", "endpoint": "v2/certificates", "responses": [ { "uuid": "2e7e6398-42e3-4c01-8a05-677ccf0d5072", "body": "{\n \"certificates\": [\n {\n \"created_at\": \"2017-02-08T16:02:37Z\",\n \"dns_names\": [\n \"www.example.com\",\n \"example.com\"\n ],\n \"id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"name\": \"web-cert-01\",\n \"not_after\": \"2017-02-22T00:23:00Z\",\n \"sha1_fingerprint\": \"dfcc9f57d86bf58e321c2c6c31c7a971be244ac7\",\n \"state\": \"{{oneOf (array 'pending' 'verified' 'error')}}\",\n \"type\": \"{{oneOf (array 'custom' 'lets_encrypt')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The result will be a JSON object with a `certificates` key. This will be set to an array of certificate objects, each of which will contain the standard certificate attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "64d9be6a-ad25-40ec-ac7b-3808440a329b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "79d70860-addc-473d-b899-e4bac0ff9c24", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c3ab3126-edc8-49e5-a588-5c1445cbd576", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "27f9bec2-0d8a-4704-ab0a-c62ba138704a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "20d1ef6d-1e4e-43c9-887a-5673344bc473", "documentation": "Create a New Certificate", "method": "post", "endpoint": "v2/certificates", "responses": [ { "uuid": "c22f4469-baca-4532-9113-039393aa0aa6", "body": "{\n \"certificate\": {\n \"created_at\": \"2017-02-08T16:02:37Z\",\n \"dns_names\": [\n \"www.example.com\",\n \"example.com\"\n ],\n \"id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"name\": \"web-cert-01\",\n \"not_after\": \"2017-02-22T00:23:00Z\",\n \"sha1_fingerprint\": \"dfcc9f57d86bf58e321c2c6c31c7a971be244ac7\",\n \"state\": \"{{oneOf (array 'pending' 'verified' 'error')}}\",\n \"type\": \"{{oneOf (array 'custom' 'lets_encrypt')}}\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with a key called `certificate`. The value of this will be an object that contains the standard attributes associated with a certificate.\nWhen using Let's Encrypt, the initial value of the certificate's `state` attribute will be `pending`. When the certificate has been successfully issued by Let's Encrypt, this will transition to `verified` and be ready for use.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "df4fe76b-71f6-4444-bef1-e8a2c6745eee", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c666c2ba-75a5-48be-99b8-2ce423b364eb", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b5f5db8e-ea1c-4814-ae6c-09e7852785c6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a71b98e3-99cf-4e1a-9ada-f4967b52f7d2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "afc11054-29b0-4304-bcb4-f1a3e89d2032", "documentation": "Delete a Certificate", "method": "delete", "endpoint": "v2/certificates/:certificate_id", "responses": [ { "uuid": "68650b98-1dc3-4861-93f8-af3e7ef6b48b", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9f4ba074-9b35-4e80-9c6b-331cb20211db", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "95ab0145-8b6b-4e9f-8c19-942e3baf9fe3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "85c470a4-7af5-462a-8984-fab719299ddc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "72682b45-b3c0-4121-a9b6-c9bbaab2241c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "55cbd974-90ec-4bd3-87ca-21f78b65eb52", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "615309de-e027-410f-ad59-eefd6ee590b1", "documentation": "Retrieve an Existing Certificate", "method": "get", "endpoint": "v2/certificates/:certificate_id", "responses": [ { "uuid": "1a2c18b9-214b-49b8-90bc-b1c9678c3498", "body": "{\n \"certificate\": {\n \"created_at\": \"2017-02-08T16:02:37Z\",\n \"dns_names\": [\n \"www.example.com\",\n \"example.com\"\n ],\n \"id\": \"892071a0-bb95-49bc-8021-3afd67a210bf\",\n \"name\": \"web-cert-01\",\n \"not_after\": \"2017-02-22T00:23:00Z\",\n \"sha1_fingerprint\": \"dfcc9f57d86bf58e321c2c6c31c7a971be244ac7\",\n \"state\": \"{{oneOf (array 'pending' 'verified' 'error')}}\",\n \"type\": \"{{oneOf (array 'custom' 'lets_encrypt')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a `certificate` key. This will be set to an object containing the standard certificate attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "326a49cc-49cb-44df-8140-95a68849f06f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f40a4642-da17-4ecb-931f-af6ce48dad8b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2f6d600a-a642-4b73-8f64-4970f36ebf40", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a940a7aa-1c22-4939-ad35-78bac68df068", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e12bf0c5-0cfc-473e-ad9f-f23121708719", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e1fb17bc-9f45-4b06-b454-a0cab7e72b62", "documentation": "Get Customer Balance", "method": "get", "endpoint": "v2/customers/my/balance", "responses": [ { "uuid": "6eaf0a95-e6fe-48c0-84b1-1d394c097ecb", "body": "{\n \"account_balance\": \"12.23\",\n \"generated_at\": \"2019-07-09T15:01:12Z\",\n \"month_to_date_balance\": \"23.44\",\n \"month_to_date_usage\": \"11.21\"\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object that contains the following attributes", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d6d4519d-fdee-47d5-befc-0b0107f71385", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8f691a1b-8147-469e-b2fb-fe14290dba69", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5d22ebd6-657d-4fe7-8b8a-d1fff0eff28c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "47f71bbf-0a1e-488c-8e70-5cac4bc3c62e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fd6fb9a2-8299-45fc-bb90-a7c203ffe6bd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "40a8da85-f3f1-48ac-92b3-dfa0e5dcde28", "documentation": "List Billing History", "method": "get", "endpoint": "v2/customers/my/billing_history", "responses": [ { "uuid": "0c3a712b-0ae8-484b-a548-8b955689d237", "body": "{\n \"billing_history\": [\n {\n \"amount\": \"12.34\",\n \"date\": \"2018-06-01T08:44:38Z\",\n \"description\": \"Invoice for May 2018\",\n \"invoice_id\": \"123\",\n \"invoice_uuid\": \"example-uuid\",\n \"type\": \"Invoice\"\n },\n {\n \"amount\": \"-12.34\",\n \"date\": \"2018-06-02T08:44:38Z\",\n \"description\": \"Payment (MC 2018)\",\n \"type\": \"Payment\"\n }\n ],\n \"links\": {\n \"pages\": {\n \"last\": \"https://api.digitalocean.com/v2/customers/my/billing_history?page=3&per_page=2\",\n \"next\": \"https://api.digitalocean.com/v2/customers/my/billing_history?page=2&per_page=2\"\n }\n },\n \"meta\": {\n \"total\": 5\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object that contains the following attributes", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "890a9b18-2c47-4d3c-8479-b6ca331cf6f0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7e815515-8079-4ab3-9fd9-a2291756db5d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "522e0072-7c80-4ce0-a0a6-87b750b74fb3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ac84b3e8-ff33-46a5-9872-2c0436b09a75", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a5749a59-cb69-427d-aba1-f6119f830121", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b61a6f4c-e20e-4051-94d8-97d6ea344d12", "documentation": "List All Invoices", "method": "get", "endpoint": "v2/customers/my/invoices", "responses": [ { "uuid": "58937f9a-f1c8-4055-b1e9-83bb0d624e0c", "body": "{\n \"invoice_preview\": {\n \"amount\": \"34.56\",\n \"invoice_period\": \"2020-02\",\n \"invoice_uuid\": \"1afe95e6-0958-4eb0-8d9a-9c5060d3ef03\",\n \"updated_at\": \"2020-02-23T06:31:50Z\"\n },\n \"invoices\": [\n {\n \"amount\": \"12.34\",\n \"invoice_period\": \"2019-12\",\n \"invoice_uuid\": \"22737513-0ea7-4206-8ceb-98a575af7681\"\n },\n {\n \"amount\": \"23.45\",\n \"invoice_period\": \"2019-11\",\n \"invoice_uuid\": \"fdabb512-6faf-443c-ba2e-665452332a9e\"\n }\n ],\n \"links\": {\n \"pages\": {\n \"last\": \"https://api.digitalocean.com/v2/customers/my/invoices?page=35&per_page=2\",\n \"next\": \"https://api.digitalocean.com/v2/customers/my/invoices?page=2&per_page=2\"\n }\n },\n \"meta\": {\n \"total\": 70\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object contains that contains a list of invoices under the `invoices` key, and the invoice preview under the `invoice_preview` key.\nEach element contains the invoice summary attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d0e1d887-2312-4025-99b0-5199d597e17c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "71888344-2f67-4066-a088-72c6fba2bb20", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "27530c40-3b8f-4d77-bf24-6d4250d94789", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1aaba97e-aae9-4588-9b06-4d442d76c1a9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "775ac4df-3291-417a-8b53-699d1b617aee", "documentation": "Retrieve an Invoice by UUID", "method": "get", "endpoint": "v2/customers/my/invoices/:invoice_uuid", "responses": [ { "uuid": "a2a71c24-41c9-43af-b4e4-b1c3c8bf405c", "body": "{\n \"invoice_items\": [\n {\n \"amount\": \"12.34\",\n \"description\": \"a56e086a317d8410c8b4cfd1f4dc9f82\",\n \"duration\": \"744\",\n \"duration_unit\": \"Hours\",\n \"end_time\": \"2020-02-01T00:00:00Z\",\n \"group_description\": \"my-doks-cluster\",\n \"product\": \"Kubernetes Clusters\",\n \"resource_uuid\": \"711157cb-37c8-4817-b371-44fa3504a39c\",\n \"start_time\": \"2020-01-01T00:00:00Z\"\n },\n {\n \"amount\": \"34.45\",\n \"description\": \"Spaces ($5/mo 250GB storage & 1TB bandwidth)\",\n \"duration\": \"744\",\n \"duration_unit\": \"Hours\",\n \"end_time\": \"2020-02-01T00:00:00Z\",\n \"product\": \"Spaces Subscription\",\n \"start_time\": \"2020-01-01T00:00:00Z\"\n }\n ],\n \"links\": {\n \"pages\": {\n \"last\": \"https://api.digitalocean.com/v2/customers/my/invoices/22737513-0ea7-4206-8ceb-98a575af7681?page=3&per_page=2\",\n \"next\": \"https://api.digitalocean.com/v2/customers/my/invoices/22737513-0ea7-4206-8ceb-98a575af7681?page=2&per_page=2\"\n }\n },\n \"meta\": {\n \"total\": 6\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `invoice_items`. This will be set to an array of invoice item objects.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "75896ca2-8ff7-4d8f-8350-dfa65190800a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7c62626b-3177-4bda-a18c-2a7123585a70", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bd395f2d-dcc8-4ca9-9828-1d617a7f5bfa", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1cc444ea-1ccb-411c-9fc0-a5e06892c351", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f8b760b0-08cd-4a6b-9c08-2e46fc14e07f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b0fc1bb1-5a60-49d3-9c4a-392a2288ebf6", "documentation": "Retrieve an Invoice CSV by UUID", "method": "get", "endpoint": "v2/customers/my/invoices/:invoice_uuid/csv", "responses": [ { "uuid": "d5f71b0a-58b5-40f7-83d9-cc68ab404c74", "body": "", "latency": 0, "statusCode": 200, "label": "The response will be a CSV file.", "headers": [ { "key": "Content-Type", "value": "text/csv" }, { "key": "content-disposition", "value": "" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7e30017c-05ee-4e1f-b6b1-ae8dc16001cd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5ad4a9b0-833c-4714-a120-10fdf843f3e2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e369e9b7-7644-4a9f-b96c-ef1c2f2e5c34", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e19e44f-c3ff-46eb-9a8a-3bae55460553", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "19923e1e-acbe-47a7-bb78-6c9b38553260", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "03d78a83-a5eb-4480-9676-58e06fafcedd", "documentation": "Retrieve an Invoice PDF by UUID", "method": "get", "endpoint": "v2/customers/my/invoices/:invoice_uuid/pdf", "responses": [ { "uuid": "cc8a19f5-dc6a-4e83-bda2-19f01519f710", "body": "", "latency": 0, "statusCode": 200, "label": "The response will be a PDF file.", "headers": [ { "key": "Content-Type", "value": "application/pdf" }, { "key": "content-disposition", "value": "" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cf390f4d-2259-4e9d-b7fa-a31e05ed6df7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0fa71efb-c87d-40f0-aab3-bb357b11d7dd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "db6322d5-1f71-4d64-9e8b-23263def482e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dfda803f-bd81-4a28-8c29-0259fec33b16", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1658d416-b727-4004-a3f2-80cee7b81f90", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8e82577b-a282-4f97-9972-1b74e494d278", "documentation": "Retrieve an Invoice Summary by UUID", "method": "get", "endpoint": "v2/customers/my/invoices/:invoice_uuid/summary", "responses": [ { "uuid": "ed4f7138-eb39-470c-a0b8-9b1a1fa72d52", "body": "{\n \"amount\": \"27.13\",\n \"billing_period\": \"2020-01\",\n \"credits_and_adjustments\": \"\",\n \"invoice_uuid\": \"22737513-0ea7-4206-8ceb-98a575af7681\",\n \"overages\": \"\",\n \"product_charges\": \"\",\n \"taxes\": \"\",\n \"user_billing_address\": \"\",\n \"user_company\": \"DigitalOcean\",\n \"user_email\": \"sammy@digitalocean.com\",\n \"user_name\": \"Sammy Shark\"\n}", "latency": 0, "statusCode": 200, "label": "To retrieve a summary for an invoice, send a GET request to `/v2/customers/my/invoices/$INVOICE_UUID/summary`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "12357764-c675-4250-9085-fadcc90de22f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e474c26-3ae3-4bd9-b84e-60f0dbcf0c79", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fae249f8-0cea-472b-b95a-43fe439a3e91", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "94fe6655-6213-4991-9cef-d2e5cdc5a934", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f4eee35d-4d17-4034-a3b9-3aa2f5b25608", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "677efa5b-1384-4621-a871-dcdb9d4427b3", "documentation": "List All Database Clusters", "method": "get", "endpoint": "v2/databases", "responses": [ { "uuid": "ed521db2-81dd-4c7d-8f06-c33fc385805b", "body": "{\n \"databases\": [\n {\n \"connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"created_at\": \"2019-01-11T18:37:36Z\",\n \"db_names\": [\n \"doadmin\"\n ],\n \"engine\": \"{{oneOf (array 'pg' 'mysql' 'redis' 'mongodb')}}\",\n \"id\": \"9cc10173-e9ea-4176-9dbc-a4cee4c4ff30\",\n \"maintenance_window\": {\n \"day\": \"tuesday\",\n \"description\": [\n \"Update TimescaleDB to version 1.2.1\",\n \"Upgrade to PostgreSQL 11.2 and 10.7 bugfix releases\"\n ],\n \"hour\": \"14:00\",\n \"pending\": true\n },\n \"name\": \"backend\",\n \"num_nodes\": 2,\n \"private_connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"private_network_uuid\": \"d455e75d-4858-4eec-8c95-da2f0a5f93a7\",\n \"region\": \"nyc3\",\n \"size\": \"db-s-2vcpu-4gb\",\n \"status\": \"{{oneOf (array 'creating' 'online' 'resizing' 'migrating' 'forking')}}\",\n \"tags\": [\n \"production\"\n ],\n \"users\": [\n {\n \"mysql_settings\": {\n \"auth_plugin\": \"{{oneOf (array 'mysql_native_password' 'caching_sha2_password')}}\"\n },\n \"name\": \"app-01\",\n \"password\": \"jge5lfxtzhx42iff\",\n \"role\": \"{{oneOf (array 'primary' 'normal')}}\"\n }\n ],\n \"version\": \"10\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `databases`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "1f26757f-78b1-4c5e-a509-ecb59bdb94fc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b09a9728-8f66-4712-b2b2-f64e90dae799", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cb5c841d-df89-4d28-ad8a-ce62218f2776", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e6797377-4a5d-476d-9657-9e18d8709a4d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1a6a6b86-d778-40ef-9a11-3d4c5d99798a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f9517bb3-598b-4867-b0f2-10d83e4b8fbb", "documentation": "Create a New Database Cluster", "method": "post", "endpoint": "v2/databases", "responses": [ { "uuid": "98681574-30ca-4e76-aca2-1f59640f0994", "body": "{\n \"database\": {\n \"connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"created_at\": \"2019-01-11T18:37:36Z\",\n \"db_names\": [\n \"doadmin\"\n ],\n \"engine\": \"{{oneOf (array 'pg' 'mysql' 'redis' 'mongodb')}}\",\n \"id\": \"9cc10173-e9ea-4176-9dbc-a4cee4c4ff30\",\n \"maintenance_window\": {\n \"day\": \"tuesday\",\n \"description\": [\n \"Update TimescaleDB to version 1.2.1\",\n \"Upgrade to PostgreSQL 11.2 and 10.7 bugfix releases\"\n ],\n \"hour\": \"14:00\",\n \"pending\": true\n },\n \"name\": \"backend\",\n \"num_nodes\": 2,\n \"private_connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"private_network_uuid\": \"d455e75d-4858-4eec-8c95-da2f0a5f93a7\",\n \"region\": \"nyc3\",\n \"size\": \"db-s-2vcpu-4gb\",\n \"status\": \"{{oneOf (array 'creating' 'online' 'resizing' 'migrating' 'forking')}}\",\n \"tags\": [\n \"production\"\n ],\n \"users\": [\n {\n \"mysql_settings\": {\n \"auth_plugin\": \"{{oneOf (array 'mysql_native_password' 'caching_sha2_password')}}\"\n },\n \"name\": \"app-01\",\n \"password\": \"jge5lfxtzhx42iff\",\n \"role\": \"{{oneOf (array 'primary' 'normal')}}\"\n }\n ],\n \"version\": \"10\"\n }\n}", "latency": 0, "statusCode": 201, "label": "A JSON object with a key of `database`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ff690cb2-85da-4ef1-a032-1618fafb284d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2f60911a-0807-40b6-b8aa-69ed292bd52a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "60180f73-7ead-4acd-8961-88ab241c5fd1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c77e2271-9562-4d5f-a4b1-2f5a831411d8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0ac384ad-8ccd-48d9-a685-c6a7b5e8b08b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fcb192e1-4580-4253-a4af-ca4525812eaf", "documentation": "Destroy a Database Cluster", "method": "delete", "endpoint": "v2/databases/:database_cluster_uuid", "responses": [ { "uuid": "398ae4f2-8fad-4258-ae0f-bfa1ed8bdea9", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "188a011a-c54c-4e17-be97-33eb79d2eb8a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "af037427-3e97-4f20-9849-26ae90cb4f7b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "23565e9c-925e-4f25-807e-c25f14ded630", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fa6a7b9f-c5ff-4a30-8f24-000a85458bcf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b7436faf-5bf2-4c12-bbad-5240db6763e7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b4646158-238e-42e2-98a3-bf24afdc51c7", "documentation": "Retrieve an Existing Database Cluster", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid", "responses": [ { "uuid": "a2b1d07f-50ac-4c51-aa2a-e2ef187953ea", "body": "{\n \"database\": {\n \"connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"created_at\": \"2019-01-11T18:37:36Z\",\n \"db_names\": [\n \"doadmin\"\n ],\n \"engine\": \"{{oneOf (array 'pg' 'mysql' 'redis' 'mongodb')}}\",\n \"id\": \"9cc10173-e9ea-4176-9dbc-a4cee4c4ff30\",\n \"maintenance_window\": {\n \"day\": \"tuesday\",\n \"description\": [\n \"Update TimescaleDB to version 1.2.1\",\n \"Upgrade to PostgreSQL 11.2 and 10.7 bugfix releases\"\n ],\n \"hour\": \"14:00\",\n \"pending\": true\n },\n \"name\": \"backend\",\n \"num_nodes\": 2,\n \"private_connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"private_network_uuid\": \"d455e75d-4858-4eec-8c95-da2f0a5f93a7\",\n \"region\": \"nyc3\",\n \"size\": \"db-s-2vcpu-4gb\",\n \"status\": \"{{oneOf (array 'creating' 'online' 'resizing' 'migrating' 'forking')}}\",\n \"tags\": [\n \"production\"\n ],\n \"users\": [\n {\n \"mysql_settings\": {\n \"auth_plugin\": \"{{oneOf (array 'mysql_native_password' 'caching_sha2_password')}}\"\n },\n \"name\": \"app-01\",\n \"password\": \"jge5lfxtzhx42iff\",\n \"role\": \"{{oneOf (array 'primary' 'normal')}}\"\n }\n ],\n \"version\": \"10\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `database`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fe21b5c2-0f7a-4c2c-9c8d-563cdf259ddb", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5288aba1-d2ba-4d44-8a73-04048d847984", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "561d899a-1d50-4c6e-ad58-47ee473e2f5c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3f9ae4f8-9735-4ca4-9e86-37c72a01fca9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "572e7ac8-2333-4d45-a7bc-ede0b3dcdc91", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "13a4590f-2fd1-416d-a7ae-cc4e50d93642", "documentation": "List Backups for a Database Cluster", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/backups", "responses": [ { "uuid": "8f5a6461-11e3-435c-a74c-112b14590325", "body": "{\n \"backups\": [\n {\n \"created_at\": \"2019-01-31T19:25:22Z\",\n \"size_gigabytes\": 0.03364864\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `database_backups`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dc3db3e1-6df0-42b7-90ca-1d69c943d0a6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c3437eeb-938d-414e-9918-57fc516be3b6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "57c6379f-66b1-4b2e-8171-def61cbc2368", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9394a346-fef3-4669-b592-64f0ecd45885", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "59363635-d367-49dd-9187-8888eb0092b2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7405ab13-4266-46dc-ac8f-ebef2fe28403", "documentation": "List All Databases", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/dbs", "responses": [ { "uuid": "56725ba1-93ea-458d-8cb2-e6cdbc46e7ea", "body": "{\n \"dbs\": [\n {\n \"name\": \"alpha\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `databases`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "201b556f-8938-4fd4-b18f-f13c3ca0963f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "93046e2d-34e1-464a-9fa5-8c3c71ebb609", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bc56ad5d-ff1c-4b43-9502-d92d31292341", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c7eac957-b874-439f-be9b-21283e6b6d74", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cb9fc7ab-5343-4237-b34b-858e815294dd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0f58b895-ae6b-4c61-b58b-4b597388f3fe", "documentation": "Add a New Database", "method": "post", "endpoint": "v2/databases/:database_cluster_uuid/dbs", "responses": [ { "uuid": "c252cdfc-dbd1-4506-8b9d-181f64448a5b", "body": "{\n \"db\": {\n \"name\": \"alpha\"\n }\n}", "latency": 0, "statusCode": 201, "label": "A JSON object with a key of `db`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b2c824c0-9d9d-412f-927b-38e3a170848b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f328fa43-63f6-4e0f-bb9f-6717bf826009", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "76d6b05f-0531-4e36-973a-81fa69235164", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b9d2f71d-a76c-4149-9943-816ce47a5294", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5c7dcc39-2b1e-4d26-b2ab-d17e3e46e027", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a8ca655f-d0b5-44b2-a0df-a623d730d124", "documentation": "Delete a Database", "method": "delete", "endpoint": "v2/databases/:database_cluster_uuid/dbs/:database_name", "responses": [ { "uuid": "8904fdaf-3d44-4217-833e-4f6a278ce6ef", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "88b47cba-9304-40c7-b9d8-1b8ddff7f56c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8c3358e3-04c4-480b-82fa-1d010d0ae58c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9ea4d0a9-f263-42cd-a9d0-0822e6173afe", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "499065e8-a1c7-429a-8b2c-83206a106f77", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "df0b1091-72ac-46d5-86ea-cbf742ae3a8f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5c90d409-833d-4891-a0d9-84bdca6fcbde", "documentation": "Retrieve an Existing Database", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/dbs/:database_name", "responses": [ { "uuid": "038cc42f-1fb3-4ead-85c3-d4c15615553b", "body": "{\n \"db\": {\n \"name\": \"alpha\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `db`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "50347483-e59e-4a66-baa6-4de1e3d067df", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2f4a9a37-377c-4b34-a672-c88e97a07ab8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "59e3b4d4-c842-4828-94d8-942c5dc8d00c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e0f45d7-1a9b-4f7c-9be3-8dd7e6f273f6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0e288399-4ec6-4e87-a05b-c54b17ad9d3b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e3ef884d-2835-4e24-9e76-ed1b1d036962", "documentation": "Retrieve the Eviction Policy for a Redis Cluster", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/eviction_policy", "responses": [ { "uuid": "a79e9ead-2f37-4b38-99cd-c72b93fdf583", "body": "{\n \"eviction_policy\": \"{{oneOf (array 'noeviction' 'allkeys_lru' 'allkeys_random' 'volatile_lru' 'volatile_random' 'volatile_ttl')}}\"\n}", "latency": 0, "statusCode": 200, "label": "A JSON string with a key of `eviction_policy`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "894809b1-ff94-4264-93b0-15db5eef113d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "083e09ea-6a08-4734-9bcd-5e0453a78810", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "eeb4e994-761e-4c7f-8494-939fae02f8d0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "78ece2dc-71e8-4c50-b6af-ab081d2206c8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e228add-3579-47e8-ba9f-9a19a559e715", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b8c82e52-7ae8-484b-ab92-cdf220551997", "documentation": "Configure the Eviction Policy for a Redis Cluster", "method": "put", "endpoint": "v2/databases/:database_cluster_uuid/eviction_policy", "responses": [ { "uuid": "da54ec0f-8732-4b80-896e-d9d8e97d697f", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cb3fb90b-725a-4666-9382-c8f071e09c77", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "23bda72d-4ed0-4f1b-98bc-8290bb60203c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3eede7df-d360-4c50-aea2-5efb28839730", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "502a8d70-01e2-48ff-b460-bf04dc44f0c8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8fcc97db-4285-405b-8b28-c9887eb12608", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "de48afd1-36fc-45d0-a657-920bc6e07539", "documentation": "List Firewall Rules (Trusted Sources) for a Database Cluster", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/firewall", "responses": [ { "uuid": "c83eb927-641d-40d1-a28f-c0c04e2fce81", "body": "{\n \"rules\": [\n {\n \"cluster_uuid\": \"9cc10173-e9ea-4176-9dbc-a4cee4c4ff30\",\n \"created_at\": \"2019-01-11T18:37:36Z\",\n \"type\": \"{{oneOf (array 'droplet' 'k8s' 'ip_addr' 'tag' 'app')}}\",\n \"uuid\": \"79f26d28-ea8a-41f2-8ad8-8cfcdd020095\",\n \"value\": \"ff2a6c52-5a44-4b63-b99c-0e98e7a63d61\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `rules`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "4f253d5f-8a1c-49db-beae-f9ce72bea272", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "61ccd9ef-7251-481d-af2c-ecbdd080d670", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "03df453f-b8ac-4c13-933f-aaecebc59bf0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "227b1bc5-6ae3-4d71-bdea-b7334d0a28b7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1a26d975-5483-420a-805c-917364047398", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "97162eb4-c89b-4b01-968c-b910f9349238", "documentation": "Update Firewall Rules (Trusted Sources) for a Database", "method": "put", "endpoint": "v2/databases/:database_cluster_uuid/firewall", "responses": [ { "uuid": "b2ea00b9-c9b3-4933-844f-074eccca91ba", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6ed3f226-aab0-41f9-a3bd-88f7797fa6ae", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cc1f8896-f321-467a-be6e-7bd08c89fd81", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "97b3aa50-ff05-4ac2-baaa-7aff483c6cb6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9684a97c-813a-4d17-9d45-e35e40b06f82", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8f479d2f-7857-4dd6-821e-fe85810bb309", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3792c6d1-263b-4d7b-87ed-89c5781f7e1c", "documentation": "Configure a Database Cluster's Maintenance Window", "method": "put", "endpoint": "v2/databases/:database_cluster_uuid/maintenance", "responses": [ { "uuid": "cb6703e5-554e-4752-961f-17934153f644", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "08d0bd07-796e-4e64-89ef-8f4d5ed1a01d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dd9fafb9-8bf1-4062-af8e-b3d79b9113dc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "eb5c4a9c-4778-48a7-b3ab-9a4e090c2c01", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "14b099ad-f4ed-4137-85b1-df7fc54ec0ac", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d833dd81-2967-4cc5-a67d-2d9c62f83648", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "27a79e94-b592-47c9-9cb2-f16022c9b343", "documentation": "Migrate a Database Cluster to a New Region", "method": "put", "endpoint": "v2/databases/:database_cluster_uuid/migrate", "responses": [ { "uuid": "25dffd53-4419-4b1c-a1d1-c10099111f58", "body": "", "latency": 0, "statusCode": 202, "label": "The does not indicate the success or failure of any operation, just that the request has been accepted for processing.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "65f41933-2898-4baa-9e42-d243711eee9a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "95ba6eeb-2bf5-42fc-9370-ed5db76bb502", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "afc766dd-a99a-469b-b474-a284abb65be2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "10c3f375-6eea-4064-b6c1-dd83399c3aab", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b2c66252-710e-43b7-8288-fa02bf421040", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "61386139-12b7-4b6b-9e95-9c37776e86df", "documentation": "Retrieve the Status of an Online Migration", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/online-migration", "responses": [ { "uuid": "790154e0-e9c6-496f-9e3a-f826ab5c311d", "body": "{\n \"created_at\": \"2020-10-29T15:57:38Z\",\n \"id\": \"77b28fc8-19ff-11eb-8c9c-c68e24557488\",\n \"status\": \"running\"\n}", "latency": 0, "statusCode": 200, "label": "A JSON object.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "329c7384-509d-41f5-bf31-b4df21c0ac45", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8d0491d6-20a8-4335-a443-6f8fbfd04ae8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b12d6a1b-a91c-4414-8c73-8712727288d1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "174e3995-eb9a-4147-91c1-d22a2f1e2f59", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a08490f7-98cf-4f62-93b5-4365a825f929", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd4a9673-f673-4263-b175-3db9cca879a9", "documentation": "Start an Online Migration", "method": "put", "endpoint": "v2/databases/:database_cluster_uuid/online-migration", "responses": [ { "uuid": "5fdcde87-567d-4632-95ec-3fa9ca6b8a33", "body": "{\n \"created_at\": \"2020-10-29T15:57:38Z\",\n \"id\": \"77b28fc8-19ff-11eb-8c9c-c68e24557488\",\n \"status\": \"running\"\n}", "latency": 0, "statusCode": 200, "label": "A JSON object.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "705d8065-f8d6-4857-988b-9356f7e49030", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c75037ee-c8c1-477b-abea-1b62f954c5c5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c9f43302-08fd-4239-857e-40edf083e9ef", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6e02973a-81b8-474c-a412-23f9c1fd15d0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1a1e1943-274f-4f59-9681-4704ec84fb7f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "93e22e15-c07d-4faf-be3b-016ef8a3f680", "documentation": "Stop an Online Migration", "method": "delete", "endpoint": "v2/databases/:database_cluster_uuid/online-migration/:migration_id", "responses": [ { "uuid": "25044255-a96e-4a66-a3c2-30b59ea56ba0", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ca4c5630-9a70-439d-ae9a-c30ba412b53b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9e4a9748-5bb0-4250-8cd7-edb8be66e9be", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0eb07865-226b-496f-b1ed-4906105684d3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cfad1489-7ea7-49c9-9238-0afaab5d77cc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "58c39247-29b7-4bb5-95a6-3f864f55e842", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2d0eb414-bb16-4988-a56f-22a7f603d96a", "documentation": "List Connection Pools (PostgreSQL)", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/pools", "responses": [ { "uuid": "bf95677f-7328-453b-90b9-61232ad6bc6d", "body": "{\n \"pools\": [\n {\n \"connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"db\": \"defaultdb\",\n \"mode\": \"transaction\",\n \"name\": \"backend-pool\",\n \"private_connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"size\": 10,\n \"user\": \"doadmin\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `pools`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0a565e7b-4fbe-4013-a6b4-cb89700d67a5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a4d9c7a5-f300-4896-a758-0752e5e045ee", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "52167f0c-0765-4480-858a-eae26dce4801", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "441b7047-bec5-4f0b-b094-91aee0e0853d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "37793af6-92bc-4033-8b61-ff14cdb674d5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "70abee43-0213-4889-abb5-edf6773d7697", "documentation": "Add a New Connection Pool (PostgreSQL)", "method": "post", "endpoint": "v2/databases/:database_cluster_uuid/pools", "responses": [ { "uuid": "0de80419-c080-48d4-9b8c-4957ecfc60e7", "body": "{\n \"pool\": {\n \"connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"db\": \"defaultdb\",\n \"mode\": \"transaction\",\n \"name\": \"backend-pool\",\n \"private_connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"size\": 10,\n \"user\": \"doadmin\"\n }\n}", "latency": 0, "statusCode": 201, "label": "A JSON object with a key of `pool`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0bfd6341-86fb-4589-a379-44f7a05dd457", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4d881ddc-ce2a-411d-aa3b-961ac900ee51", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bf45ab8b-baea-4d43-a32a-c73268112bd1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e287a005-d74b-4283-989d-cb221c56b53a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7e35ec7b-c6d3-479d-846e-acececeac6b7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aa698ba4-1a4d-4bcc-871a-bdccba180b7e", "documentation": "Delete a Connection Pool (PostgreSQL)", "method": "delete", "endpoint": "v2/databases/:database_cluster_uuid/pools/:pool_name", "responses": [ { "uuid": "1ebcf467-4942-4e1f-8b7c-72821383248b", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "51ff32bf-393a-4f45-9cb7-8517ce4d8dff", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bd3e83e7-4cda-4eb5-8223-db421a4b0cde", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b7263216-d69f-477e-8fd4-122f30fe29d2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7784a734-4abc-40ed-ad12-c89617f407bd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f9c75a91-f239-4e67-b8ee-2ce09ed77295", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "cd68fa32-51aa-46fa-b7b7-c50130a2f8cc", "documentation": "Retrieve Existing Connection Pool (PostgreSQL)", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/pools/:pool_name", "responses": [ { "uuid": "b0f0aa0a-dd7f-44c5-8587-ef93bf347345", "body": "{\n \"pool\": {\n \"connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"db\": \"defaultdb\",\n \"mode\": \"transaction\",\n \"name\": \"backend-pool\",\n \"private_connection\": {\n \"database\": \"defaultdb\",\n \"host\": \"backend-do-user-19081923-0.db.ondigitalocean.com\",\n \"password\": \"wv78n3zpz42xezdk\",\n \"port\": 25060,\n \"ssl\": true,\n \"uri\": \"postgres://doadmin:wv78n3zpz42xezdk@backend-do-user-19081923-0.db.ondigitalocean.com:25060/defaultdb?sslmode=require\",\n \"user\": \"doadmin\"\n },\n \"size\": 10,\n \"user\": \"doadmin\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `pool`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "980e923d-a2dd-49de-83a8-5f9271812af8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "173fae36-67c7-4a46-8747-e908296353d8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "25f2086d-dc3f-43d9-834b-42c5195e77fc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "41eed6cf-f68c-452f-aea0-be216932abbe", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7bb49e66-56d2-43bc-b18f-344a22c34045", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9c5f1f33-a895-4f68-aba8-3554a16dd36d", "documentation": "List All Read-only Replicas", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/replicas", "responses": [ { "uuid": "fd573576-2c23-40cf-a852-4dfa2206db13", "body": "{\n \"replicas\": [\n {\n \"connection\": \"\",\n \"created_at\": \"2019-01-11T18:37:36Z\",\n \"name\": \"read-nyc3-01\",\n \"private_connection\": \"\",\n \"private_network_uuid\": \"9423cbad-9211-442f-820b-ef6915e99b5f\",\n \"region\": \"nyc3\",\n \"size\": \"db-s-2vcpu-4gb\",\n \"status\": \"{{oneOf (array 'creating' 'online' 'resizing' 'migrating' 'forking')}}\",\n \"tags\": [\n \"production\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `replicas`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fc76d568-e599-4492-b7c3-d31b026b8465", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "597bb680-33ce-4217-91ab-9b40286855c0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f6796945-d241-4675-a369-b70f8f420ec7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a921dee9-8f7a-4a22-83d3-c03642d8106c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b114d24f-daef-4685-8aaf-1912e2d971ff", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "23d2ab47-577d-4654-a447-e7ff9bdd6089", "documentation": "Create a Read-only Replica", "method": "post", "endpoint": "v2/databases/:database_cluster_uuid/replicas", "responses": [ { "uuid": "da652628-7dd4-4eff-bb91-e2d226de8985", "body": "{\n \"replica\": {\n \"connection\": \"\",\n \"created_at\": \"2019-01-11T18:37:36Z\",\n \"name\": \"read-nyc3-01\",\n \"private_connection\": \"\",\n \"private_network_uuid\": \"9423cbad-9211-442f-820b-ef6915e99b5f\",\n \"region\": \"nyc3\",\n \"size\": \"db-s-2vcpu-4gb\",\n \"status\": \"{{oneOf (array 'creating' 'online' 'resizing' 'migrating' 'forking')}}\",\n \"tags\": [\n \"production\"\n ]\n }\n}", "latency": 0, "statusCode": 201, "label": "A JSON object with a key of `replica`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "29ceb675-44a6-4beb-8df8-6d34afb1abd9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fdd1e3d3-f1fa-45a1-b731-6bd09bbe9bab", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2241bec5-72f6-44b1-b534-287dd842345a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3f4c8e0f-ca77-4999-bacc-35dcbe29f224", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ac143a96-f167-4f3b-b78c-901adee0def2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fe770526-6bed-417e-838c-5324c84e6cd7", "documentation": "Destroy a Read-only Replica", "method": "delete", "endpoint": "v2/databases/:database_cluster_uuid/replicas/:replica_name", "responses": [ { "uuid": "36514f73-19f0-4eb7-b521-767df96f43ce", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "be49ee31-2d48-4581-b785-de6964e64728", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8fec8e70-bbf5-47cc-8d4d-db25b722715d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "990c6686-fc0b-47e1-8b1e-793ed5d904eb", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "65416929-7982-4759-a7f7-d06981fd2ab1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "69287458-1080-4a62-b513-400db5730722", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "96c1deda-2ac7-42cd-b15a-a5984426c3a7", "documentation": "Retrieve an Existing Read-only Replica", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/replicas/:replica_name", "responses": [ { "uuid": "0c44c05d-1d65-46cd-9d3c-a37f13e2bf94", "body": "{\n \"replica\": {\n \"connection\": \"\",\n \"created_at\": \"2019-01-11T18:37:36Z\",\n \"name\": \"read-nyc3-01\",\n \"private_connection\": \"\",\n \"private_network_uuid\": \"9423cbad-9211-442f-820b-ef6915e99b5f\",\n \"region\": \"nyc3\",\n \"size\": \"db-s-2vcpu-4gb\",\n \"status\": \"{{oneOf (array 'creating' 'online' 'resizing' 'migrating' 'forking')}}\",\n \"tags\": [\n \"production\"\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `replica`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "577caa6b-3906-4269-b508-d69f8c700af0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "72d586dc-8db7-47ed-a23f-3332e34f4f9e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8725c5f2-b4de-4116-9626-5e9e39717d2d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "41f96896-6821-4ae7-a357-53545a5d5ec3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "955dba80-e7fc-444d-9f45-a4c9ab944399", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4c564452-4f92-4c24-8ec8-709f0d0e71b5", "documentation": "Resize a Database Cluster", "method": "put", "endpoint": "v2/databases/:database_cluster_uuid/resize", "responses": [ { "uuid": "99082fbe-9235-4325-9856-4b37737ba972", "body": "", "latency": 0, "statusCode": 202, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "59ff784a-578b-4aad-b0b8-c5b46338f4bd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0be010df-dc87-46f4-8c12-ea71a3a3335f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6e58b227-7370-49fd-8d79-a30781eeee7c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "39111da0-6504-41c0-9db2-f3bbb053cd0d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3e390ae6-e7fe-412a-a4e6-4264386bf638", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a4a18b1a-ffb4-4b48-a7ba-767dce411801", "documentation": "Retrieve the SQL Modes for a MySQL Cluster", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/sql_mode", "responses": [ { "uuid": "392e18ea-b9a5-477c-9430-eebd95aead1c", "body": "{\n \"sql_mode\": \"ANSI,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_DATE,NO_ZERO_IN_DATE,STRICT_ALL_TABLES\"\n}", "latency": 0, "statusCode": 200, "label": "A JSON string with a key of `sql_mode`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ce42e6be-00e0-4018-8890-a11e42d56d88", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c2ad7485-db40-4076-9002-6a064a5ddb84", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "63a32668-338f-4712-a06c-449889316f0f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2c910a56-1bf2-460d-a79a-6719907020d3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2b6c431b-ae1c-4d68-a688-2e29d565d1b9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d05b8298-6bc7-44bb-bac6-999de82c1f0a", "documentation": "Update SQL Mode for a Cluster", "method": "put", "endpoint": "v2/databases/:database_cluster_uuid/sql_mode", "responses": [ { "uuid": "c6d3c4b3-4bd9-4305-8587-04d32fe12581", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "26a5bb62-1399-467e-8f37-2061644afd9e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "051bfc7f-433d-4b49-9cc7-17718893f159", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5083b4a9-65e0-4a75-ae56-5fbbbc6fd8ab", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4fc21bac-8e28-40fb-afce-bb6a74b2fa0d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bc8ebfb4-f59b-4946-a715-bdfb9b5d0579", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9d25adef-6b29-44e6-b195-9288faf3b00f", "documentation": "List all Database Users", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/users", "responses": [ { "uuid": "849b3bec-162a-420e-910b-f5a34935b254", "body": "{\n \"users\": [\n {\n \"mysql_settings\": {\n \"auth_plugin\": \"{{oneOf (array 'mysql_native_password' 'caching_sha2_password')}}\"\n },\n \"name\": \"app-01\",\n \"password\": \"jge5lfxtzhx42iff\",\n \"role\": \"{{oneOf (array 'primary' 'normal')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `users`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b81c71e1-8ef0-4840-93b8-7d54e4166941", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c937688f-f450-423d-8fe3-9a7654f4d817", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5496454a-22bc-4240-8b90-876fa755d6de", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0f96b06e-f734-45f1-ab0b-d8cbd2b1eff7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "415cbf4b-ebac-48e9-8dbc-0bba9008b158", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "35561e83-83dd-46e8-a459-23ac77171ee2", "documentation": "Add a Database User", "method": "post", "endpoint": "v2/databases/:database_cluster_uuid/users", "responses": [ { "uuid": "db5672e4-2d0f-488f-bcf5-24683028c29e", "body": "{\n \"user\": {\n \"mysql_settings\": {\n \"auth_plugin\": \"{{oneOf (array 'mysql_native_password' 'caching_sha2_password')}}\"\n },\n \"name\": \"app-01\",\n \"password\": \"jge5lfxtzhx42iff\",\n \"role\": \"{{oneOf (array 'primary' 'normal')}}\"\n }\n}", "latency": 0, "statusCode": 201, "label": "A JSON object with a key of `user`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3a10de4c-d034-485c-8b5e-caad563934bd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b5f87571-6523-4d3c-9159-ddae27c8b13c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8e506554-403d-4275-8322-65daa0ddff78", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "496566d3-9f31-43ac-ade5-079e2aa69e76", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f08ed2fd-4232-467c-b4c3-65c093dc7d5b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "aea9d6f9-2eb9-4ec1-a056-8d3fc4ca3262", "documentation": "Remove a Database User", "method": "delete", "endpoint": "v2/databases/:database_cluster_uuid/users/:username", "responses": [ { "uuid": "f214fd3f-7608-4c3c-827a-13f8dd853eaf", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7119d9a9-a24e-4e39-9ac5-5aa66ec0c023", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bf9af70c-ffe8-48ac-8771-6f99cc6c3e51", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "48328fe9-9dcd-4b8a-bf72-4c862e0cd2d8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "46078c75-a211-462f-a281-6d5e65d5d0e3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9771dc71-a870-4b49-9466-248b8f1f4546", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fd5d86be-ddfa-4519-856b-bde73a911e8d", "documentation": "Retrieve an Existing Database User", "method": "get", "endpoint": "v2/databases/:database_cluster_uuid/users/:username", "responses": [ { "uuid": "5e90be51-3193-46a0-bb78-8c32eacf2867", "body": "{\n \"user\": {\n \"mysql_settings\": {\n \"auth_plugin\": \"{{oneOf (array 'mysql_native_password' 'caching_sha2_password')}}\"\n },\n \"name\": \"app-01\",\n \"password\": \"jge5lfxtzhx42iff\",\n \"role\": \"{{oneOf (array 'primary' 'normal')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `user`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "18de8c80-2b38-425b-8cd3-2a820ec4c9cf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cb982ae4-3f8f-4c0b-a80b-096a85c49039", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cb52ac91-2914-427e-bb60-3ec501c315c3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "babc64b5-037c-47a5-b28d-1b62df05a7d3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ab16a5b4-a16c-4a8f-ba3e-db409817f6ba", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "7fd37c54-f6be-4908-b3f5-77c8d57c924d", "documentation": "Reset a Database User's Password or Authentication Method", "method": "post", "endpoint": "v2/databases/:database_cluster_uuid/users/:username/reset_auth", "responses": [ { "uuid": "e32c153f-410b-4f4e-b5a5-63f3567feed5", "body": "{\n \"user\": {\n \"mysql_settings\": {\n \"auth_plugin\": \"{{oneOf (array 'mysql_native_password' 'caching_sha2_password')}}\"\n },\n \"name\": \"app-01\",\n \"password\": \"jge5lfxtzhx42iff\",\n \"role\": \"{{oneOf (array 'primary' 'normal')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `user`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8fb0e45f-3d08-43da-af9a-5af504ea09d1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "87e45957-ae7e-41b9-b3e1-f75450908977", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5e065c13-f95b-49fe-9692-089c8dc05b63", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b12041ac-1d37-42c5-870d-a8fe4d721e32", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "eb45a407-0fa6-4a53-a770-a62f9118afd7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "72fcf841-0d34-4b53-aa88-23ffc02da16f", "documentation": "List All Domains", "method": "get", "endpoint": "v2/domains", "responses": [ { "uuid": "d886cc78-0fec-4cfe-8764-81416ee01bc7", "body": "{\n \"domains\": [\n {\n \"name\": \"example.com\",\n \"ttl\": 1800,\n \"zone_file\": \"$ORIGIN example.com.\\n$TTL 1800\\nexample.com. IN SOA ns1.digitalocean.com. hostmaster.example.com. 1415982609 10800 3600 604800 1800\\nexample.com. 1800 IN NS ns1.digitalocean.com.\\nexample.com. 1800 IN NS ns2.digitalocean.com.\\nexample.com. 1800 IN NS ns3.digitalocean.com.\\nexample.com. 1800 IN A 1.2.3.4\\n\"\n }\n ],\n \"links\": {},\n \"meta\": {\n \"total\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `domains`. The value of this will be an array of Domain objects, each of which contain the standard domain attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ab9f763a-df41-48ad-bc8f-0fcb4daa3e98", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6eb8e185-7885-4ce0-b451-f418051abbf8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a8d30b02-eb01-414d-a6fe-39459baba361", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "71b6f723-1505-4f55-b2dd-40174c29b28e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "700b9833-5ab6-4e23-997d-14b0e1f6f8c6", "documentation": "Create a New Domain", "method": "post", "endpoint": "v2/domains", "responses": [ { "uuid": "ad469e69-9218-455c-a5f0-16a5dc49a02d", "body": "{\n \"domain\": {\n \"name\": \"example.com\",\n \"ttl\": 1800,\n \"zone_file\": null\n }\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with a key called `domain`. The value of this will be an object that contains the standard attributes associated with a domain.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "25afc7f4-f473-491e-b8f2-3a929538c0ed", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "827e1f89-80f4-452c-9fc9-73bb30433f94", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3563b4a2-b88e-4a14-968e-394eed7b3c1c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c1a25f57-c5ed-4489-8d4d-173ee41ad3a2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1c5eeadf-4186-4586-b48e-a1587fb3765d", "documentation": "Delete a Domain", "method": "delete", "endpoint": "v2/domains/:domain_name", "responses": [ { "uuid": "b0ea5d1a-cb49-4ddf-840e-25390a599345", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a993f28d-9a28-4ccf-88e8-8e8cbae1a116", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "406ec158-9fb5-4ed3-87fe-6949c5af8228", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "78410bec-fbda-44c4-8f5b-d147c6460186", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0f4d98e1-3940-4e32-a29b-19a5bfa134a9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "959d2071-1b97-4d2d-a62d-10245de0c916", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "84335972-485f-4e39-aa80-915e388444e3", "documentation": "Retrieve an Existing Domain", "method": "get", "endpoint": "v2/domains/:domain_name", "responses": [ { "uuid": "5b444abb-9bf5-4ebd-8738-5ad203676aa9", "body": "{\n \"domain\": {\n \"name\": \"example.com\",\n \"ttl\": 1800,\n \"zone_file\": \"$ORIGIN example.com.\\n$TTL 1800\\nexample.com. IN SOA ns1.digitalocean.com. hostmaster.example.com. 1415982611 10800 3600 604800 1800\\nexample.com. 1800 IN NS ns1.digitalocean.com.\\nexample.com. 1800 IN NS ns2.digitalocean.com.\\nexample.com. 1800 IN NS ns3.digitalocean.com.\\nexample.com. 1800 IN A 1.2.3.4\\n\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `domain`. The value of this will be an object that contains the standard attributes defined for a domain.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fb0696b2-3784-47f8-bb9a-8cd412e9dc5e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9eda6ce4-2a37-4bfd-9e79-1707ccc094a0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b9a33f81-34ed-4500-b5b9-bf67b92e39b0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1a8cb915-7a46-41bf-b75f-a8f1d89d2384", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a43fa44d-39e3-417a-b947-6eb17a799032", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b9a80cb4-3bb4-41e8-8aac-dfc89ff45d0c", "documentation": "List All Domain Records", "method": "get", "endpoint": "v2/domains/:domain_name/records", "responses": [ { "uuid": "fdcd6ca2-9541-47b1-8caf-67e7952de3f6", "body": "{\n \"domain_records\": [\n {\n \"data\": \"ns1.digitalocean.com\",\n \"flags\": {{faker 'number.int' max=99999}},\n \"id\": 28448429,\n \"name\": \"@\",\n \"port\": {{faker 'number.int' max=99999}},\n \"priority\": {{faker 'number.int' max=99999}},\n \"tag\": \"\",\n \"ttl\": 1800,\n \"type\": \"NS\",\n \"weight\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `domain_records`. The value of this will be an array of domain record objects, each of which contains the standard domain record attributes. For attributes that are not used by a specific record type, a value of `null` will be returned. For instance, all records other than SRV will have `null` for the `weight` and `port` attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "26963965-478f-4409-96ee-b0f53808a3cb", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a810d71-8012-4dd1-89db-5eafe6b9e8df", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "56b0b39b-2efe-404e-8074-880122eafe3e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1fb76e99-ef38-4be5-9e98-883f2aa9f03a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ec3f550c-cbfe-45a6-9e08-6baf8bd8f41e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1323d0af-c5df-4b1a-9ac2-2ac3d73ffa56", "documentation": "Create a New Domain Record", "method": "post", "endpoint": "v2/domains/:domain_name/records", "responses": [ { "uuid": "a7d8e81c-9d1f-45eb-9664-ec4c3cf3dfea", "body": "{\n \"domain_record\": {\n \"data\": \"162.10.66.0\",\n \"flags\": null,\n \"id\": 28448433,\n \"name\": \"www\",\n \"port\": null,\n \"priority\": null,\n \"tag\": null,\n \"ttl\": 1800,\n \"type\": \"A\",\n \"weight\": null\n }\n}", "latency": 0, "statusCode": 201, "label": "The response body will be a JSON object with a key called `domain_record`. The value of this will be an object representing the new record. Attributes that are not applicable for the record type will be set to `null`. An `id` attribute is generated for each record as part of the object.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "08d3a3f6-6722-4935-9c49-167b678d830c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7bd170a9-e865-4c1a-90ea-daf4546bea42", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dbe6b6c4-26cc-428a-a8e4-f3f0abbfd71e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7b165b99-f3dc-476b-8404-82815bf42381", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "72300bb8-960b-4959-b041-494f1a39594c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6618149d-58f0-4ff9-888f-115fa3ab4e19", "documentation": "Delete a Domain Record", "method": "delete", "endpoint": "v2/domains/:domain_name/records/:domain_record_id", "responses": [ { "uuid": "eb7235d7-3ac3-4871-9178-fe79c3e8ae17", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e021ef5c-289f-4927-9d49-4be602d89dcb", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "937ca649-5b7e-44da-bda8-c8064298c4fe", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e92c448-57de-4284-be90-e5a0137a337e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "60f2bbe4-b450-464f-821b-c12c341e2ec4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "caca581f-d1d9-4eff-a982-af1cf06341e1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1912ee80-de76-4a7e-83ae-e5f281b91553", "documentation": "Retrieve an Existing Domain Record", "method": "get", "endpoint": "v2/domains/:domain_name/records/:domain_record_id", "responses": [ { "uuid": "e136b224-39cb-492e-9a7e-1672bd9f06ab", "body": "{\n \"domain_record\": {\n \"data\": \"162.10.66.0\",\n \"flags\": null,\n \"id\": 3352896,\n \"name\": \"blog\",\n \"port\": null,\n \"priority\": null,\n \"tag\": null,\n \"ttl\": 1800,\n \"type\": \"A\",\n \"weight\": null\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `domain_record`. The value of this will be a domain record object which contains the standard domain record attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8bdc39d9-b30c-48aa-9980-65efc0bea35f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b4cc2b81-60d9-44bb-a0fa-88f328958411", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e299bf58-b253-4ee8-af4f-fd713d237664", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "099a4563-6dfc-4519-a68e-02ee2751f5f2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e42cd6e-c385-45d6-858c-c2633a3292e5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e53ae2e4-d31a-4b86-a6f3-9a655dd4c30c", "documentation": "Update a Domain Record", "method": "patch", "endpoint": "v2/domains/:domain_name/records/:domain_record_id", "responses": [ { "uuid": "e317a544-6f6b-4b45-afc8-545d54bdee54", "body": "{\n \"domain_record\": {\n \"data\": \"162.10.66.0\",\n \"flags\": null,\n \"id\": 3352896,\n \"name\": \"blog\",\n \"port\": null,\n \"priority\": null,\n \"tag\": null,\n \"ttl\": 1800,\n \"type\": \"A\",\n \"weight\": null\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `domain_record`. The value of this will be a domain record object which contains the standard domain record attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9f3c25a7-8f78-43b9-a5a1-ae6283e5d854", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9c34462f-7a04-422e-82ab-9e303d7c65e7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d1e7775e-3e63-435b-ab9c-faf45391ef5c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d5119346-e1da-4d51-aac5-23553fd73ff2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8a54b733-a6da-413b-b946-0f3982d61203", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e961183b-2e47-414e-aa75-0b4f3fc957a1", "documentation": "Update a Domain Record", "method": "put", "endpoint": "v2/domains/:domain_name/records/:domain_record_id", "responses": [ { "uuid": "8e275f02-f7b3-41f6-b131-3c90a3aa529b", "body": "{\n \"domain_record\": {\n \"data\": \"162.10.66.0\",\n \"flags\": null,\n \"id\": 3352896,\n \"name\": \"blog\",\n \"port\": null,\n \"priority\": null,\n \"tag\": null,\n \"ttl\": 1800,\n \"type\": \"A\",\n \"weight\": null\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `domain_record`. The value of this will be a domain record object which contains the standard domain record attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ea1d4b87-400e-465d-8ba3-3afdfc43ad4c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "be04d545-519f-4f85-bfa8-4998f4347423", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "23006326-4d76-489d-ba8b-3d5ec6957df6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4e329f76-b1be-41e6-919e-0e1750937d26", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "daa8f360-90bd-410b-9943-d4383ae9a476", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1e0f049a-d978-409a-a45c-1dd433e32238", "documentation": "Deleting Droplets by Tag", "method": "delete", "endpoint": "v2/droplets", "responses": [ { "uuid": "1896bc06-0bd4-455b-bbc9-b279647fd98a", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "398285cc-ad92-45eb-a4b4-c6bed4e9c40a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "851f94d8-ae8a-4625-87ca-56b1d18b389a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "08b85adc-20db-4902-a06f-5a4d9a29eb9c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "02f38ab4-33f0-4bad-af6c-4c9a07b5ec00", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "43000c61-9183-49e5-a2c1-ead57a0138e9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ac716914-7e4b-4955-aebb-018be8e62a80", "documentation": "List All Droplets", "method": "get", "endpoint": "v2/droplets", "responses": [ { "uuid": "edd99d72-5f30-4caf-ab54-95a0dbcb3bba", "body": "{\n \"droplets\": [\n {\n \"backup_ids\": [\n 53893572\n ],\n \"created_at\": \"2020-07-21T18:37:44Z\",\n \"disk\": 25,\n \"features\": [\n \"backups\",\n \"private_networking\",\n \"ipv6\"\n ],\n \"id\": 3164444,\n \"image\": {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n },\n \"kernel\": {\n \"id\": 7515,\n \"name\": \"DigitalOcean GrubLoader v0.2 (20160714)\",\n \"version\": \"2016.07.13-DigitalOcean_loader_Ubuntu\"\n },\n \"locked\": {{faker 'datatype.boolean'}},\n \"memory\": 1024,\n \"name\": \"example.com\",\n \"networks\": {\n \"v4\": [\n {\n \"gateway\": \"104.236.0.1\",\n \"ip_address\": \"104.236.32.182\",\n \"netmask\": \"255.255.192.0\",\n \"type\": \"{{oneOf (array 'public' 'private')}}\"\n }\n ],\n \"v6\": [\n {\n \"gateway\": \"2604:a880:0:1010::1\",\n \"ip_address\": \"2604:a880:0:1010::18a:a001\",\n \"netmask\": 64,\n \"type\": \"{{oneOf (array 'public')}}\"\n }\n ]\n },\n \"next_backup_window\": {\n \"end\": \"2019-12-04T23:00:00Z\",\n \"start\": \"2019-12-04T00:00:00Z\"\n },\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"size\": {\n \"available\": true,\n \"description\": \"Basic\",\n \"disk\": 25,\n \"memory\": 1024,\n \"price_hourly\": 0.00743999984115362,\n \"price_monthly\": 5,\n \"regions\": [\n \"ams2\",\n \"ams3\",\n \"blr1\",\n \"fra1\",\n \"lon1\",\n \"nyc1\",\n \"nyc2\",\n \"nyc3\",\n \"sfo1\",\n \"sfo2\",\n \"sfo3\",\n \"sgp1\",\n \"tor1\"\n ],\n \"slug\": \"s-1vcpu-1gb\",\n \"transfer\": 1,\n \"vcpus\": 1\n },\n \"size_slug\": \"s-1vcpu-1gb\",\n \"snapshot_ids\": [\n 67512819\n ],\n \"status\": \"{{oneOf (array 'new' 'active' 'off' 'archive')}}\",\n \"tags\": [\n \"web\",\n \"env:prod\"\n ],\n \"vcpus\": 1,\n \"volume_ids\": [\n \"506f78a4-e098-11e5-ad9f-000f53306ae1\"\n ],\n \"vpc_uuid\": \"760e09ef-dc84-11e8-981e-3cfdfeaae000\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with a key of `droplets`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "912f97bd-1d83-4612-9496-7f515fcdb9d4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e660056b-102f-481d-86ec-ad9341cf9e35", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "070ed4c9-91bf-441b-8560-54096b50df5f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2d4d7083-aff1-4888-b252-7ef28e92d5b9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "20355819-9b81-4482-b56d-997d7a3594ee", "documentation": "Create a New Droplet", "method": "post", "endpoint": "v2/droplets", "responses": [ { "uuid": "4ebce2e4-2742-4355-81e4-7c235c4c27dc", "body": "{\n \"droplet\": {\n \"backup_ids\": [\n 53893572\n ],\n \"created_at\": \"2020-07-21T18:37:44Z\",\n \"disk\": 25,\n \"features\": [\n \"backups\",\n \"private_networking\",\n \"ipv6\"\n ],\n \"id\": 3164444,\n \"image\": {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n },\n \"kernel\": {\n \"id\": 7515,\n \"name\": \"DigitalOcean GrubLoader v0.2 (20160714)\",\n \"version\": \"2016.07.13-DigitalOcean_loader_Ubuntu\"\n },\n \"locked\": {{faker 'datatype.boolean'}},\n \"memory\": 1024,\n \"name\": \"example.com\",\n \"networks\": {\n \"v4\": [\n {\n \"gateway\": \"104.236.0.1\",\n \"ip_address\": \"104.236.32.182\",\n \"netmask\": \"255.255.192.0\",\n \"type\": \"{{oneOf (array 'public' 'private')}}\"\n }\n ],\n \"v6\": [\n {\n \"gateway\": \"2604:a880:0:1010::1\",\n \"ip_address\": \"2604:a880:0:1010::18a:a001\",\n \"netmask\": 64,\n \"type\": \"{{oneOf (array 'public')}}\"\n }\n ]\n },\n \"next_backup_window\": {\n \"end\": \"2019-12-04T23:00:00Z\",\n \"start\": \"2019-12-04T00:00:00Z\"\n },\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"size\": {\n \"available\": true,\n \"description\": \"Basic\",\n \"disk\": 25,\n \"memory\": 1024,\n \"price_hourly\": 0.00743999984115362,\n \"price_monthly\": 5,\n \"regions\": [\n \"ams2\",\n \"ams3\",\n \"blr1\",\n \"fra1\",\n \"lon1\",\n \"nyc1\",\n \"nyc2\",\n \"nyc3\",\n \"sfo1\",\n \"sfo2\",\n \"sfo3\",\n \"sgp1\",\n \"tor1\"\n ],\n \"slug\": \"s-1vcpu-1gb\",\n \"transfer\": 1,\n \"vcpus\": 1\n },\n \"size_slug\": \"s-1vcpu-1gb\",\n \"snapshot_ids\": [\n 67512819\n ],\n \"status\": \"{{oneOf (array 'new' 'active' 'off' 'archive')}}\",\n \"tags\": [\n \"web\",\n \"env:prod\"\n ],\n \"vcpus\": 1,\n \"volume_ids\": [\n \"506f78a4-e098-11e5-ad9f-000f53306ae1\"\n ],\n \"vpc_uuid\": \"760e09ef-dc84-11e8-981e-3cfdfeaae000\"\n },\n \"links\": {\n \"actions\": [\n {\n \"href\": \"https://api.digitalocean.com/v2/actions/7515\",\n \"id\": 7515,\n \"rel\": \"create\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 202, "label": "Accepted", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5aa15b3c-544e-4edd-b937-6c5189d39b72", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d159bbf3-51ab-4d01-b5d0-fa0ad30cd3e8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9aff6139-67b7-4978-91d6-9cf044aeb8ef", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8e3bf01c-f241-4201-81a9-a5b4c831aef1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "387a4dcd-7b1b-4af9-9651-e6f9cd61f655", "documentation": "Acting on Tagged Droplets", "method": "post", "endpoint": "v2/droplets/actions", "responses": [ { "uuid": "324ebb51-2948-4456-a717-ec9bb79a279a", "body": "{\n \"actions\": [\n {\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n }\n ]\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with a key called `actions`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e3dce2d4-d3b9-4790-b803-d3520ffa41b2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "faa9df0d-8672-44ac-9b6b-445ab1dde8d9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a3ae1026-dd5c-4420-9ce6-94c4f3ca0de5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e3f72e20-6ac2-49b3-8a9d-c894211e6632", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e39de82b-fc9a-46a4-8c38-6828c69132c2", "documentation": "Delete an Existing Droplet", "method": "delete", "endpoint": "v2/droplets/:droplet_id", "responses": [ { "uuid": "14bbbc39-4a68-4a14-b257-da00aeab3e9f", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "70d1af51-8a7b-4dea-a888-58a571ad4fd6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1f8f3a92-8603-43b1-be29-053292deaebd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "406ac4ba-c380-40d6-981f-3dc9e734f2d5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4792329e-af08-40ba-bc12-231dd372aac1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0ee3b6fc-330b-4260-bbd0-926a29dc15d3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5bd64980-a554-4389-891e-232c8d1d6d3e", "documentation": "Retrieve an Existing Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id", "responses": [ { "uuid": "c9a5462e-2c19-4f34-89d2-7b1f48221979", "body": "{\n \"droplet\": {\n \"backup_ids\": [\n 53893572\n ],\n \"created_at\": \"2020-07-21T18:37:44Z\",\n \"disk\": 25,\n \"features\": [\n \"backups\",\n \"private_networking\",\n \"ipv6\"\n ],\n \"id\": 3164444,\n \"image\": {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n },\n \"kernel\": {\n \"id\": 7515,\n \"name\": \"DigitalOcean GrubLoader v0.2 (20160714)\",\n \"version\": \"2016.07.13-DigitalOcean_loader_Ubuntu\"\n },\n \"locked\": {{faker 'datatype.boolean'}},\n \"memory\": 1024,\n \"name\": \"example.com\",\n \"networks\": {\n \"v4\": [\n {\n \"gateway\": \"104.236.0.1\",\n \"ip_address\": \"104.236.32.182\",\n \"netmask\": \"255.255.192.0\",\n \"type\": \"{{oneOf (array 'public' 'private')}}\"\n }\n ],\n \"v6\": [\n {\n \"gateway\": \"2604:a880:0:1010::1\",\n \"ip_address\": \"2604:a880:0:1010::18a:a001\",\n \"netmask\": 64,\n \"type\": \"{{oneOf (array 'public')}}\"\n }\n ]\n },\n \"next_backup_window\": {\n \"end\": \"2019-12-04T23:00:00Z\",\n \"start\": \"2019-12-04T00:00:00Z\"\n },\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"size\": {\n \"available\": true,\n \"description\": \"Basic\",\n \"disk\": 25,\n \"memory\": 1024,\n \"price_hourly\": 0.00743999984115362,\n \"price_monthly\": 5,\n \"regions\": [\n \"ams2\",\n \"ams3\",\n \"blr1\",\n \"fra1\",\n \"lon1\",\n \"nyc1\",\n \"nyc2\",\n \"nyc3\",\n \"sfo1\",\n \"sfo2\",\n \"sfo3\",\n \"sgp1\",\n \"tor1\"\n ],\n \"slug\": \"s-1vcpu-1gb\",\n \"transfer\": 1,\n \"vcpus\": 1\n },\n \"size_slug\": \"s-1vcpu-1gb\",\n \"snapshot_ids\": [\n 67512819\n ],\n \"status\": \"{{oneOf (array 'new' 'active' 'off' 'archive')}}\",\n \"tags\": [\n \"web\",\n \"env:prod\"\n ],\n \"vcpus\": 1,\n \"volume_ids\": [\n \"506f78a4-e098-11e5-ad9f-000f53306ae1\"\n ],\n \"vpc_uuid\": \"760e09ef-dc84-11e8-981e-3cfdfeaae000\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `droplet`. This will be\nset to a JSON object that contains the standard Droplet attributes.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "63536ad7-f8c7-44a1-b529-13c0a334ed5a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "73b674be-529f-429d-ac09-353f0ac770b1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5ccfe296-11c1-476c-b6c8-a61b9ca43b09", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4f2f1932-0919-43d0-b09b-3dd0e60a57df", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6fc181be-5e04-436b-a5bb-45af5ca015c3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "74ddf96e-8319-4b9a-83b6-7a3b5856fcb8", "documentation": "List Actions for a Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id/actions", "responses": [ { "uuid": "d7d30745-ea70-4289-91a4-0380254de26c", "body": "{\n \"actions\": [\n {\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with an `actions` key.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7ee98d4e-0b77-4a9b-8d23-1d7b7d67ec1a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "789b1285-7f9b-49f1-bafd-e5020070703c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d70556e8-dc1f-42ea-b648-498f447ccc1a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3acfca43-efdc-4df4-aa0c-1ce0a63eaa93", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "86f44814-8775-42b6-92fc-117be88e9400", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ec04303d-7cf8-48bf-81c6-0373ce38a8ae", "documentation": "Initiate a Droplet Action", "method": "post", "endpoint": "v2/droplets/:droplet_id/actions", "responses": [ { "uuid": "651d0eee-ade7-4334-908f-24f9e9b06eec", "body": "{\n \"action\": {\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with a key called `action`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d8618e3c-d6d9-4349-9a05-560b60c95773", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e4e91370-0745-4ecf-891e-89d833dbb95f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "aa147410-bf3b-4c4b-ada6-01af7f85b110", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "31a7f103-a3a6-4882-8ee3-9b4f03dd61ea", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fe183d6c-33bc-4bc8-8213-75e9596475b6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "edea71aa-e8b8-40d4-8652-0038fb933b33", "documentation": "Retrieve a Droplet Action", "method": "get", "endpoint": "v2/droplets/:droplet_id/actions/:action_id", "responses": [ { "uuid": "64bafaa5-c5fc-4a21-bb7b-e35e5e591e49", "body": "{\n \"action\": {\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The result will be a JSON object with an action key. This will be set to an action object containing the standard action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "13b6977a-43e9-4a23-9a5a-2e6f804d8cfa", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5f1707c0-470a-482a-8ee6-a601fb2e89af", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "deb26ec0-9355-4b6b-b053-26e6fe9c9cc0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8e746e4c-b8e9-4d5a-a39b-2edd4096ef34", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a64f3e26-bfef-46ae-8a75-227cc5414d07", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4d7c519f-0bff-466d-b38f-fcf8df41d23e", "documentation": "List Backups for a Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id/backups", "responses": [ { "uuid": "869503cb-310c-4947-aad7-73d55cef3fc5", "body": "{\n \"backups\": [\n {\n \"id\": 6372321\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with an `backups` key.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "aa4dfaf1-ab18-4ee7-a1fc-b0c4463d6623", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3e0283ac-b531-41ab-a78c-bf8a9c83304f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "121b5813-ae01-4b02-8e39-952c101aec43", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "43a47870-0660-41a3-912b-745682787b07", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "09f5a266-addb-45c0-8a48-c3ae6bc76478", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "93b6af5c-fef9-4396-8922-7d877f4ff74c", "documentation": "List Associated Resources for a Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id/destroy_with_associated_resources", "responses": [ { "uuid": "b24ad66b-942c-485a-8506-9d4439dc8b1a", "body": "{\n \"snapshots\": [\n {\n \"cost\": \"0.05\",\n \"id\": \"61486916\",\n \"name\": \"ubuntu-s-1vcpu-1gb-nyc1-01-1585758823330\"\n }\n ],\n \"volume_snapshots\": [\n {\n \"cost\": \"0.05\",\n \"id\": \"61486916\",\n \"name\": \"ubuntu-s-1vcpu-1gb-nyc1-01-1585758823330\"\n }\n ],\n \"volumes\": [\n {\n \"cost\": \"0.05\",\n \"id\": \"61486916\",\n \"name\": \"ubuntu-s-1vcpu-1gb-nyc1-01-1585758823330\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object containing `snapshots`, `volumes`, and `volume_snapshots` keys.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6ff03f58-2dad-4b38-8404-c250838dedfa", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6934f0ab-73c7-4b7c-9a97-ca0bf937a316", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1980250f-875e-4b32-bf6c-a98aec510ac5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fb13e264-8460-42e2-9566-af9ee7b21564", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2c396dc6-4e14-453e-885a-724391aea8dc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3a89ff85-cd87-47f9-b22e-034b2e7951fe", "documentation": "Destroy a Droplet and All of its Associated Resources (Dangerous)", "method": "delete", "endpoint": "v2/droplets/:droplet_id/destroy_with_associated_resources/dangerous", "responses": [ { "uuid": "33d6edbb-a55b-4604-ba7a-a63845ce2f7b", "body": "", "latency": 0, "statusCode": 202, "label": "The does not indicate the success or failure of any operation, just that the request has been accepted for processing.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cc070464-148e-4dff-8afc-452a8e598d7b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "339bafb4-35c1-4c85-ada8-a0a700b41b62", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a5d87824-db79-4da5-bba5-b99a988b81a7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "77e24f2c-67b5-42d1-8fb7-8db2c0eaa707", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2de84e91-1658-4d91-ac98-d2d48b05777a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1d8b6a57-52f7-4ec7-a3cc-c7301de5eea8", "documentation": "Retry a Droplet Destroy with Associated Resources Request", "method": "post", "endpoint": "v2/droplets/:droplet_id/destroy_with_associated_resources/retry", "responses": [ { "uuid": "35e448b5-8f6e-4eef-a12f-773ca7a98914", "body": "", "latency": 0, "statusCode": 202, "label": "The does not indicate the success or failure of any operation, just that the request has been accepted for processing.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "14208996-f48b-46b9-ae18-0535ddc68504", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "81e3e552-d196-48a7-9a52-b26f675c96b1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0db0816a-91cf-4cf7-85c8-837814ce8b4f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 409, "label": "Conflict", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cf29b6f3-362a-4f36-a79e-58b77780ca30", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "20d09ed9-10c0-44d9-a46c-7c299d1cf260", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8a5c4f30-4301-4622-892f-9bfadc3b5e4b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fb78bbc9-d756-4c50-8bed-ef502eba12cc", "documentation": "Selectively Destroy a Droplet and its Associated Resources", "method": "delete", "endpoint": "v2/droplets/:droplet_id/destroy_with_associated_resources/selective", "responses": [ { "uuid": "7c1f14a5-354f-412f-8d61-a0baaf46aab7", "body": "", "latency": 0, "statusCode": 202, "label": "The does not indicate the success or failure of any operation, just that the request has been accepted for processing.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "95d0635a-d9a1-48d1-84fa-8aa1d67f7c87", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e0cbde2-d3c5-4691-b4d6-4f86e2f461f1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fcbe85d0-d857-4ba5-ad43-c0921f6f5548", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "383ad0d3-c5e8-440f-920b-ef1bff354339", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "07b4da8e-a836-4517-ad07-5797924d9f4b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a8667475-4c95-4740-8a69-ae87369aab7e", "documentation": "Check Status of a Droplet Destroy with Associated Resources Request", "method": "get", "endpoint": "v2/droplets/:droplet_id/destroy_with_associated_resources/status", "responses": [ { "uuid": "c4aa470b-4564-4af8-9a13-c3eb866c7510", "body": "{\n \"completed_at\": \"2020-04-01T18:11:49Z\",\n \"droplet\": {\n \"destroyed_at\": \"2020-04-01T18:11:49Z\",\n \"error_message\": \" \",\n \"id\": \"61486916\",\n \"name\": \"ubuntu-s-1vcpu-1gb-nyc1-01-1585758823330\"\n },\n \"failures\": {{faker 'number.int' max=99999}},\n \"resources\": {\n \"snapshots\": [\n {\n \"destroyed_at\": \"2020-04-01T18:11:49Z\",\n \"error_message\": \" \",\n \"id\": \"61486916\",\n \"name\": \"ubuntu-s-1vcpu-1gb-nyc1-01-1585758823330\"\n }\n ],\n \"volume_snapshots\": [\n {\n \"destroyed_at\": \"2020-04-01T18:11:49Z\",\n \"error_message\": \" \",\n \"id\": \"61486916\",\n \"name\": \"ubuntu-s-1vcpu-1gb-nyc1-01-1585758823330\"\n }\n ],\n \"volumes\": [\n {\n \"destroyed_at\": \"2020-04-01T18:11:49Z\",\n \"error_message\": \" \",\n \"id\": \"61486916\",\n \"name\": \"ubuntu-s-1vcpu-1gb-nyc1-01-1585758823330\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "A JSON object containing containing the status of a request to destroy a Droplet and its associated resources.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f886b3b6-197d-4fd2-9a72-725c715c82d6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b126f1d8-9bc6-4071-b5a2-5278829cc821", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fe5941b7-be1f-4c36-8122-b40000b19317", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "826f00f0-0e11-4a69-b937-8f402140aaac", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "00cfeea7-c24d-41c8-b370-5c647de93258", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "92c4b661-cd95-4430-8abc-c353ca3f2168", "documentation": "List all Firewalls Applied to a Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id/firewalls", "responses": [ { "uuid": "fd6815a0-d52f-465c-9f2f-a7a02950be97", "body": "{\n \"firewalls\": [\n {\n \"created_at\": \"2020-05-23T21:24:00Z\",\n \"droplet_ids\": [\n 8043964\n ],\n \"id\": \"bb4b2611-3d72-467b-8602-280330ecd65c\",\n \"name\": \"firewall\",\n \"pending_changes\": [\n {\n \"droplet_id\": 8043964,\n \"removing\": false,\n \"status\": \"waiting\"\n }\n ],\n \"status\": \"{{oneOf (array 'waiting' 'succeeded' 'failed')}}\",\n \"tags\": [\n \"\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object that has a key called `firewalls`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9e79a4a2-534b-43b1-8e70-eff966ff2755", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "897fb481-034b-497d-ab5f-e25ffd1936a9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5f8409ff-7c18-4e1d-be5e-2580be26385a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "af6287b5-d814-43ce-adbb-934d3d0a47e6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f886fae5-e414-4bbf-9cd1-2e95a9cc74e4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "66b0e300-1d40-44ee-a3ea-7dea83c3db31", "documentation": "List All Available Kernels for a Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id/kernels", "responses": [ { "uuid": "4993614a-e457-4b71-87c5-bd623725ec48", "body": "{\n \"kernels\": [\n {\n \"id\": 7515,\n \"name\": \"DigitalOcean GrubLoader v0.2 (20160714)\",\n \"version\": \"2016.07.13-DigitalOcean_loader_Ubuntu\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object that has a key called `kernels`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2633ec62-5129-4b0b-bb02-37cbe9f04448", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8749a779-ffc0-4086-8476-ed9d24ae7fc5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "761cb3e5-d2d1-4b7e-8e40-2f1283aeef43", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9d715175-8874-41d6-914e-fcda43e0d81f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7efcd025-15e3-4c25-8f48-6ef9718ac43f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "0362d07b-7360-4cf3-8fdd-093b03414abe", "documentation": "List Neighbors for a Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id/neighbors", "responses": [ { "uuid": "9c2a1e1e-2117-4c63-9534-48ff25edcc8d", "body": "{\n \"droplets\": [\n {\n \"backup_ids\": [\n 53893572\n ],\n \"created_at\": \"2020-07-21T18:37:44Z\",\n \"disk\": 25,\n \"features\": [\n \"backups\",\n \"private_networking\",\n \"ipv6\"\n ],\n \"id\": 3164444,\n \"image\": {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n },\n \"kernel\": {\n \"id\": 7515,\n \"name\": \"DigitalOcean GrubLoader v0.2 (20160714)\",\n \"version\": \"2016.07.13-DigitalOcean_loader_Ubuntu\"\n },\n \"locked\": {{faker 'datatype.boolean'}},\n \"memory\": 1024,\n \"name\": \"example.com\",\n \"networks\": {\n \"v4\": [\n {\n \"gateway\": \"104.236.0.1\",\n \"ip_address\": \"104.236.32.182\",\n \"netmask\": \"255.255.192.0\",\n \"type\": \"{{oneOf (array 'public' 'private')}}\"\n }\n ],\n \"v6\": [\n {\n \"gateway\": \"2604:a880:0:1010::1\",\n \"ip_address\": \"2604:a880:0:1010::18a:a001\",\n \"netmask\": 64,\n \"type\": \"{{oneOf (array 'public')}}\"\n }\n ]\n },\n \"next_backup_window\": {\n \"end\": \"2019-12-04T23:00:00Z\",\n \"start\": \"2019-12-04T00:00:00Z\"\n },\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"size\": {\n \"available\": true,\n \"description\": \"Basic\",\n \"disk\": 25,\n \"memory\": 1024,\n \"price_hourly\": 0.00743999984115362,\n \"price_monthly\": 5,\n \"regions\": [\n \"ams2\",\n \"ams3\",\n \"blr1\",\n \"fra1\",\n \"lon1\",\n \"nyc1\",\n \"nyc2\",\n \"nyc3\",\n \"sfo1\",\n \"sfo2\",\n \"sfo3\",\n \"sgp1\",\n \"tor1\"\n ],\n \"slug\": \"s-1vcpu-1gb\",\n \"transfer\": 1,\n \"vcpus\": 1\n },\n \"size_slug\": \"s-1vcpu-1gb\",\n \"snapshot_ids\": [\n 67512819\n ],\n \"status\": \"{{oneOf (array 'new' 'active' 'off' 'archive')}}\",\n \"tags\": [\n \"web\",\n \"env:prod\"\n ],\n \"vcpus\": 1,\n \"volume_ids\": [\n \"506f78a4-e098-11e5-ad9f-000f53306ae1\"\n ],\n \"vpc_uuid\": \"760e09ef-dc84-11e8-981e-3cfdfeaae000\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with an `droplets` key.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "104eb33d-7772-4ef5-8383-1934bfa6548d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c99dc7d0-39b7-4751-8085-6220af5e7cc9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "30e09a9e-c5a5-4b47-8256-428296bb5f2e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b841eef7-db71-4422-a297-82d5572c71a9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7f1e1ad7-1d7a-4b39-b215-0cd9c1cf2409", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a76742df-7977-4679-b9ca-bc4fb97828fb", "documentation": "List Snapshots for a Droplet", "method": "get", "endpoint": "v2/droplets/:droplet_id/snapshots", "responses": [ { "uuid": "7cfb2b36-8fae-4f75-86a9-e935770333fb", "body": "{\n \"snapshots\": [\n {\n \"id\": 6372321\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "A JSON object with an `snapshots` key.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e9f3879f-de19-4a2a-b5e0-0de848fd9474", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4a4ff605-3447-4e6f-a38f-06e8eee34f1b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c060eb2f-d124-4430-a9a9-5e6bc407c046", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4341cc35-9ad3-4f74-bd41-944bb2cfce91", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a6f4f3fc-95a3-48aa-bd73-730c4bbfdbae", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "472b81ca-0cdc-4303-94ac-3b802c2e7540", "documentation": "List All Firewalls", "method": "get", "endpoint": "v2/firewalls", "responses": [ { "uuid": "fcd17983-0389-4b3e-8468-131579a30de8", "body": "{\n \"firewalls\": [\n {\n \"created_at\": \"2020-05-23T21:24:00Z\",\n \"droplet_ids\": [\n 8043964\n ],\n \"id\": \"bb4b2611-3d72-467b-8602-280330ecd65c\",\n \"name\": \"firewall\",\n \"pending_changes\": [\n {\n \"droplet_id\": 8043964,\n \"removing\": false,\n \"status\": \"waiting\"\n }\n ],\n \"status\": \"{{oneOf (array 'waiting' 'succeeded' 'failed')}}\",\n \"tags\": [\n \"\"\n ]\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "To list all of the firewalls available on your account, send a GET request to `/v2/firewalls`.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ad21769f-db3e-4bb3-8b6a-de260de3bf00", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a46ffc8f-b4db-42a2-9b9f-b33c75e4979a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5291434c-c3f3-4393-bf41-73c9f25c3835", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e37238de-6ac0-4215-8c45-4ca2d9954ce6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3af53dce-b6bb-42c0-ba4b-5de524b46a5d", "documentation": "Create a New Firewall", "method": "post", "endpoint": "v2/firewalls", "responses": [ { "uuid": "792598ab-ac03-4151-96ee-c17a6b5bf612", "body": "{\n \"firewall\": {\n \"created_at\": \"2020-05-23T21:24:00Z\",\n \"droplet_ids\": [\n 8043964\n ],\n \"id\": \"bb4b2611-3d72-467b-8602-280330ecd65c\",\n \"name\": \"firewall\",\n \"pending_changes\": [\n {\n \"droplet_id\": 8043964,\n \"removing\": false,\n \"status\": \"waiting\"\n }\n ],\n \"status\": \"{{oneOf (array 'waiting' 'succeeded' 'failed')}}\",\n \"tags\": [\n \"\"\n ]\n }\n}", "latency": 0, "statusCode": 202, "label": "The response will be a JSON object with a firewall key. This will be set to an object containing the standard firewall attributes", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "d314bf30-9431-4383-84a7-f6674e21ab98", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b812f595-d895-402b-b817-c06248a6483f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "35630c47-ae58-4847-b9bf-7f4a7b6dc045", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "47ef9490-82a3-4ff9-a3ba-d3742469766b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "030ec842-998e-4b0b-b8b5-1cda74490f87", "documentation": "Delete a Firewall", "method": "delete", "endpoint": "v2/firewalls/:firewall_id", "responses": [ { "uuid": "c0213ff5-b134-488a-94c8-178b47c86339", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5b319bd5-2180-4a1a-95ab-6bf92cc87be1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d26b2189-2a29-4bf9-9e8c-38d2f78d331e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6282ff50-8119-45a1-bb31-865889680494", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1b70475a-205b-448e-90d3-e8a682279f44", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ddad4db4-3947-4e14-921d-fe0baa01f01f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "150aebb9-87ca-4416-8b86-ea7cf709e712", "documentation": "Retrieve an Existing Firewall", "method": "get", "endpoint": "v2/firewalls/:firewall_id", "responses": [ { "uuid": "2b334006-2ca4-4f55-ad4e-de41c174e320", "body": "{\n \"firewall\": {\n \"created_at\": \"2020-05-23T21:24:00Z\",\n \"droplet_ids\": [\n 8043964\n ],\n \"id\": \"bb4b2611-3d72-467b-8602-280330ecd65c\",\n \"name\": \"firewall\",\n \"pending_changes\": [\n {\n \"droplet_id\": 8043964,\n \"removing\": false,\n \"status\": \"waiting\"\n }\n ],\n \"status\": \"{{oneOf (array 'waiting' 'succeeded' 'failed')}}\",\n \"tags\": [\n \"\"\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a firewall key. This will be set to an object containing the standard firewall attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f88b75db-fae2-46ba-92bb-ae46e7ce76f7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "76530260-c5c1-4eb6-8600-5e84c59bd908", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0f6da63b-f09a-42e1-aa3a-0c09b5b25f45", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f774a1dc-30fe-4f00-a011-65b9755ccc39", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "038bf152-d34c-4e31-a5ba-2c85218daaf3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "dff8ddf9-b536-42a0-8612-cb6b340a834b", "documentation": "Update a Firewall", "method": "put", "endpoint": "v2/firewalls/:firewall_id", "responses": [ { "uuid": "12518313-77dd-4fa5-a419-ff0a130382de", "body": "{\n \"firewall\": {\n \"created_at\": \"2020-05-23T21:24:00Z\",\n \"droplet_ids\": [\n 8043964\n ],\n \"id\": \"bb4b2611-3d72-467b-8602-280330ecd65c\",\n \"name\": \"firewall\",\n \"pending_changes\": [\n {\n \"droplet_id\": 8043964,\n \"removing\": false,\n \"status\": \"waiting\"\n }\n ],\n \"status\": \"{{oneOf (array 'waiting' 'succeeded' 'failed')}}\",\n \"tags\": [\n \"\"\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a `firewall` key. This will be set to an object containing the standard firewall attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3ebac678-0121-41b6-a000-95f0ab04e431", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b071c7d0-49df-4eb2-8ef6-c0fe2af8e597", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7cd93fd3-5d2b-41a3-be14-a738fd42e24c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "741249f9-9b33-4069-aaa7-de5ad4aa9078", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "95185405-3598-4496-a110-179b369efdab", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "adb92edc-e8bc-44ce-9142-a23b68b6b198", "documentation": "Remove Droplets from a Firewall", "method": "delete", "endpoint": "v2/firewalls/:firewall_id/droplets", "responses": [ { "uuid": "c34742a6-3d73-4ea4-83f7-d521b698c46b", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e953e282-4d32-4e28-98f7-d47e1634a21a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "faf737de-351a-44ed-9dfe-24a605971aa9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d0dfd5eb-c7dd-4ee6-bc3a-d0f6d5c25c43", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e1a68dd3-347e-4bae-95c8-98261c719635", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "334ddaff-07dc-47b1-9e43-fdb83c1823b0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5c6219aa-ac0e-4de9-8189-5009552a1295", "documentation": "Add Droplets to a Firewall", "method": "post", "endpoint": "v2/firewalls/:firewall_id/droplets", "responses": [ { "uuid": "4f56af1d-6af7-4861-9b9c-53c0838fda5c", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "960a6d1b-2892-4144-8611-87854dae8daf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "320ed0df-3f03-48d2-8335-93d5604d2098", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3db316a0-14a7-4d06-a781-f8790b9ec59d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9bb15659-bc68-4f96-bc6a-8d1ebb9ee290", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f3fa6ffd-8ff2-4144-a716-ffe4be3fc2fa", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "22cbdfaf-057b-4559-908c-e37d4584faa1", "documentation": "Remove Rules from a Firewall", "method": "delete", "endpoint": "v2/firewalls/:firewall_id/rules", "responses": [ { "uuid": "9e0b4383-1d8d-4cf3-87c7-eab0fcbd718f", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8ab19c82-4c11-4c3e-be76-e10fbe1902ef", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e8d7f637-22bf-476d-88c0-935a7769c86e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "09b4f30b-30da-4e5e-b923-4c0006e0addd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "71edf84e-29ee-445e-9ee2-7110e6efed54", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "625a0f5e-3178-48fe-a67f-0dd8392ee60e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "36dc7f76-d20c-4432-980d-5ffc6a638ff1", "documentation": "Add Rules to a Firewall", "method": "post", "endpoint": "v2/firewalls/:firewall_id/rules", "responses": [ { "uuid": "de119253-8078-412a-ba18-8a3fa4a4ed19", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7a7bc131-84dc-4420-86de-316902728669", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "75858728-9088-44c0-85de-aee968f63db4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c28d7444-17f5-4d9d-8b14-ffbb6f6485e7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ae0e2641-219a-4f2a-a3ac-397e92a6460e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e680f4c8-f756-4708-bb7c-860350be0f8a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "48d13c6d-1e1d-4796-ae16-5d8f73f7e0f0", "documentation": "Remove Tags from a Firewall", "method": "delete", "endpoint": "v2/firewalls/:firewall_id/tags", "responses": [ { "uuid": "01e2a596-13bb-4dff-ae03-8dd56397af78", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "66b117ce-bd45-4954-ab69-c5b9c80dd488", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4a41f17e-246b-4fce-8fbd-c5be2717cac3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ecdceb70-849d-4197-8892-3ae3ad3b79e1", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "36fcddd9-ad1c-42bd-a858-c6d7e51fd2e3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d6c921f5-cd3b-4866-be9f-64e7ff39a882", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5fd5256b-fa4f-4578-b671-700e276f1f9f", "documentation": "Add Tags to a Firewall", "method": "post", "endpoint": "v2/firewalls/:firewall_id/tags", "responses": [ { "uuid": "eb314fca-1ea8-4f1a-ba0a-1170292fe588", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fe771508-afd1-4bc0-883c-42da8527cef0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "228a1148-61b0-40b0-a453-b2163dc4b01c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cfa5b001-4940-4b21-90e7-5bdc039937ab", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4bee7a7b-fbe9-4c9a-8bae-937870d93e3b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "076c2737-ecf2-49ee-9126-eee910071309", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "061e48c0-5e44-4219-bae5-2a4a6a7df7a1", "documentation": "List All Floating IPs", "method": "get", "endpoint": "v2/floating_ips", "responses": [ { "uuid": "c49a4760-4bfb-4669-9f55-76c06b42d08e", "body": "{\n \"floating_ips\": [\n {\n \"droplet\": null,\n \"ip\": \"45.55.96.47\",\n \"locked\": false,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n }\n }\n ],\n \"links\": {},\n \"meta\": {\n \"total\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `floating_ips`. This will be set to an array of floating IP objects, each of which will contain the standard floating IP attributes", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "54217904-a3de-41f9-b030-0b85abbd3eaa", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a7071fed-d3d0-4207-9499-e0a87e01f475", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e66ea79c-c9fe-49cc-b668-518616713bc9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5328acfb-d453-4e65-b3a0-ff53d7f94946", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "228e6f9e-ca55-4e6e-af7c-467fb261c1cd", "documentation": "Create a New Floating IP", "method": "post", "endpoint": "v2/floating_ips", "responses": [ { "uuid": "e78de9b3-fe32-4f3e-99ee-4b9ca5d5ad12", "body": "{\n \"floating_ip\": {\n \"droplet\": \"\",\n \"ip\": \"45.55.96.47\",\n \"locked\": true,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n }\n },\n \"links\": {\n \"actions\": [\n {\n \"href\": \"https://api.digitalocean.com/v2/actions/7515\",\n \"id\": 7515,\n \"rel\": \"create\"\n }\n ],\n \"droplets\": [\n {\n \"href\": \"https://api.digitalocean.com/v2/actions/7515\",\n \"id\": 7515,\n \"rel\": \"create\"\n }\n ]\n }\n}", "latency": 0, "statusCode": 202, "label": "The response will be a JSON object with a key called `floating_ip`. The value of this will be an object that contains the standard attributes associated with a floating IP.\nWhen assigning a floating IP to a Droplet at same time as it created, the response's `links` object will contain links to both the Droplet and the assignment action. The latter can be used to check the status of the action.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "50d2683b-d008-40cf-b519-068c9e76b3c7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2186ba17-5ab0-4507-87b3-17239811f3cb", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8998c908-c770-464c-a7b0-6293744613ff", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7c78f131-3e67-42a7-a293-6ed5de96d23f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2e2fe332-1ee1-4361-8b46-a2b0decdd859", "documentation": "Delete a Floating IPs", "method": "delete", "endpoint": "v2/floating_ips/:floating_ip", "responses": [ { "uuid": "98161989-0e05-4403-bdbe-aea30d551ff3", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "181dd85e-f30d-4d7f-bed8-0f7fb2b3e2c3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b78d22f5-6703-4a0c-ae8a-6f171337cf4f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ec4bc43c-f339-4f3a-bfec-0693e50bc038", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6576c9bd-51ca-4962-b0fd-b52b05110fad", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "12b09804-0b87-4a58-967d-e626d7bc3075", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c2a43822-299b-459a-b475-a56470a3f275", "documentation": "Retrieve an Existing Floating IP", "method": "get", "endpoint": "v2/floating_ips/:floating_ip", "responses": [ { "uuid": "910a6347-c74f-431f-bb2e-cc730608abed", "body": "{\n \"floating_ip\": {\n \"droplet\": \"\",\n \"ip\": \"45.55.96.47\",\n \"locked\": true,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n }\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `floating_ip`. The value of this will be an object that contains the standard attributes associated with a floating IP.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fdf5842a-2d97-4e41-a722-b8ba88d00651", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d2f20c68-ec69-4be2-a0c4-3e09aa2b6760", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "90590a77-324f-4b8b-804d-ad064a201915", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "04fbe183-093b-4172-917e-d255bcb9eb9b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "69c38101-20c8-4775-800a-1ba6a764f1d9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "f801aec4-0810-4c78-bb89-c39e28d8185d", "documentation": "List All Actions for a Floating IP", "method": "get", "endpoint": "v2/floating_ips/:floating_ip/actions", "responses": [ { "uuid": "38b71238-ffc3-41da-a798-e19fa791b880", "body": "{\n \"actions\": [\n {\n \"completed_at\": \"2015-11-21T21:51:09Z\",\n \"id\": 72531856,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192gb\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"nyc3\",\n \"resource_id\": 758604197,\n \"resource_type\": \"floating_ip\",\n \"started_at\": \"2015-11-21T21:51:09Z\",\n \"status\": \"completed\",\n \"type\": \"reserve_ip\"\n }\n ],\n \"links\": {},\n \"meta\": {\n \"total\": 1\n }\n}", "latency": 0, "statusCode": 200, "label": "The results will be returned as a JSON object with an `actions` key. This will be set to an array filled with action objects containing the standard floating IP action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b86cc089-221d-4001-adc1-d931adfcb356", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3ed4904f-38ff-4d12-a101-f267c6b52c78", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1ca93392-ad07-4cbb-8242-68146158890b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8124c678-6992-43df-ae2a-c256c5391987", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f540a8c6-9b47-4374-ae0a-65f0b39f5d23", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9b52ae2a-4112-4329-b3af-56ef25a318c8", "documentation": "Initiate a Floating IP Action", "method": "post", "endpoint": "v2/floating_ips/:floating_ip/actions", "responses": [ { "uuid": "064aa920-7f92-44ed-9347-161b4e4ab6f8", "body": "{\n \"action\": {\n \"completed_at\": \"2015-11-12T17:51:14Z\",\n \"id\": 72531856,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192gb\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"nyc3\",\n \"resource_id\": 758604968,\n \"resource_type\": \"floating_ip\",\n \"started_at\": \"2015-11-12T17:51:03Z\",\n \"status\": \"completed\",\n \"type\": \"assign_ip\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The response will be an object with a key called `action`. The value of this will be an object that contains the standard floating IP action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "fcfc9ee4-4056-41fb-b12a-bea43352741b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e81efee7-1151-4913-8310-45aeb7809956", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1ebd931d-9db3-4625-9e81-877166982512", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "234601ed-aba5-4816-9859-91150c31f4c5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a26b67ca-8760-457c-a4e0-68b423878491", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e56953bf-7dbf-4d96-97aa-673c53b7fbdb", "documentation": "Retrieve an Existing Floating IP Action", "method": "get", "endpoint": "v2/floating_ips/:floating_ip/actions/:action_id", "responses": [ { "uuid": "525247b4-fdff-413c-8c9b-d5bdc83e08d3", "body": "{\n \"action\": {\n \"completed_at\": \"2015-11-12T17:51:14Z\",\n \"id\": 72531856,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192gb\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"nyc3\",\n \"resource_id\": 758604968,\n \"resource_type\": \"floating_ip\",\n \"started_at\": \"2015-11-12T17:51:03Z\",\n \"status\": \"completed\",\n \"type\": \"assign_ip\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be an object with a key called `action`. The value of this will be an object that contains the standard floating IP action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "30ae62b5-f683-4cac-90bb-1f5941ffffaf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3c77319d-e795-4668-9093-15de4a36e717", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bf7132e8-8971-4142-bf7e-3850d7a414fd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4564e89f-6435-48cd-ac94-f8ab1432aef2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5189dc7c-daba-45ab-9000-e6b19202f3bf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3b8a1d0e-5bdb-4761-bc34-0eeab2ea569d", "documentation": "List All Images", "method": "get", "endpoint": "v2/images", "responses": [ { "uuid": "c014c4e5-945e-43a6-bb67-acbafb91383e", "body": "{\n \"images\": [\n {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `images`. This will be set to an array of image objects, each of which will contain the standard image attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cf25cb76-3386-4744-ac07-bbca596c67b7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9c6158da-69dc-40ac-8c43-36f17dd8ff12", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "93c6f1eb-016b-4541-b153-d65a612065c6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "215b1090-1bda-427b-8d9a-dbd3c3a165c4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "16604c0f-d77a-417d-ba49-a7f615c63255", "documentation": "Create a Custom Image", "method": "post", "endpoint": "v2/images", "responses": [ { "uuid": "3d1c8812-1c9f-4b13-a052-e140bd739a2e", "body": "{\n \"image\": {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n }\n}", "latency": 0, "statusCode": 202, "label": "The response will be a JSON object with a key set to `image`. The value of this will be an image object containing a subset of the standard image attributes as listed below, including the image's `id` and `status`. After initial creation, the `status` will be `NEW`. Using the image's id, you may query the image's status by sending a `GET` request to the `/v2/images/$IMAGE_ID` endpoint. When the `status` changes to `available`, the image will be ready for use.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "980bfa7a-acca-4ff1-8529-e72c63f227db", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b663a0bf-c0a1-4e4b-88cd-da05cc123651", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "44ddcbbd-3c8c-436d-ae96-d8648779953e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ab74eb04-2bc5-4a7a-a442-8e450e94257f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "413bfd66-c993-446c-be87-670b0af86e1a", "documentation": "Delete an Image", "method": "delete", "endpoint": "v2/images/:image_id", "responses": [ { "uuid": "cae68514-d0e4-42b9-93bc-9c2b5f29bbc8", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "40696567-ebfd-41e5-aacb-1e78f0675bc9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6efc2ec8-b535-454d-9461-70b597e9e974", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e44d46b8-6a38-4439-987d-6ada95b97873", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "8de134d4-af3e-4072-a691-2d752e0e938b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "07352454-297c-4a8c-befc-7f4cbb7dfe02", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4d76cb3c-1658-43d8-9fa4-03d508433b19", "documentation": "Retrieve an Existing Image", "method": "get", "endpoint": "v2/images/:image_id", "responses": [ { "uuid": "4a8b3863-b49b-4126-bddf-534bfa9a853f", "body": "{\n \"image\": {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `image`. The value of this will be an image object containing the standard image attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f5a2d5c8-e85c-4517-8e6a-8255350b0209", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "37c4707e-ba0a-442d-b6d9-7b9685fcb7ba", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bd94665a-18e2-441b-8b3f-a0fe40168495", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "abaee347-56fe-40bf-b90f-e096bc1a3f24", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3be95cee-37d5-4492-8ed0-d5a5a4598e6f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1f996495-4a52-4373-b989-c4b362ca9050", "documentation": "Update an Image", "method": "put", "endpoint": "v2/images/:image_id", "responses": [ { "uuid": "e40195d0-eba2-4958-8e56-78bb1e056f12", "body": "{\n \"image\": {\n \"created_at\": \"2020-05-04T22:23:02Z\",\n \"description\": \" \",\n \"distribution\": \"{{oneOf (array 'Arch Linux' 'CentOS' 'CoreOS' 'Debian' 'Fedora' 'Fedora Atomic' 'FreeBSD' 'Gentoo' 'openSUSE' 'RancherOS' 'Ubuntu' 'Unknown')}}\",\n \"error_message\": \" \",\n \"id\": 7555620,\n \"min_disk_size\": 20,\n \"name\": \"Nifty New Snapshot\",\n \"public\": true,\n \"regions\": [\n \"nyc1\",\n \"nyc2\"\n ],\n \"size_gigabytes\": 2.34,\n \"slug\": \"nifty1\",\n \"status\": \"{{oneOf (array 'NEW' 'new' 'available' 'pending' 'deleted' 'retired')}}\",\n \"tags\": [\n \"base-image\",\n \"prod\"\n ],\n \"type\": \"{{oneOf (array 'base' 'snapshot' 'backup' 'custom')}}\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key set to `image`. The value of this will be an image object containing the standard image attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "f3e18df9-d5f4-4d24-9702-21e0479fb930", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6bea9b2c-2212-44a7-9fa1-d5bf32c03026", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "11f9c6ff-6f5a-4e21-ae0d-b0b7505e98c7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1dfed245-2d15-415d-b682-c26378370a5f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "64f069f2-d556-41b1-92fd-83f2f25ab683", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8223b13e-f31c-4f5f-bd60-8ae06ee6c827", "documentation": "List All Actions for an Image", "method": "get", "endpoint": "v2/images/:image_id/actions", "responses": [ { "uuid": "9e05dfac-d05c-40e8-a17c-4a18fa9a21ee", "body": "{\n \"actions\": [\n {\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The results will be returned as a JSON object with an `actions` key. This will be set to an array filled with action objects containing the standard action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "52bae2b2-9d87-4a4f-a3a2-517c437a6403", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "028ab4d8-9098-419c-845b-fccb6ed78351", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "3cd11c92-958a-46a3-8572-ef16322482a2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "61620008-8045-407f-bbdc-452e32bc69df", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0f2a364e-9553-4b7a-a026-9417a7dbfbac", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "78556c41-7d2f-4875-8bd2-b1fb499a6e72", "documentation": "Initiate an Image Action", "method": "post", "endpoint": "v2/images/:image_id/actions", "responses": [ { "uuid": "054cca3f-ee4b-47a4-94ad-f29f485213be", "body": "{\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with a key called `action`. The value of this will be an object containing the standard image action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e0243756-c2ed-4a03-9a37-5d971b7cfe71", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "42fb8531-9d78-46e6-9e59-7ae33c3082d6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "76924c1c-8d2e-4231-9bff-1c84c414ec4d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "33cd95bd-d3be-4a2a-a0e3-505e860e988a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6e502102-1a67-46c9-a446-52db0fd7ba8a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "348224a6-aab7-425a-a7e3-6ff52d8b43b3", "documentation": "Retrieve an Existing Action", "method": "get", "endpoint": "v2/images/:image_id/actions/:action_id", "responses": [ { "uuid": "d896ef8b-6b11-402a-b5d0-be33f74233f3", "body": "{\n \"completed_at\": \"2020-11-14T16:30:06Z\",\n \"id\": 36804636,\n \"region\": {\n \"available\": true,\n \"features\": [\n \"private_networking\",\n \"backups\",\n \"ipv6\",\n \"metadata\",\n \"install_agent\",\n \"storage\",\n \"image_transfer\"\n ],\n \"name\": \"New York 3\",\n \"sizes\": [\n \"s-1vcpu-1gb\",\n \"s-1vcpu-2gb\",\n \"s-1vcpu-3gb\",\n \"s-2vcpu-2gb\",\n \"s-3vcpu-1gb\",\n \"s-2vcpu-4gb\",\n \"s-4vcpu-8gb\",\n \"s-6vcpu-16gb\",\n \"s-8vcpu-32gb\",\n \"s-12vcpu-48gb\",\n \"s-16vcpu-64gb\",\n \"s-20vcpu-96gb\",\n \"s-24vcpu-128gb\",\n \"s-32vcpu-192g\"\n ],\n \"slug\": \"nyc3\"\n },\n \"region_slug\": \"\",\n \"resource_id\": 3164444,\n \"resource_type\": \"droplet\",\n \"started_at\": \"2020-11-14T16:29:21Z\",\n \"status\": \"{{oneOf (array 'in-progress' 'completed' 'errored')}}\",\n \"type\": \"create\"\n}", "latency": 0, "statusCode": 200, "label": "The response will be an object with a key called `action`. The value of this will be an object that contains the standard image action attributes.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "dd566c69-9ed4-4c15-a1a4-801a3870e691", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "40f331ec-a9d2-40a6-83d0-b1828c27d61b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a0952ed9-c1da-4ad4-b47a-4134624f4c87", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a25620de-7fbf-4cfc-a01f-fccb8edf8883", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a086c53-8d57-424d-9f19-446046dc7efd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b76e1a5e-7bb0-4b2b-a525-673b8c8a33ad", "documentation": "List All Kubernetes Clusters", "method": "get", "endpoint": "v2/kubernetes/clusters", "responses": [ { "uuid": "7595faae-a247-4fa7-839f-dec1ac8367b0", "body": "{\n \"kubernetes_clusters\": [\n {\n \"auto_upgrade\": true,\n \"cluster_subnet\": \"10.244.0.0/16\",\n \"created_at\": \"2018-11-15T16:00:11Z\",\n \"endpoint\": \"https://bd5f5959-5e1e-4205-a714-a914373942af.k8s.ondigitalocean.com\",\n \"id\": \"bd5f5959-5e1e-4205-a714-a914373942af\",\n \"ipv4\": \"68.183.121.157\",\n \"maintenance_policy\": {\n \"day\": \"{{oneOf (array 'any' 'monday' 'tuesday' 'wednesday' 'thursday' 'friday' 'saturday' 'sunday')}}\",\n \"duration\": \"4h0m0s\",\n \"start_time\": \"12:00\"\n },\n \"name\": \"prod-cluster-01\",\n \"node_pools\": [\n {\n \"size\": \"s-1vcpu-2gb\"\n }\n ],\n \"region\": \"nyc1\",\n \"registry_enabled\": true,\n \"service_subnet\": \"10.245.0.0/16\",\n \"status\": {\n \"message\": \"provisioning\",\n \"state\": \"{{oneOf (array 'running' 'provisioning' 'degraded' 'error' 'deleted' 'upgrading' 'deleting')}}\"\n },\n \"surge_upgrade\": true,\n \"tags\": [\n \"k8s\",\n \"k8s:bd5f5959-5e1e-4205-a714-a914373942af\",\n \"production\",\n \"web-team\"\n ],\n \"updated_at\": \"2018-11-15T16:00:11Z\",\n \"version\": \"1.18.6-do.0\",\n \"vpc_uuid\": \"c33931f2-a26a-4e61-b85c-4e95a2ec431b\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `kubernetes_clusters`.\nThis will be set to an array of objects, each of which will contain the\nstandard Kubernetes cluster attributes.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "a47884d0-dfd4-4eff-8b9f-e3393ffcfcba", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "53211aef-8137-4550-8bcc-919abbd656fa", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a1e01ca5-4fda-4b19-9dc6-043e141a29f7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "25ecfe33-f6e6-4c09-b751-fa4fe22195bc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b6aa9198-24f5-4d55-a51f-cc6fb8873801", "documentation": "Create a New Kubernetes Cluster", "method": "post", "endpoint": "v2/kubernetes/clusters", "responses": [ { "uuid": "b72bd613-99b1-4816-a871-5e5bb84b11f0", "body": "{\n \"kubernetes_cluster\": {\n \"auto_upgrade\": true,\n \"cluster_subnet\": \"10.244.0.0/16\",\n \"created_at\": \"2018-11-15T16:00:11Z\",\n \"endpoint\": \"https://bd5f5959-5e1e-4205-a714-a914373942af.k8s.ondigitalocean.com\",\n \"id\": \"bd5f5959-5e1e-4205-a714-a914373942af\",\n \"ipv4\": \"68.183.121.157\",\n \"maintenance_policy\": {\n \"day\": \"{{oneOf (array 'any' 'monday' 'tuesday' 'wednesday' 'thursday' 'friday' 'saturday' 'sunday')}}\",\n \"duration\": \"4h0m0s\",\n \"start_time\": \"12:00\"\n },\n \"name\": \"prod-cluster-01\",\n \"node_pools\": [\n {\n \"size\": \"s-1vcpu-2gb\"\n }\n ],\n \"region\": \"nyc1\",\n \"registry_enabled\": true,\n \"service_subnet\": \"10.245.0.0/16\",\n \"status\": {\n \"message\": \"provisioning\",\n \"state\": \"{{oneOf (array 'running' 'provisioning' 'degraded' 'error' 'deleted' 'upgrading' 'deleting')}}\"\n },\n \"surge_upgrade\": true,\n \"tags\": [\n \"k8s\",\n \"k8s:bd5f5959-5e1e-4205-a714-a914373942af\",\n \"production\",\n \"web-team\"\n ],\n \"updated_at\": \"2018-11-15T16:00:11Z\",\n \"version\": \"1.18.6-do.0\",\n \"vpc_uuid\": \"c33931f2-a26a-4e61-b85c-4e95a2ec431b\"\n }\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with a key called `kubernetes_cluster`. The\nvalue of this will be an object containing the standard attributes of a\nKubernetes cluster.\n\nThe IP address and cluster API server endpoint will not be available until the\ncluster has finished provisioning. The initial value of the cluster's\n`status.state` attribute will be `provisioning`. When the cluster is ready,\nthis will transition to `running`.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9b2055a2-36a9-47cd-a7f6-0165630cda98", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "574ff1a0-6d18-43f8-b4f0-af3d6bf285d3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c259586a-4884-4768-8ba6-d51105231052", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "09f2323f-735e-45b9-9636-da2dbe0cf4e6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "3cfd4b6b-3bf3-4dda-9c76-412a9d474369", "documentation": "Delete a Kubernetes Cluster", "method": "delete", "endpoint": "v2/kubernetes/clusters/:cluster_id", "responses": [ { "uuid": "30a8fd0b-2447-4f62-9037-6b843d8222c0", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9095b526-4de2-4729-97db-88097339cde9", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ddca14ba-9cc0-459d-9dc4-3daeef3eff71", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9c2121fa-e9d9-4590-83bd-a2573a0d74d4", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e7a7353c-d1dd-4fac-bb69-2d827680b130", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fef80ae6-6132-4673-a9b6-4472e815076c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b1d74ee1-22e5-41ae-b762-e1b8b5dca495", "documentation": "Retrieve an Existing Kubernetes Cluster", "method": "get", "endpoint": "v2/kubernetes/clusters/:cluster_id", "responses": [ { "uuid": "b1025502-ada0-416e-83ea-fc15aea0db0f", "body": "{\n \"kubernetes_cluster\": {\n \"auto_upgrade\": true,\n \"cluster_subnet\": \"10.244.0.0/16\",\n \"created_at\": \"2018-11-15T16:00:11Z\",\n \"endpoint\": \"https://bd5f5959-5e1e-4205-a714-a914373942af.k8s.ondigitalocean.com\",\n \"id\": \"bd5f5959-5e1e-4205-a714-a914373942af\",\n \"ipv4\": \"68.183.121.157\",\n \"maintenance_policy\": {\n \"day\": \"{{oneOf (array 'any' 'monday' 'tuesday' 'wednesday' 'thursday' 'friday' 'saturday' 'sunday')}}\",\n \"duration\": \"4h0m0s\",\n \"start_time\": \"12:00\"\n },\n \"name\": \"prod-cluster-01\",\n \"node_pools\": [\n {\n \"size\": \"s-1vcpu-2gb\"\n }\n ],\n \"region\": \"nyc1\",\n \"registry_enabled\": true,\n \"service_subnet\": \"10.245.0.0/16\",\n \"status\": {\n \"message\": \"provisioning\",\n \"state\": \"{{oneOf (array 'running' 'provisioning' 'degraded' 'error' 'deleted' 'upgrading' 'deleting')}}\"\n },\n \"surge_upgrade\": true,\n \"tags\": [\n \"k8s\",\n \"k8s:bd5f5959-5e1e-4205-a714-a914373942af\",\n \"production\",\n \"web-team\"\n ],\n \"updated_at\": \"2018-11-15T16:00:11Z\",\n \"version\": \"1.18.6-do.0\",\n \"vpc_uuid\": \"c33931f2-a26a-4e61-b85c-4e95a2ec431b\"\n }\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `kubernetes_cluster`. The\nvalue of this will be an object containing the standard attributes of a\nKubernetes cluster.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "2c3b3170-d625-47d2-b901-c831d1f455af", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "55c03c67-6820-45c5-a6de-4a9dfaed9808", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "00367daf-7b72-4caf-83d7-0a8fae4cd9ac", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "0d6702ac-1ab9-4820-b663-c626dbbb005b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7e376cc7-d8a2-4aef-8979-9f363b2b015e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "2cae6161-c153-493d-bfad-4eae022d62ab", "documentation": "Update a Kubernetes Cluster", "method": "put", "endpoint": "v2/kubernetes/clusters/:cluster_id", "responses": [ { "uuid": "82b7efbe-de41-45ee-a25c-8f58f2954917", "body": "{\n \"kubernetes_cluster\": {\n \"auto_upgrade\": true,\n \"cluster_subnet\": \"10.244.0.0/16\",\n \"created_at\": \"2018-11-15T16:00:11Z\",\n \"endpoint\": \"https://bd5f5959-5e1e-4205-a714-a914373942af.k8s.ondigitalocean.com\",\n \"id\": \"bd5f5959-5e1e-4205-a714-a914373942af\",\n \"ipv4\": \"68.183.121.157\",\n \"maintenance_policy\": {\n \"day\": \"{{oneOf (array 'any' 'monday' 'tuesday' 'wednesday' 'thursday' 'friday' 'saturday' 'sunday')}}\",\n \"duration\": \"4h0m0s\",\n \"start_time\": \"12:00\"\n },\n \"name\": \"prod-cluster-01\",\n \"node_pools\": [\n {\n \"size\": \"s-1vcpu-2gb\"\n }\n ],\n \"region\": \"nyc1\",\n \"registry_enabled\": true,\n \"service_subnet\": \"10.245.0.0/16\",\n \"status\": {\n \"message\": \"provisioning\",\n \"state\": \"{{oneOf (array 'running' 'provisioning' 'degraded' 'error' 'deleted' 'upgrading' 'deleting')}}\"\n },\n \"surge_upgrade\": true,\n \"tags\": [\n \"k8s\",\n \"k8s:bd5f5959-5e1e-4205-a714-a914373942af\",\n \"production\",\n \"web-team\"\n ],\n \"updated_at\": \"2018-11-15T16:00:11Z\",\n \"version\": \"1.18.6-do.0\",\n \"vpc_uuid\": \"c33931f2-a26a-4e61-b85c-4e95a2ec431b\"\n }\n}", "latency": 0, "statusCode": 202, "label": "The response will be a JSON object with a key called `kubernetes_cluster`. The\nvalue of this will be an object containing the standard attributes of a\nKubernetes cluster.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7fd98512-d1ca-458e-b6fd-5565df4de2bf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "59ed75ce-122c-4330-8d1f-b74c6c93f8c5", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2bb01430-72ca-46bf-bbfe-fc7b92a4f0e8", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "fcff15ed-c688-48a4-9b7b-ee327b993d2d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5cf116f2-ee00-47dd-a3cb-c82635cd8107", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8e8d52fe-7d23-4dbf-843c-0e0c6933dd7d", "documentation": "Fetch Clusterlint Diagnostics for a Kubernetes Cluster", "method": "get", "endpoint": "v2/kubernetes/clusters/:cluster_id/clusterlint", "responses": [ { "uuid": "44e5fd34-42fe-4f6d-9e55-120ead826a2b", "body": "{\n \"completed_at\": \"2019-10-30T05:34:11Z\",\n \"diagnostics\": [\n {\n \"check_name\": \"unused-config-map\",\n \"message\": \"Unused config map\",\n \"object\": {\n \"kind\": \"config map\",\n \"name\": \"foo\",\n \"namespace\": \"kube-system\"\n },\n \"severity\": \"warning\"\n }\n ],\n \"requested_at\": \"2019-10-30T05:34:07Z\",\n \"run_id\": \"50c2f44c-011d-493e-aee5-361a4a0d1844\"\n}", "latency": 0, "statusCode": 200, "label": "The response is a JSON object which contains the diagnostics on Kubernetes\nobjects in the cluster. Each diagnostic will contain some metadata information\nabout the object and feedback for users to act upon.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0cebb104-39f5-41ee-8476-69579a9d5c9e", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2dac271b-50a0-4d3c-b056-0da7b78f5391", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5cb830c7-66d0-4ecb-a520-734b9f429e0c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c78fe00f-552a-40fc-afeb-4f30b251eb1b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ba6e1259-3fbe-462b-a406-3e4ae19a0475", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "a0e565f2-026e-469e-b2a3-07e12ccf7e95", "documentation": "Run Clusterlint Checks on a Kubernetes Cluster", "method": "post", "endpoint": "v2/kubernetes/clusters/:cluster_id/clusterlint", "responses": [ { "uuid": "488af0c9-f921-4da1-9a9f-fb6d9c87a096", "body": "{\n \"run_id\": \"50c2f44c-011d-493e-aee5-361a4a0d1844\"\n}", "latency": 0, "statusCode": 202, "label": "The response is a JSON object with a key called `run_id` that you can later use to fetch the run results.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "724fd029-673b-4bfb-8c4f-92f7e9ba62e0", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2a9f2b54-78a5-404e-b78a-1c54f10abd9c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "5acfac61-7116-438e-b2d4-d050588966ee", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "599b8705-34e1-4ce7-8142-b98c47c4ae9d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f8951fdf-f3d3-4112-95c9-1c860df10d14", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d3409a7c-4f4c-4abb-8a7f-9da0b4f6766f", "documentation": "Retrieve Credentials for a Kubernetes Cluster", "method": "get", "endpoint": "v2/kubernetes/clusters/:cluster_id/credentials", "responses": [ { "uuid": "a6210e20-efbb-473c-9719-73bb824b7208", "body": "{\n \"certificate_authority_data\": \"LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURKekNDQWcrZ0F3SUJBZ0lDQm5Vd0RRWUpLb1pJaHZjTkFRRUxCUUF3TXpFVk1CTUdBMVVFQ2hNTVJHbG4KYVhSaGJFOWpaV0Z1TVJvd0dBWURWUVFERXhGck9ITmhZWE1nUTJ4MWMzUmxjaUJEUVRBZUZ3MHlNREE0TURNeApOVEkxTWpoYUZ3MDBNREE0TURNeE5USTFNamhhTURNeEZUQVRCZ05WQkFvVERFUnBaMmwwWVd4UFkyVmhiakVhCk1CZ0dBMVVFQXhNUmF6aHpZV0Z6SUVOc2RYTjBaWElnUTBFd2dnRWlNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUIKRHdBd2dnRUtBb0lCQVFDc21oa2JrSEpUcGhZQlN0R05VVE1ORVZTd2N3bmRtajArelQvcUZaNGsrOVNxUnYrSgpBd0lCaGpBU0JnTlZIUk1CQWY4RUNEQUdBUUgvQWdFQU1CMEdBMVVkRGdRV0JCUlRzazhhZ1hCUnFyZXdlTXJxClhwa3E1NXg5dVRBTkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQXB6V2F6bXNqYWxXTEx3ZjVpbWdDblNINDlKcGkKYWkvbzFMdEJvVEpleGdqZzE1ZVppaG5BMUJMc0lWNE9BZGM3UEFsL040L0hlbENrTDVxandjamRnNVdaYnMzYwozcFVUQ0g5bVVwMFg1SVdhT1VKV292Q1hGUlM1R2VKYXlkSDVPUXhqTURzR2N2UlNvZGQrVnQ2MXE3aWdFZ2I1CjBOZ1l5RnRnc2p0MHpJN3hURzZFNnlsOVYvUmFoS3lIQks2eExlM1RnUGU4SXhWa2RwT3QzR0FhSDRaK0pLR3gKYisyMVZia1NnRE1QQTlyR0VKNVZwVXlBV0FEVXZDRVFHV0hmNGpQN2ZGZlc3T050S0JWY3h3YWFjcVBVdUhzWApwRG5DZVR3V1NuUVp6L05xNmQxWUtsMFdtbkwzTEowemJzRVFGbEQ4MkkwL09MY2dZSDVxMklOZHhBPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=\",\n \"client_certificate_data\": \"\",\n \"client_key_data\": \"\",\n \"expires_at\": \"2019-11-09T11:50:28.889080521Z\",\n \"server\": \"https://bd5f5959-5e1e-4205-a714-a914373942af.k8s.ondigitalocean.com\",\n \"token\": \"$DIGITALOCEAN_TOKEN\"\n}", "latency": 0, "statusCode": 200, "label": "A JSON object containing credentials for a cluster.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9e7c0a68-ac6d-402d-8969-49fa77ea3e98", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1a16f472-1062-473e-a0c1-2281cad0743c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b2148a61-23e1-43d4-9e8e-81a278ff412b", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4146d3a7-ba6c-4c0d-8862-a4635696f486", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "7aed8c7a-b1ed-4c09-85d1-24c25bfeb7f2", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "90c3b9fd-5b2e-4437-a1c0-21555cf2e592", "documentation": "List Associated Resources for Cluster Deletion", "method": "get", "endpoint": "v2/kubernetes/clusters/:cluster_id/destroy_with_associated_resources", "responses": [ { "uuid": "fc266859-4932-45f9-91f0-4d3b6da8175b", "body": "{\n \"load_balancers\": [\n {\n \"id\": \"4de7ac8b-495b-4884-9a69-1050c6793cd6\",\n \"name\": \"lb-001\"\n }\n ],\n \"volume_snapshots\": [\n {\n \"id\": \"edb0478d-7436-11ea-86e6-0a58ac144b91\",\n \"name\": \"snapshot-001\"\n }\n ],\n \"volumes\": [\n {\n \"id\": \"ba49449a-7435-11ea-b89e-0a58ac14480f\",\n \"name\": \"volume-001\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object containing `load_balancers`, `volumes`, and `volume_snapshots` keys. Each will be set to an array of objects containing the standard attributes for associated resources.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "29baab06-7e2f-4351-abe6-3d8201bce480", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2ce6cd20-0379-4c3c-b2b9-87919b023e68", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9da62fd1-d110-42b3-aa55-a478ca9a26ed", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ad8a9b2c-8d5f-4881-a5ab-48cbf305ac3f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2255aed4-6775-4efc-b364-f87341a40abc", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1ecc7648-eaec-4047-9f8b-87398dccd789", "documentation": "Delete a Cluster and All of its Associated Resources (Dangerous)", "method": "delete", "endpoint": "v2/kubernetes/clusters/:cluster_id/destroy_with_associated_resources/dangerous", "responses": [ { "uuid": "8541f581-0c32-4b03-b96a-7fd1321d3521", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3e5d216b-56d0-4a78-8909-c98d22f7a64c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f343ffac-faab-4fd4-8467-68f9dcf32360", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a068046d-5799-4dea-9fae-48d742a43207", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd3467c1-5c1c-48a9-8700-d79ab57e84bf", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c33b9a06-c67d-47b9-96ca-3b897a2310f6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "bd0c5307-5314-4a75-9d8f-69c19db30e91", "documentation": "Selectively Delete a Cluster and its Associated Resources", "method": "delete", "endpoint": "v2/kubernetes/clusters/:cluster_id/destroy_with_associated_resources/selective", "responses": [ { "uuid": "7fb3730e-b985-4a52-a867-5ada35f7ecb2", "body": "", "latency": 0, "statusCode": 204, "label": "The action was successful and the response body is empty.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "6e047652-1df6-4a25-ba62-fade5f941f71", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "29e651f6-4ab2-44d0-a2f8-f03875bcd8a7", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c9be515c-659e-4782-ac44-01e3ce62c042", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2ffda355-e05e-431f-9601-5f2b84eb6543", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "26b72f25-eb5c-4135-930b-5720a24d1849", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1dae3b74-333f-4296-a550-c8560f65f1de", "documentation": "Retrieve the kubeconfig for a Kubernetes Cluster", "method": "get", "endpoint": "v2/kubernetes/clusters/:cluster_id/kubeconfig", "responses": [ { "uuid": "2fe8e07e-86a0-4da2-8ce9-08bdb5ef3d87", "body": "", "latency": 0, "statusCode": 200, "label": "A kubeconfig file for the cluster in YAML format.", "headers": [ { "key": "Content-Type", "value": "application/yaml" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "39c34271-52ae-4060-995f-011211b382e3", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ada29403-88ed-4a16-815a-e3059f29296f", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "10144bb9-2a14-4bf8-b2c1-9c86acce286c", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6e0ea56e-5f43-4ea0-93cd-9dbc73ac2671", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c66f3abd-4bdc-4deb-880e-4a257c2675b6", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "25d6a02d-d372-4722-b682-f6ab175c40e4", "documentation": "List All Node Pools in a Kubernetes Clusters", "method": "get", "endpoint": "v2/kubernetes/clusters/:cluster_id/node_pools", "responses": [ { "uuid": "dabbdbd7-fdb7-43cf-91c0-701761f90735", "body": "{\n \"node_pools\": [\n {\n \"size\": \"s-1vcpu-2gb\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "The response will be a JSON object with a key called `node_pools`. This will\nbe set to an array of objects, each of which will contain the standard node\npool attributes.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b85ed9bd-8a0d-4cfe-8782-c74bf1ec0a83", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "69394008-ed6d-45d5-bd00-30345df4738a", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c074b701-b5e3-4604-9e73-9548d81566bd", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cf8ccd27-6979-44f5-8a3b-0959aa1c2922", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 500, "label": "Server error.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "bdfc9f07-3b5e-4542-8833-6a252066ce99", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 200, "label": "Unexpected error", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b9de59b0-1d3f-4d50-88e4-2429fe21e89c", "documentation": "Add a Node Pool to a Kubernetes Cluster", "method": "post", "endpoint": "v2/kubernetes/clusters/:cluster_id/node_pools", "responses": [ { "uuid": "0b85d0aa-9c3f-45d2-b6c0-40c381d8feb3", "body": "{\n \"node_pool\": {\n \"auto_scale\": true,\n \"count\": 3,\n \"id\": \"cdda885e-7663-40c8-bc74-3a036c66545d\",\n \"labels\": null,\n \"max_nodes\": 6,\n \"min_nodes\": 3,\n \"name\": \"new-pool\",\n \"nodes\": [\n {\n \"created_at\": \"2018-11-15T16:00:11Z\",\n \"droplet_id\": \" \",\n \"id\": \"478247f8-b1bb-4f7a-8db9-2a5f8d4b8f8f\",\n \"name\": \" \",\n \"status\": {\n \"state\": \"provisioning\"\n },\n \"updated_at\": \"2018-11-15T16:00:11Z\"\n },\n {\n \"created_at\": \"2018-11-15T16:00:11Z\",\n \"droplet_id\": \" \",\n \"id\": \"ad12e744-c2a9-473d-8aa9-be5680500eb1\",\n \"name\": \" \",\n \"status\": {\n \"state\": \"provisioning\"\n },\n \"updated_at\": \"2018-11-15T16:00:11Z\"\n },\n {\n \"created_at\": \"2018-11-15T16:00:11Z\",\n \"droplet_id\": \" \",\n \"id\": \"e46e8d07-f58f-4ff1-9737-97246364400e\",\n \"name\": \" \",\n \"status\": {\n \"state\": \"provisioning\"\n },\n \"updated_at\": \"2018-11-15T16:00:11Z\"\n }\n ],\n \"size\": \"s-1vcpu-2gb\",\n \"tags\": [\n \"production\",\n \"web-team\",\n \"front-end\",\n \"k8s\",\n \"k8s:bd5f5959-5e1e-4205-a714-a914373942af\",\n \"k8s:worker\"\n ],\n \"taints\": []\n }\n}", "latency": 0, "statusCode": 201, "label": "The response will be a JSON object with a key called `node_pool`. The value of\nthis will be an object containing the standard attributes of a node pool.\n", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "13fca4b5-de33-437f-b32a-e7586bb41a3d", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 401, "label": "Unauthorized", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9cdd99be-0e1c-48ff-ab0d-9b220a293140", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 404, "label": "The resource was not found.", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-remaining", "value": "" }, { "key": "ratelimit-reset", "value": "" } ], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a032c313-81ef-4472-9c71-c8f1e4338a57", "body": "{\n \"id\": \"not_found\",\n \"message\": \"The resource you were accessing could not be found.\",\n \"request_id\": \"4d9d8375-3c56-4925-a3e7-eb137fed17e9\"\n}", "latency": 0, "statusCode": 429, "label": "API Rate limit exceeded", "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "ratelimit-limit", "value": "" }, { "key": "ratelimit-re