GET /api/compute_resources/:compute_resource_id/images
List all images for compute resource

Params

Param name Description
search
optional

filter results


Value: Must be String
order
optional

sort results


Value: Must be String
page
optional

paginate results


Value: Must be String
per_page
optional

number of entries per request


Value: Must be String
compute_resource_id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

GET /api/compute_resources/:compute_resource_id/images/:id
Show an image

Params

Param name Description
id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
compute_resource_id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

POST /api/compute_resources/:compute_resource_id/images
Create a image

Params

Param name Description
compute_resource_id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
image
required

Value: Must be a Hash
image[name]
required

Value: Must be String
image[username]
required

Value: Must be String
image[uuid]
required

Value: Must be String
image[compute_resource_id]
required

Value: Must be a number.
image[architecture_id]
required

Value: Must be a number.
image[operatingsystem_id]
required

Value: Must be a number.

PUT /api/compute_resources/:compute_resource_id/images/:id
Update a image.

Params

Param name Description
compute_resource_id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
image
required

Value: Must be a Hash
image[name]
optional

Value: Must be String
image[username]
optional

Value: Must be String
image[uuid]
optional

Value: Must be String
image[compute_resource_id]
optional

Value: Must be a number.
image[architecture_id]
optional

Value: Must be a number.
image[operatingsystem_id]
optional

Value: Must be a number.

DELETE /api/compute_resources/:compute_resource_id/images/:id
Delete an image.

Params

Param name Description
compute_resource_id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.
id
required

Value: Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.