api.imagestore.base
¶
/imagestore¶
-
api.imagestore.base.views.
imagestore_list
(*args, **kwargs)¶ List (
GET
) or refresh (PUT
) information about disk image repositories.Note
Disk image repositories can be configured by modifying the
VMS_IMAGE_REPOSITORIES
global setting.Note
If a global image server (
VMS_IMAGE_VM
) is configured in the system, the list will automatically include a local repository named after the image server (requires SuperAdmin permission).-
GET
/imagestore
¶ DC-bound?: Permissions: Asynchronous?: Parameters: - data.full (boolean) – Return list of objects with all image repository details (default: false)
Status Codes: - 200 OK – SUCCESS
- 403 Forbidden – Forbidden
-
PUT
/imagestore
¶ DC-bound?: Permissions: Asynchronous?: Status Codes: - 200 OK – SUCCESS
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
- 423 Locked – Task is already running
-
/imagestore/(name)¶
-
api.imagestore.base.views.
imagestore_manage
(*args, **kwargs)¶ Show (
GET
) or refresh (PUT
) information about a disk image repository.Note
Disk image repositories can be configured by modifying the
VMS_IMAGE_REPOSITORIES
global setting.-
GET
/imagestore/
(name)¶ DC-bound?: Permissions: Asynchronous?: Parameters: - name (string) – required - Image repository name
Status Codes: - 200 OK – SUCCESS
- 403 Forbidden – Forbidden
- 404 Not Found – ImageStore not found
-
PUT
/imagestore/
(name)¶ DC-bound?: Permissions: Asynchronous?: Parameters: - name (string) – required - Image repository name
Status Codes: - 200 OK – SUCCESS
- 400 Bad Request – FAILURE
- 403 Forbidden – Forbidden
- 404 Not Found – ImageStore not found
- 423 Locked – Task is already running
-