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

GET /api/operatingsystems/:operatingsystem_id/images
List all images for operating system

GET /api/architectures/:architecture_id/images
List all images for architecture

Params

Param name Description
compute_resource_id
optional

ID of compute resource

Validations:

  • Must be a String

architecture_id
optional

ID of architecture

Validations:

  • Must be a String

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String

search
optional

filtrera resultat

Validations:

  • Must be a String

order
optional

sortera resultat

Validations:

  • Must be a String

page
optional

paginate results

Validations:

  • Must be a String

per_page
optional

antal poster per begäran

Validations:

  • Must be a String


GET /api/compute_resources/:compute_resource_id/images/:id
Visa en avbildning

GET /api/operatingsystems/:operatingsystem_id/images/:id
Visa en avbildning

GET /api/architectures/:architecture_id/images/:id
Visa en avbildning

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 of compute resource

Validations:

  • Must be a String

architecture_id
optional

ID of architecture

Validations:

  • Must be a String

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String


POST /api/compute_resources/:compute_resource_id/images
Skapa en avbildning

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 of compute resource

Validations:

  • Must be a String

image[architecture_id]
optional , nil allowed

ID of architecture

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil allowed

ID of operating system

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
Uppdatera en avbildning

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 of compute resource

Validations:

  • Must be a String

image[architecture_id]
optional , nil allowed

ID of architecture

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil allowed

ID of operating system

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
Radera en avbildning

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.