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

パラメーター

パラメーター名 記述
search
任意

結果のフィルター

Validations:

  • Must be a String

order
任意

結果のソート

Validations:

  • Must be a String

page
任意

結果のページネーション

Validations:

  • Must be a String

per_page
任意

要求ごとのエントリー数

Validations:

  • Must be a String

compute_resource_id
必須

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
イメージの表示

パラメーター

パラメーター名 記述
id
必須

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
必須

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

パラメーター

パラメーター名 記述
compute_resource_id
必須

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
必須

Validations:

  • Must be a Hash

image[name]
必須

Validations:

  • Must be a String

image[username]
必須

Validations:

  • Must be a String

image[uuid]
必須

Validations:

  • Must be a String

image[compute_resource_id]
必須

Validations:

  • Must be a number.

image[architecture_id]
必須

Validations:

  • Must be a number.

image[operatingsystem_id]
必須

Validations:

  • Must be a number.


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

パラメーター

パラメーター名 記述
compute_resource_id
必須

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
必須

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
必須

Validations:

  • Must be a Hash

image[name]
任意

Validations:

  • Must be a String

image[username]
任意

Validations:

  • Must be a String

image[uuid]
任意

Validations:

  • Must be a String

image[compute_resource_id]
任意

Validations:

  • Must be a number.

image[architecture_id]
任意

Validations:

  • Must be a number.

image[operatingsystem_id]
任意

Validations:

  • Must be a number.


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

パラメーター

パラメーター名 記述
compute_resource_id
必須

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
必須

Validations:

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