2.6.1. List Flavors

Verb URI Description
GET /flavors?minDisk=minDiskInGB& minRam=minRamInMB& marker=markerID& limit=int Lists IDs, names, and links for all available flavors.
GET /flavors/detail?minDisk=minDiskInGB& minRam=minRamInMB& marker=markerID& limit=int Lists all details for all available flavors.

Normal Response Codes: 200 (successful) and 203 (successful - response cached)

Error Response Codes: computeFault (400, 500, …), badRequest (400), unauthorized (401), forbidden (403), Method Not Allowed (405), overLimit (413), serviceUnavailable (503)

This operation lists information for all available flavors.

To filter the list of flavors returned in the response body, you can specify the following optional URI parameters:

minDisk=minDiskInGB

Filters the list of flavors to those with the specified minimum number of gigabytes of disk storage.

minRam=minRamInMB

Filters the list of flavors to those with the specified minimum amount of RAM in megabytes.

marker=markerID

The ID of the last item in the previous list. See Section 1.6, “Paginated Collections”.

limit=int

Sets the page size. See Section 1.6, “Paginated Collections”.

This operation does not require a request body.

This operation returns a response body.

 

Example 2.38. List Flavors: JSON Response (detail)

{
    "flavors": [
        {
            "id": "2",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/2",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/2",
                    "rel": "bookmark"
                }
            ],
            "name": "512MB Standard Instance"
        },
        {
            "id": "3",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/3",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/3",
                    "rel": "bookmark"
                }
            ],
            "name": "1GB Standard Instance"
        },
        {
            "id": "4",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/4",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/4",
                    "rel": "bookmark"
                }
            ],
            "name": "2GB Standard Instance"
        },
        {
            "id": "5",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/5",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/5",
                    "rel": "bookmark"
                }
            ],
            "name": "4GB Standard Instance"
        },
        {
            "id": "6",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/6",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/6",
                    "rel": "bookmark"
                }
            ],
            "name": "8GB Standard Instance"
        },
        {
            "id": "7",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/7",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/7",
                    "rel": "bookmark"
                }
            ],
            "name": "15GB Standard Instance"
        },
        {
            "id": "8",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/8",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/8",
                    "rel": "bookmark"
                }
            ],
            "name": "30GB Standard Instance"
        },
        {
            "id": "compute1-15",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/compute1-15",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/compute1-15",
                    "rel": "bookmark"
                }
            ],
            "name": "15 GB Compute v1"
        },
        {
            "id": "compute1-30",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/compute1-30",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/compute1-30",
                    "rel": "bookmark"
                }
            ],
            "name": "30 GB Compute v1"
        },
        {
            "id": "compute1-4",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/compute1-4",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/compute1-4",
                    "rel": "bookmark"
                }
            ],
            "name": "4 GB Compute v1"
        },
        {
            "id": "compute1-60",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/compute1-60",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/compute1-60",
                    "rel": "bookmark"
                }
            ],
            "name": "60 GB Compute v1"
        },
        {
            "id": "compute1-8",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/compute1-8",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/compute1-8",
                    "rel": "bookmark"
                }
            ],
            "name": "8 GB Compute v1"
        },
        {
            "id": "general1-1",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/general1-1",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/general1-1",
                    "rel": "bookmark"
                }
            ],
            "name": "1 GB General Purpose v1"
        },
        {
            "id": "general1-2",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/general1-2",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/general1-2",
                    "rel": "bookmark"
                }
            ],
            "name": "2 GB General Purpose v1"
        },
        {
            "id": "general1-4",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/general1-4",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/general1-4",
                    "rel": "bookmark"
                }
            ],
            "name": "4 GB General Purpose v1"
        },
        {
            "id": "general1-8",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/general1-8",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/general1-8",
                    "rel": "bookmark"
                }
            ],
            "name": "8 GB General Purpose v1"
        },
        {
            "id": "io1-120",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/io1-120",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/io1-120",
                    "rel": "bookmark"
                }
            ],
            "name": "120 GB I/O v1"
        },
        {
            "id": "io1-15",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/io1-15",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/io1-15",
                    "rel": "bookmark"
                }
            ],
            "name": "15 GB I/O v1"
        },
        {
            "id": "io1-30",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/io1-30",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/io1-30",
                    "rel": "bookmark"
                }
            ],
            "name": "30 GB I/O v1"
        },
        {
            "id": "io1-60",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/io1-60",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/io1-60",
                    "rel": "bookmark"
                }
            ],
            "name": "60 GB I/O v1"
        },
        {
            "id": "io1-90",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/io1-90",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/io1-90",
                    "rel": "bookmark"
                }
            ],
            "name": "90 GB I/O v1"
        },
        {
            "id": "memory1-120",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/memory1-120",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/memory1-120",
                    "rel": "bookmark"
                }
            ],
            "name": "120 GB Memory v1"
        },
        {
            "id": "memory1-15",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/memory1-15",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/memory1-15",
                    "rel": "bookmark"
                }
            ],
            "name": "15 GB Memory v1"
        },
        {
            "id": "memory1-240",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/memory1-240",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/memory1-240",
                    "rel": "bookmark"
                }
            ],
            "name": "240 GB Memory v1"
        },
        {
            "id": "memory1-30",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/memory1-30",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/memory1-30",
                    "rel": "bookmark"
                }
            ],
            "name": "30 GB Memory v1"
        },
        {
            "id": "memory1-60",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/memory1-60",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/memory1-60",
                    "rel": "bookmark"
                }
            ],
            "name": "60 GB Memory v1"
        },
        {
            "id": "performance1-1",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance1-1",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance1-1",
                    "rel": "bookmark"
                }
            ],
            "name": "1 GB Performance"
        },
        {
            "id": "performance1-2",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance1-2",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance1-2",
                    "rel": "bookmark"
                }
            ],
            "name": "2 GB Performance"
        },
        {
            "id": "performance1-4",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance1-4",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance1-4",
                    "rel": "bookmark"
                }
            ],
            "name": "4 GB Performance"
        },
        {
            "id": "performance1-8",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance1-8",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance1-8",
                    "rel": "bookmark"
                }
            ],
            "name": "8 GB Performance"
        },
        {
            "id": "performance2-120",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance2-120",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance2-120",
                    "rel": "bookmark"
                }
            ],
            "name": "120 GB Performance"
        },
        {
            "id": "performance2-15",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance2-15",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance2-15",
                    "rel": "bookmark"
                }
            ],
            "name": "15 GB Performance"
        },
        {
            "id": "performance2-30",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance2-30",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance2-30",
                    "rel": "bookmark"
                }
            ],
            "name": "30 GB Performance"
        },
        {
            "id": "performance2-60",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance2-60",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance2-60",
                    "rel": "bookmark"
                }
            ],
            "name": "60 GB Performance"
        },
        {
            "id": "performance2-90",
            "links": [
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/v2/453265/flavors/performance2-90",
                    "rel": "self"
                },
                {
                    "href": "https://dfw.servers.api.rackspacecloud.com/453265/flavors/performance2-90",
                    "rel": "bookmark"
                }
            ],
            "name": "90 GB Performance"
        }
    ]
}



Contents Search
loading table of contents...