Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Intertech Services AG
Yandex Container Registry
  • Getting started
  • Step-by-step instructions
  • Yandex Container Solution
  • Practical guidelines
  • Concepts
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
    • REST
      • Overview
      • Image
      • LifecyclePolicy
      • Registry
      • Repository
        • Overview
        • delete
        • get
        • getByName
        • list
        • listAccessBindings
        • setAccessBindings
        • updateAccessBindings
        • upsert
      • Scanner
  • Troubleshooting
  • Questions and answers
  1. API reference
  2. REST
  3. Repository
  4. getByName

Container Registry API, REST: Repository.getByName

Written by
Yandex Cloud
  • HTTP request
  • Path parameters
  • Response

Returns the specified Repository resource.

To get the list of available Repository resources, make a list request.

HTTP request

GET https://container-registry.api.cloud.yandex.net/container-registry/v1/repositories/{repositoryName}:byName

Path parameters

Parameter Description
repositoryName

Required. Name of the Repository resource to return.

To get the repository name use a list request.

Value must match the regular expression [a-z0-9]+(?:[._-][a-z0-9]+)*(/([a-z0-9]+(?:[._-][a-z0-9]+)*))*.

Response

HTTP Code: 200 - OK

{
  "name": "string",
  "id": "string"
}

A Repository resource. For more information, see Repository.

Field Description
name string

Name of the repository. The name is unique within the registry.

id string

Output only. ID of the repository.

Was the article helpful?

Language / Region
Yandex project
© 2023 Intertech Services AG
In this article:
  • HTTP request
  • Path parameters
  • Response