MENU
      View image list

        View image list


        Article summary

        Available in Classic and VPC

        View the list of images registered in the registry of Container Registry.

        Requests

        The following describes the request format for the endpoint. The request format is as follows.

        MethodURI
        GET/repositories/{registry}

        Request headers

        For headers common to all Container Registry APIs, see Container Registry common headers.

        Request path parameters

        The following describes the parameters.

        FieldTypeRequiredDescription
        registryStringRequiredName of the registry where the images you are viewing are registered

        Request query parameters

        The following describes the parameters.

        FieldTypeRequiredDescription
        pageNumberOptionalPage number to view
        • Enter a value greater than 0 for the page number
          pagesizeNumberOptionalSize of the page to view
          • Enter a value greater than 0 for the page size

          Request example

          The following is a sample request.

          curl -X GET "https://ncr.apigw.ntruss.com/ncr/api/v2/repositories/{registry}"
          -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}"
          Curl

          Responses

          The following describes the response format.

          Response syntax

          The response syntax is as follows.

          {
            "count": "number",
            "next": "number",
            "previous": "number",
            "results": [
              {
                "can_edit": "boolean",
                "description": "string",
                "is_automated": "boolean",
                "is_private": "boolean",
                "last_updated": "number"
                "name": "string",
                "namespace": "string",
                "pull_count": "number",
                "repository_type": "string",
                "star_count": "number",
                "status": "number",
                "user": "string",
              }
            ]
          }
          JSON

          Response body

          The following describes the response body.

          FieldTypeRequiredDescription
          countNumber-Total number of registries registered
          nextNumber-Number of the next page
          • It returns null if there is no next page
          previousNumber-Number of the previous page
          • It returns null if there is no previous page
          result[].can_editBoolean-Currently not used
          result[].descriptionString-Short description for the image
          result[].is_automatedBoolean-Not used
          result[].is_privateBoolean-Not used
          result[].last_updateNumber-Last modification date of the image
          • It returns elapsed time in milliseconds since January 1, 1970 00:00:00 UTC
          result[].nameString-Image name
          result[].namespaceString-Registry name
          result[].pull_countNumber-Total pull count value for the image
          result[].repository_typeString-Not used
          result[].star_countNumber-Not used
          result[].statusNumber-Not used
          result[].userString-Not used

          Response status codes

          The following describes response status codes. For response status codes common to all Container Registry APIs, see Container Registry response status codes.

          HTTP status codeCodeMessageDescription
          200-OKRequest succeeded
          404-Not FoundRequested resource not found

          Response example

          The following is a sample response.

          {
            "count": 1,
            "next": null,
            "previous": null,
            "results": [
                {
                    "can_edit": true,
                    "description": null,
                    "is_automated": null,
                    "is_private": null,
                    "last_updated": 1711928488000,
                    "name": "ncpdocker",
                    "namespace": "ncpdocker",
                    "pull_count": 0,
                    "repository_type": "image",
                    "star_count": null,
                    "status": 0,
                    "user": null
                }
            ]
          }
          JSON

          Was this article helpful?

          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.