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


Value:

Must be String

architecture_id
Optional

Id. d'arquitectura


Value:

Must be String

operatingsystem_id
Optional

id. del sistema operatiu


Value:

Must be String

search
Optional

filtra els resultats


Value:

Must be String

order
Optional

ordena els resultats


Value:

Must be String

page
Optional

pagina els resultats


Value:

Must be String

per_page
Optional

Nombre d'entrades per petició


Value:

Must be 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

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
Optional

Id. del recurs computacional


Value:

Must be String

architecture_id
Optional

Id. d'arquitectura


Value:

Must be String

operatingsystem_id
Optional

id. del sistema operatiu


Value:

Must be String


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

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]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Id. del recurs computacional


Value:

Must be String

image[architecture_id]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Id. d'arquitectura


Value:

Must be String

image[operatingsystem_id]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

id. del sistema operatiu


Value:

Must be String


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

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 , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Id. del recurs computacional


Value:

Must be String

image[architecture_id]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Id. d'arquitectura


Value:

Must be String

image[operatingsystem_id]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

id. del sistema operatiu


Value:

Must be String


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

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.