diff options
Diffstat (limited to 'api-ref/source/flavors.inc')
-rw-r--r-- | api-ref/source/flavors.inc | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/api-ref/source/flavors.inc b/api-ref/source/flavors.inc deleted file mode 100644 index 005aa2f1..00000000 --- a/api-ref/source/flavors.inc +++ /dev/null @@ -1,81 +0,0 @@ -.. -*- rst -*- - -================= -Flavors (flavors) -================= - -Lists all flavors and shows details for a flavor, by ID. - - -Show flavor details -~~~~~~~~~~~~~~~~~~~ - -.. rest_method:: GET /v1.0/{accountId}/flavors/{flavorId} - -Shows flavor details with details of the RAM. - -This resource is identical to the flavors found in the OpenStack -Compute API, but without the disk property. - -The ``flavorId`` parameter must be an integer value. If you use a -floating point value for this parameter, this call truncates the -decimal portion and uses the integer portion as the ``flavorId`` -value. - -Normal response codes: 200 - -Error response codes: badRequest(400),unauthorized(401),forbidden(403), -itemNotFound(404), badMethod(405),overLimit(413),unprocessableEntity(422), -instanceFault(500),notImplemented(501), serviceUnavailable(503) - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - flavorId: flavorId - - accountId: accountId - - -Response Example ----------------- - -.. literalinclude:: samples/db-flavors-by-id-response.json - :language: javascript - - - - -List flavors -~~~~~~~~~~~~ - -.. rest_method:: GET /v1.0/{accountId}/flavors - -Lists information for all available flavors. - -This operation lists information for all available flavors. - -This resource is identical to the flavors found in the OpenStack -Nova API. - -Normal response codes: 200 - -Error response codes: badRequest(400),unauthorized(401),forbidden(403), -itemNotFound(404), badMethod(405),overLimit(413),unprocessableEntity(422), -instanceFault(500),notImplemented(501), serviceUnavailable(503) - - -Request -------- - -.. rest_parameters:: parameters.yaml - - - accountId: accountId - - -Response Example ----------------- - -.. literalinclude:: samples/db-flavors-response.json - :language: javascript |