이미지 상세 정보 조회
    • PDF

    이미지 상세 정보 조회

    • PDF

    Article Summary

    Classic/VPC 환경에서 이용 가능합니다.

    Container Registry의 레지스트리에 등록된 특정 이미지의 상세 정보를 조회합니다.

    요청

    요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

    메서드URI
    GET/repositories/{registry}/{imageName}

    요청 헤더

    Container Registry API에서 공통으로 사용하는 헤더에 대한 자세한 내용은 Container Registry 공통 헤더를 참조해 주십시오.

    요청 경로 파라미터

    파라미터에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    registryStringRequired정보 조회 대상 이미지가 등록되어 있는 레지스트리 이름
    imageNameStringRequired상세 정보 조회 대상 이미지 이름
    • URI 인코딩 값을 사용해야 함
    • <예시> hello/world의 경우 hello%2Fworld로 변환하여 사용

    요청 예시

    요청 예시는 다음과 같습니다.

    curl -X GET "https://ncr.apigw.ntruss.com/ncr/api/v2/repositories/{registry}/{imageName}" 
    -H "x-ncp-apigw-timestamp: {Timestamp}"
    -H "x-ncp-iam-access-key: {Sub Account Access Key}"
    -H "x-ncp-apigw-signature-v2: {API Gateway Signature}"
    

    응답

    응답 형식을 설명합니다.

    응답 구문

    응답 구문은 다음과 같습니다.

    {
      "can_edit": "boolean",
      "description": "string",
      "full_description": "string",
      "is_automated": "boolean",
      "is_private": "boolean",
      "last_updated": "number",
      "name": "string",
      "namespace": "string",
      "private_id": "",
      "pull_count": "number",
      "repository_type": "string",
      "star_count": "number",
      "status": "number",
      "tag_mutability_enabled": true,
      "user": "string",
    }
    

    응답 바디

    응답 바디에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    can_editBoolean-사용하지 않음
    descriptionString-이미지에 대한 short description
    full_descriptionString-이미지에 대한 상세 description
    is_automatedBoolean-사용하지 않음
    is_privateBoolean-사용하지 않음
    last_updateNumber-이미지의 최근 변경일
    • 1970년 1월 1일 00:00:00 협정 세계시(UTC)부터의 경과 시간을 밀리초(Millisecond)로 반환
    nameString-이미지 이름
    namespaceString-레지스트리 이름
    private_idString-private 엔드 포인트의 아이디
    pull_countNumber-이미지에 대한 총 Pull count 값
    repository_typeString-사용하지 않음
    star_countNumber-사용하지 않음
    statusNumber-사용하지 않음
    tag_mutability_enabledBoolean-Tag Mutability 설정 여부
    userString-사용하지 않음

    응답 상태 코드

    응답 상태 코드는 다음과 같습니다. Container Registry API에서 공통으로 사용하는 응답 상태 코드에 대한 자세한 내용은 Container Registry 응답 상태 코드를 참조해 주십시오.

    HTTP 상태 코드코드메시지설명
    200-OK요청 성공
    404-Not Found요청한 리소스를 찾을 수 없음

    응답 예시

    응답 예시는 다음과 같습니다.

    {
      "can_edit": true,
      "description": "ncp docker",
      "full_description": "Naver Cloud Platform Docker",
      "is_automated": null,
      "is_private": null,
      "last_updated": 1711928488000,
      "name": "ncpdocker",
      "namespace": "ncpdocker",
      "private_id": "",
      "pull_count": 0,
      "repository_type": "image",
      "star_count": null,
      "status": 0,
      "tag_mutability_enabled": true,
      "user": null
    }
    

    이 문서가 도움이 되었습니까?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.