List All Floating IPs
- Name
get
- Type
- /v1/floating_ips
- Description
Send GET request to list all floating IPs.
Request
Example
curl -X GET "https://api.simplystack.com/v1/floating_ips" \
-H "Content-Type: application/json" \
-H "Authorization: Token d359ad9cc9422b5ff07aede0cd2707da4ff82be0" \
Response
JSON object with key named floating_ips
which is an array of the following attributes for the Floating IP object:
Attributes
Example
json
{
"floating_ips": [
{
"address": "192.168.1.182",
"region": {
"available": true,
"features": [
"floating_ips"
],
"name": "Frankfurt",
"slug": "fra"
},
"task": null,
"stacklet": null,
},
{
"address": "192.168.1.241",
"region": {
"available": true,
"features": [
"floating_ips"
],
"name": "Frankfurt",
"slug": "fra"
},
"task": null,
"stacklet": {...},
}
],
"meta": {
"pagination": {
"current_page": 1,
"next_page": null,
"pages": 1,
"per_page": 25,
"previous_page": null,
"total": 2
},
"query": null,
"sort": null
}
}