Getting an Artifact's Details in Artifact Registry

Get details about a specific artifact in Artifact Registry.

    1. Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Artifact Registry.
    2. Under List scope, choose the compartment that contains the repositories.
    3. Click the name of the repository that contains the artifact.
    4. Under Artifacts, find the artifact that you want to see details for.
    5. For the artifact, view the following details:
      • Name
      • Artifact path
      • Version
      • State
        • Available
        • Deleted
      • Result of the 256-bit Secure Hash Algorithm (SHA256) digest applied to the artifact when it was uploaded to the repository. The options for this field are:
        • Copy
        • Show
      • Size
      • Creation date and time
    6. To get an artifact's OCID, click the Actions menu for the artifact and then click Copy OCID.
  • To view an artifact's details, use the artifacts generic artifact resource, referenced in Artifact Registry CLI.

    Get all the commands for artifacts generic artifact:

    oci artifacts generic artifact -h

    Use one of following commands to view an artifact's details:

    • get
    • get-by-path
    Provide the Artifact OCID

    View details of a specific artifact by providing the artifact OCID in the OCI CLI.

    Get help for the get command:

    oci artifacts generic artifact get -h

    Find the options to provide for the get command:

    --artifact-id

    Get details for a specific artifact by providing the artifact OCID:

    oci artifacts generic artifact get --artifact-id <artifact-OCID>

    Example:

    oci artifacts repository get --artifact-id ocid1.genericartifact.oc1..xxx...
    Provide the Repository OCID, Artifact Path, and Version

    View details of a specific artifact by providing the repository OCID, and the artifact path and version, in the OCI CLI.

    Get help for the get-by-path command:

    oci artifacts generic artifact get-by-path -h

    Find the required options for the get-by-path command:

    • --repository-id
    • --artifact-path
    • --artifact-version
    oci artifacts generic artifact get-by-path --repository-id <repository-OCID> --artifact-path <path-defined-for-artifact-in-repo> --artifact-version <version-defined-for-artifact-in-repo>

    Get details for a specific artifact by providing its repository, path, and version:

    Example:

    oci artifacts generic artifact get-by-path --repository-id ocid1.artifactrepository.oc1..xxx... --artifact-path project01/my-web-app/artifact-abc --artifact-version 1.0.0
  • You can get information about an artifact in two ways: