--- title: "listImages" slug: "pub-container-registry-v3-image-listimages" updated: 2026-11-24T09:24:19Z published: 2026-11-24T09:24:19Z canonical: "api.ncloud-docs.com/pub-container-registry-v3-image-listimages" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # listImages 이 가이드는 API 명세를 기반으로 자동 생성했습니다. Classic/VPC 환경에서 이용 가능합니다. Ncloud API 표준 규격을 적용한 API입니다. 지정한 레지스트리에 저장된 이미지 목록을 페이지 단위로 조회합니다. 조회 결과에 해당하는 이미지가 없으면 200과 빈 목록을 반환합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /api/v3/registries/{registryName}/images | ### 요청 헤더 Container Registry API에서 공통으로 사용하는 헤더에 대한 정보는 [Container Registry 요청 헤더](/docs/pub-container-registry-v3-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `registryName` | String | Required | 대상 레지스트리 이름 - 패턴: `^[a-z][a-z0-9-]{1,28}[a-z0-9]$` - 길이: 3 ~ 30 - <예시> my-registry | ### 요청 쿼리 파라미터 요청 쿼리 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `pageNo` | Integer (int32) | Optional | 조회할 페이지 번호 허용 범위를 벗어나는 경우 400 `InvalidParameter` 반환 조회 도중 데이터가 변경되면 항목이 다른 페이지로 옮겨질 수 있음 - 범위: 0 ~ 1,000,000,000 (기본값: `0`) - <예시> 0 | | `pageSize` | Integer (int32) | Optional | 한 페이지에 포함할 항목 수 허용 범위를 벗어나는 경우 400 `InvalidParameter` 반환 - 범위: 1 ~ 1,000 (기본값: `20`) - <예시> 20 | | `sort` | List | Optional | 정렬 기준 (`property,direction` 형식, `direction` 생략 시 `asc`) 정렬 가능한 속성: `name`, `lastPushedDateTime`. 다중 정렬 시 `sort` 파라미터 반복 사용 데이터가 바뀌지 않으면 `sort` 지정 여부와 관계없이 페이지 사이의 항목 순서 유지 정렬 불가 속성 또는 잘못된 `direction` 지정 시 400 `InvalidParameter` 반환 예: `sort=name,asc&sort=lastPushedDateTime,desc` - 기본값: `["lastPushedDateTime,desc"]` - <예시> `["name,asc"]` - 항목 패턴: `^(name\\|lastPushedDateTime)(,(asc\\|desc))?$` | | `filter` | String | Optional | 필터 표현식 - 필터 가능 필드: `lastPushedDateTime`, `lastPulledDateTime` (RFC 3339 date-time) - 허용 연산자: `>=`, `>`, `<=`, `<` (`=`, `!=` 미지원) - 값은 타임존을 포함한 RFC 3339 문자열. 큰따옴표 또는 작은따옴표로 묶어 입력 - 조건 결합은 `AND`만 가능. 최대 4개. 괄호, `OR`, `NOT`, 함수 미지원 - 한 필드에 하한(`>=`/`>`)과 상한(`<=`/`<`)을 각 한 번씩 지정하여 범위 구성 가능. 같은 방향 중복 지정 또는 하한이 상한보다 뒤인 경우 거부 - 초 단위까지만 구분하여 비교 - `lastPulledDateTime` 조건의 대상은 pull 기록이 있는 이미지. 한 번도 pull되지 않은 이미지는 상한(`<=`, `<`) 조건만 지정해도 결과에서 제외 - 목록 항목의 `lastPulledDateTime` 값은 필터 조건과 무관하게 항상 실제 마지막 pull 일시 - 적용 순서: 필터링, 정렬, 페이지네이션 - 문법, 필드, 연산자, 값 오류 시 400 `InvalidParameter`와 `fieldErrors[].field=filter` 반환 - 길이: 1 ~ 512 - <예시> lastPushedDateTime >= "2026-07-01T00:00:00Z" AND lastPushedDateTime < "2026-08-01T00:00:00Z" | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://kr-ncr.apigw.ntruss.com/api/v3/registries/my-registry/images' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 헤더 Container Registry API에서 공통으로 사용하는 헤더에 대한 정보는 [Container Registry 응답 헤더](/docs/pub-container-registry-v3-overview#%EC%9D%91%EB%8B%B5%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `images` | List<[Image](/docs/pub-container-registry-v3-type-image)> | Required | 현재 페이지의 이미지 목록 - 항목 수: 0 ~ 1,000 - <예시> `[{"name": "nginx", "registryName": "my-registry", "description": "표준 웹 서버 이미지", "pullCount": 1024, "lastPushedDateTime": "2026-08-24T07:12:33Z", "lastPulledDateTime": "2026-08-25T02:41:07Z"}, {"name": "batch-worker", "registryName": "my-registry", "description": null, "pullCount": 0, "lastPushedDateTime": "2026-08-19T01:15:09Z", "lastPulledDateTime": null}]` | | `totalElements` | Integer (int64) | Required | 전체 항목 수 - 범위: 0 ~ - <예시> 2 | | `totalPages` | Integer (int32) | Required | 전체 페이지 수 - 범위: 0 ~ - <예시> 1 | | `pageNo` | Integer (int32) | Required | 현재 페이지 번호 - 범위: 0 ~ - <예시> 0 | | `pageSize` | Integer (int32) | Required | 페이지당 항목 수 - 범위: 1 ~ - <예시> 20 | ### 응답 상태 코드 호출에 실패하면 [기본 오류 응답](/docs/type-error-response) 형식의 응답 바디를 반환하며, 오류 코드는 `error.errorCode` 값입니다. 응답 상태 코드에 대한 설명은 다음과 같습니다. | HTTP 상태 코드 | 코드 | 메시지 | 설명 | | --- | --- | --- | --- | | 200 | - | - | 조회 성공 | | 404 | `ResourceNotFound` | `The specified resource could not be found.` | 리소스를 찾을 수 없음. 인증과 권한 검사를 통과한 요청에만 반환하며, 요청자가 접근할 수 있는 범위에 해당 리소스가 없다는 의미 | 참고 Container Registry API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Container Registry 응답 상태 코드](/docs/pub-container-registry-v3-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "images": [ { "name": "nginx", "registryName": "my-registry", "description": "표준 웹 서버 이미지", "pullCount": 1024, "lastPushedDateTime": "2026-08-24T07:12:33Z", "lastPulledDateTime": "2026-08-25T02:41:07Z" }, { "name": "batch-worker", "registryName": "my-registry", "description": null, "pullCount": 0, "lastPushedDateTime": "2026-08-19T01:15:09Z", "lastPulledDateTime": null } ], "totalElements": 2, "totalPages": 1, "pageNo": 0, "pageSize": 20 } ```