{ "opencollection": "1.0.0", "info": { "name": "DigitalOcean Floating IPs API", "version": "2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Floating IPs", "type": "folder" }, "items": [ { "info": { "name": "List All Floating IPs", "type": "http" }, "http": { "method": "GET", "url": "https://api.digitalocean.com/v2/floating_ips", "params": [ { "name": "per_page", "value": "2", "type": "query", "description": "Number of items returned per page" }, { "name": "page", "value": "1", "type": "query", "description": "Which 'page' of paginated results to return." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "To list all of the floating IPs available on your account, send a GET request to `/v2/floating_ips`." }, { "info": { "name": "Create a New Floating IP", "type": "http" }, "http": { "method": "POST", "url": "https://api.digitalocean.com/v2/floating_ips", "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "On creation, a floating IP must be either assigned to a Droplet or reserved to a region.\n* To create a new floating IP assigned to a Droplet, send a POST\n request to `/v2/floating_ips` with the `droplet_id` attribute.\n\n* To create a new floating IP reserved to a region, send a POST request to\n `/v2/floating_ips` with the `region` attribute.\n\n**Note**: In addition to the standard rate limiting, only 12 floating IPs may be created per 60 seconds." }, { "info": { "name": "Retrieve an Existing Floating IP", "type": "http" }, "http": { "method": "GET", "url": "https://api.digitalocean.com/v2/floating_ips/:floating_ip", "params": [ { "name": "floating_ip", "value": "45.55.96.47", "type": "path", "description": "A floating IP address." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "To show information about a floating IP, send a GET request to `/v2/floating_ips/$FLOATING_IP_ADDR`." }, { "info": { "name": "Delete a Floating IP", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.digitalocean.com/v2/floating_ips/:floating_ip", "params": [ { "name": "floating_ip", "value": "45.55.96.47", "type": "path", "description": "A floating IP address." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "To delete a floating IP and remove it from your account, send a DELETE request\nto `/v2/floating_ips/$FLOATING_IP_ADDR`.\n\nA successful request will receive a 204 status code with no body in response.\nThis indicates that the request was processed successfully.\n" } ] } ], "bundled": true }