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

Parametri

Nome parametro Descrizione
search
opzionale

filtra i risultati

Validations:

  • Must be a String

order
opzionale

ordina risultati

Validations:

  • Must be a String

page
opzionale

paginazione risultati

Validations:

  • Must be a String

per_page
opzionale

numero di voci per richiesta

Validations:

  • Must be a String

compute_resource_id
richiesto

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
Mostra una immagine

Parametri

Nome parametro Descrizione
id
richiesto

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
richiesto

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

Parametri

Nome parametro Descrizione
compute_resource_id
richiesto

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
richiesto

Validations:

  • Must be a Hash

image[name]
richiesto

Validations:

  • Must be a String

image[username]
richiesto

Validations:

  • Must be a String

image[uuid]
richiesto

Validations:

  • Must be a String

image[compute_resource_id]
richiesto

Validations:

  • Must be a number.

image[architecture_id]
richiesto

Validations:

  • Must be a number.

image[operatingsystem_id]
richiesto

Validations:

  • Must be a number.


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

Parametri

Nome parametro Descrizione
compute_resource_id
richiesto

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
richiesto

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
richiesto

Validations:

  • Must be a Hash

image[name]
opzionale

Validations:

  • Must be a String

image[username]
opzionale

Validations:

  • Must be a String

image[uuid]
opzionale

Validations:

  • Must be a String

image[compute_resource_id]
opzionale

Validations:

  • Must be a number.

image[architecture_id]
opzionale

Validations:

  • Must be a number.

image[operatingsystem_id]
opzionale

Validations:

  • Must be a number.


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

Parametri

Nome parametro Descrizione
compute_resource_id
richiesto

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
richiesto

Validations:

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