Getting a Repository's Details in Artifact Registry
Get details about a specific repository in Artifact Registry.
- Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Artifact Registry.
- Under List scope, choose the compartment that contains the repositories.
- Click the name of the repository that you want to see details for.
To get a repository's details, use the
artifacts repositoryresource, referenced in Artifact Registry CLI.Get all the commands for
artifacts repository:oci artifacts repository -hGet help for the
getcommand:oci artifacts repository get -hFind the options to provide for the
getcommand:--repository-idGet details for a specific repository:
oci artifacts repository get --repository-id <repository-OCID>Example:
oci artifacts repository get --repository-id ocid1.artifactrepository.oc1..xxx...Sample output:
{ "data":{ "compartment-id": "ocid1.artifactrepository.oc1..xxx...", "defined-tags": {}, "description": "", "display-name": "artifactrepository20210423180901", "freeform-tags": {}, "id": "ocid1.artifactrepository.oc1..xxx...", "is-immutable": true, "lifecycle-state": "AVAILABLE", "repository-type": "GENERIC", "time-created": "2021-04-23T18:09:02.511000+00:00" }, etag: "xxxxxx" }Use the GetRepository operation to get a repository's details.