1.6
1.6
get /v1/images
Description
이미지 목록을 조회합니다.
아직 수락하지 않은 공유 이미지는 이 목록에 나타나지 않으므로, 공유 대기 목록은 공유 대기 이미지 목록 조회 API(ListPendingImages)로 확인해야 합니다.
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.6 | - |
Parameters
| Type | Name | Description | Schema | Default |
|---|---|---|---|---|
| query | limit optional | 한 페이지에 조회할 건수입니다. 응답에 전체 건수가 제공되지 않으므로, limit보다 적은 건수가 반환될 때까지 조회를 반복하면 됩니다 Example : 20 | any of [integer, null] | 20 |
| query | marker optional | 이전 페이지의 마지막 항목 ID입니다. 해당 항목 다음부터 조회됩니다. 존재하지 않는 ID를 지정하면 400 Bad Request가 반환됩니다 Example : 2a9be312-5d4b-4bc8-b2ae-35100fa9241f | any of [string, null] | None |
| query | scp_image_type optional | Image의 유형입니다. standard, gpu_standard, k8s, k8s_gpu, appliance는 플랫폼이 제공하는 Image, custom과 gpu_custom은 계정이 생성한 커스텀 Image, marketplace는 Marketplace Image입니다 Example : custom | any of [string, null] | None |
| query | scp_original_image_type optional | 이 Image의 원본 Image 유형입니다. standard, gpu_standard, k8s, k8s_gpu, appliance, marketplace 중 하나이며, 커스텀 Image의 경우 원본 Virtual Server를 생성할 때 사용한 Image의 유형이 유지됩니다 Example : standard | any of [string, null] | None |
| query | name optional | 이미지의 이름 Example : imagename | any of [string, null] | None |
| query | os_distro optional | Image의 OS 배포판입니다. alma, centos, rhel, rocky, ubuntu, windows, oracle 중 하나입니다 Example : alma | any of [string, null] | None |
| query | status optional | Image의 상태입니다. queued는 파일이 아직 업로드되지 않은 상태, saving, uploading, importing은 파일이 전송 중인 상태, active는 Virtual Server 생성에 사용할 수 있는 상태, killed는 업로드에 실패한 상태이며, deleted, pending_delete, deactivated는 더 이상 사용할 수 없는 상태입니다 Example : active | any of [string, null] | None |
| query | visibility optional | Image의 접근 범위입니다. private는 소유 계정 내에서만 사용할 수 있고, shared는 Image 멤버를 통해 다른 계정에 공유할 수 있습니다. public과 community는 플랫폼이 제공하는 Image에 사용되는 값입니다. 생성 시에는 private 또는 shared만 입력할 수 있고 기본값은 private입니다 Example : private | any of [enum (public, community, shared, private), null] | None |
| query | sort optional | Example : created_at:desc | any of [string, null] | created_at:desc |
Responses
| HTTP Code | Description | Schema |
|---|---|---|
| 200 | OK | ImageListResponseV1Dot6 |
| 400 | Bad Request | None |
| 401 | Unauthorized | None |
| 403 | Forbidden | None |
Example HTTP request
Request path
/v1/images
Request header
"Scp-Accesskey = 2sd2gg=2agbdSD26svcD",
"Scp-Signature = fsfsdf235f9U35sdgf35Xsf/qgsdgsdg326=sfsdr23rsef=",
"Scp-Timestamp = 1605290625682",
"Scp-ClientType = Openapi",
"Accept-Language = ko-KR",
"Scp-Api-Version = virtualserver 1.6"
Example HTTP response
Response 200
{
"images": [
{
"boot_mode": "legacy_bios",
"checksum": "7538e0fcb56e0e272cfd89eb384d6613",
"container_format": "bare",
"created_at": "2025-07-22T09:00:00Z",
"disk_format": "qcow2",
"file": "/v2/images/e08a37c1-2162-416e-b7fa-19902419170b/file",
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
"min_disk": 100,
"min_ram": 0,
"name": "imagename",
"os_distro": "alma",
"os_hash_algo": "sha512",
"os_hash_value": "c6a32fc3b7c909b8900b46f5e6066c028a1d799c0a263cf064a600c430a714627c21f98ac248e2f2bf29870a1a2773c7908244745016878e1a5f31dc2c405b99",
"os_hidden": false,
"owner": "a8f10467abfc4b87b64614ab36eb9ae4",
"owner_account_name": "AccountName",
"protected": false,
"root_device_name": "/dev/vda",
"scp_gpu_driver": "535.183.06",
"scp_image_type": "custom",
"scp_k8s_version": "v1.28.7",
"scp_original_image_type": "standard",
"scp_os_build_version": "20250101",
"scp_os_version": "8.8",
"scp_supported_class_types": "GPU-A100-1,GPU-H100-2",
"size": 2429747200,
"status": "active",
"updated_at": "2025-07-26T12:00:00Z",
"url": "https://object-store.kr-west1.s.samsungsdscloud.com/8989447062e04a818baf9e073fd04fa7/bucket/object.qcow2",
"virtual_hardware_type": "pci",
"virtual_size": 17179869184,
"visibility": "private",
"volumes": "[{\"tag\": null, \"volume_id\": null, \"encryption_options\": null, \"encryption_secret_uuid\": null, \"encryption_format\": null, \"device_name\": \"/dev/vda\", \"disk_bus\": \"virtio\", \"volume_type\": null, \"encrypted\": null, \"image_id\": null, \"device_type\": \"disk\", \"source_type\": \"snapshot\", \"delete_on_termination\": false, \"volume_size\": 104, \"guest_format\": null, \"boot_index\": 0, \"destination_type\": \"volume\", \"snapshot_id\": \"abde9e38-2ed5-4ecd-b23c-b0120e30690e\", \"no_device\": null}]",
"zone": "kr-west1-a"
}
]
}