GET /api/compute_resources/:compute_resource_id/images
Llista totes les imatges per a un recurs computacional

GET /api/operatingsystems/:operatingsystem_id/images
Llista totes les imatges per al sistema operatiu

GET /api/architectures/:architecture_id/images
Llista totes les imatges per a l'arquitectura

Params

Param name Description
compute_resource_id
optional

Id. del recurs computacional

Validations:

  • Must be a String

architecture_id
optional

Id. d'arquitectura

Validations:

  • Must be a String

operatingsystem_id
optional

id. del sistema operatiu

Validations:

  • Must be a String

search
optional

filtra els resultats

Validations:

  • Must be a String

order
optional

ordena els resultats

Validations:

  • Must be a String

page
optional

pagina els resultats

Validations:

  • Must be a String

per_page
optional

Nombre d'entrades per peticiĆ³

Validations:

  • Must be a String


GET /api/compute_resources/:compute_resource_id/images/:id
Mostra una imatge

GET /api/operatingsystems/:operatingsystem_id/images/:id
Mostra una imatge

GET /api/architectures/:architecture_id/images/:id
Mostra una imatge

Params

Param name Description
id
required

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
optional

Id. del recurs computacional

Validations:

  • Must be a String

architecture_id
optional

Id. d'arquitectura

Validations:

  • Must be a String

operatingsystem_id
optional

id. del sistema operatiu

Validations:

  • Must be a String


POST /api/compute_resources/:compute_resource_id/images
Crea una imatge

Params

Param name Description
compute_resource_id
required

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
required

Validations:

  • Must be a Hash

image[name]
required

Validations:

  • Must be a String

image[username]
required

Validations:

  • Must be a String

image[uuid]
required

Validations:

  • Must be a String

image[password]
optional , nil allowed

Validations:

  • Must be a String

image[compute_resource_id]
optional , nil allowed

Id. del recurs computacional

Validations:

  • Must be a String

image[architecture_id]
optional , nil allowed

Id. d'arquitectura

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil allowed

id. del sistema operatiu

Validations:

  • Must be a String

image[user_data]
optional , nil allowed

Whether or not the image supports user data

Validations:

  • Must be one of: true, false, 1, 0


PUT /api/compute_resources/:compute_resource_id/images/:id
Actualitza una imatge

Params

Param name Description
compute_resource_id
required

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
required

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
required

Validations:

  • Must be a Hash

image[name]
optional

Validations:

  • Must be a String

image[username]
optional

Validations:

  • Must be a String

image[uuid]
optional

Validations:

  • Must be a String

image[password]
optional , nil allowed

Validations:

  • Must be a String

image[compute_resource_id]
optional , nil allowed

Id. del recurs computacional

Validations:

  • Must be a String

image[architecture_id]
optional , nil allowed

Id. d'arquitectura

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil allowed

id. del sistema operatiu

Validations:

  • Must be a String

image[user_data]
optional , nil allowed

Whether or not the image supports user data

Validations:

  • Must be one of: true, false, 1, 0


DELETE /api/compute_resources/:compute_resource_id/images/:id
Suprimeix una imatge

Params

Param name Description
compute_resource_id
required

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
required

Validations:

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