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

Parámetros

Nombre del parámetro Descripción
search
opcional

filtrar resultados

Validations:

  • Must be String

order
opcional

ordenar resultados

Validations:

  • Must be String

page
opcional

paginar resultados

Validations:

  • Must be String

per_page
opcional

número de entradas por petición

Validations:

  • Must be String

compute_resource_id
requerido

Validations:

  • 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
Mostrar una imagen

Parámetros

Nombre del parámetro Descripción
id
requerido

Validations:

  • 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
requerido

Validations:

  • 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

Parámetros

Nombre del parámetro Descripción
compute_resource_id
requerido

Validations:

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

image
requerido

Validations:

  • Must be a Hash

image[name]
requerido

Validations:

  • Must be String

image[username]
requerido

Validations:

  • Must be String

image[uuid]
requerido

Validations:

  • Must be String

image[compute_resource_id]
requerido

Validations:

  • Must be a number.

image[architecture_id]
requerido

Validations:

  • Must be a number.

image[operatingsystem_id]
requerido

Validations:

  • Must be a number.


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

Parámetros

Nombre del parámetro Descripción
compute_resource_id
requerido

Validations:

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

id
requerido

Validations:

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

image
requerido

Validations:

  • Must be a Hash

image[name]
opcional

Validations:

  • Must be String

image[username]
opcional

Validations:

  • Must be String

image[uuid]
opcional

Validations:

  • Must be String

image[compute_resource_id]
opcional

Validations:

  • Must be a number.

image[architecture_id]
opcional

Validations:

  • Must be a number.

image[operatingsystem_id]
opcional

Validations:

  • Must be a number.


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

Parámetros

Nombre del parámetro Descripción
compute_resource_id
requerido

Validations:

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

id
requerido

Validations:

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