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

参数

参数名字 描述
compute_resource_id
选填

ID of compute resource


Value:

Must be String

architecture_id
选填

ID of architecture


Value:

Must be String

operatingsystem_id
选填

ID of operating system


Value:

Must be String

search
选填

过滤结果


Value:

Must be String

order
选填

结果排序


Value:

Must be String

page
选填

页数


Value:

Must be String

per_page
选填

每个请求中的条目数


Value:

Must be String


GET /api/compute_resources/:compute_resource_id/images/:id
Show an image

GET /api/operatingsystems/:operatingsystem_id/images/:id
Show an image

GET /api/architectures/:architecture_id/images/:id
Show an image

参数

参数名字 描述
id
必填

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
选填

ID of compute resource


Value:

Must be String

architecture_id
选填

ID of architecture


Value:

Must be String

operatingsystem_id
选填

ID of operating system


Value:

Must be String


POST /api/compute_resources/:compute_resource_id/images
Create an image

参数

参数名字 描述
compute_resource_id
必填

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

Value:

Must be a Hash

image[name]
必填

Value:

Must be String

image[username]
必填

Value:

Must be String

image[uuid]
必填

Value:

Must be String

image[compute_resource_id]
选填 , 允许空值

ID of compute resource


Value:

Must be String

image[architecture_id]
选填 , 允许空值

ID of architecture


Value:

Must be String

image[operatingsystem_id]
选填 , 允许空值

ID of operating system


Value:

Must be String


PUT /api/compute_resources/:compute_resource_id/images/:id
Update an image

参数

参数名字 描述
compute_resource_id
必填

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

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

Value:

Must be a Hash

image[name]
选填

Value:

Must be String

image[username]
选填

Value:

Must be String

image[uuid]
选填

Value:

Must be String

image[compute_resource_id]
选填 , 允许空值

ID of compute resource


Value:

Must be String

image[architecture_id]
选填 , 允许空值

ID of architecture


Value:

Must be String

image[operatingsystem_id]
选填 , 允许空值

ID of operating system


Value:

Must be String


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

参数

参数名字 描述
compute_resource_id
必填

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

Value:

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