Artifact Registry API

Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.

Service: artifactregistry.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://artifactregistry.googleapis.com

REST Resource: v1beta1.projects.locations

Methods
get GET /v1beta1/{name=projects/*/locations/*}
Gets information about a location.
list GET /v1beta1/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v1beta1.projects.locations.operations

Methods
get GET /v1beta1/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1beta1/{name=projects/*/locations/*}/operations
Lists operations that match the specified filter in the request.

REST Resource: v1beta1.projects.locations.repositories

Methods
create POST /v1beta1/{parent=projects/*/locations/*}/repositories
Creates a repository.
delete DELETE /v1beta1/{name=projects/*/locations/*/repositories/*}
Deletes a repository and all of its contents.
get GET /v1beta1/{name=projects/*/locations/*/repositories/*}
Gets a repository.
getIamPolicy GET /v1beta1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy
Gets the IAM policy for a given resource.
list GET /v1beta1/{parent=projects/*/locations/*}/repositories
Lists repositories.
patch PATCH /v1beta1/{repository.name=projects/*/locations/*/repositories/*}
Updates a repository.
setIamPolicy POST /v1beta1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy
Updates the IAM policy for a given resource.
testIamPermissions POST /v1beta1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions
Tests if the caller has a list of permissions on a resource.

REST Resource: v1beta1.projects.locations.repositories.files

Methods
get GET /v1beta1/{name=projects/*/locations/*/repositories/*/files/**}
Gets a file.
list GET /v1beta1/{parent=projects/*/locations/*/repositories/*}/files
Lists files.

REST Resource: v1beta1.projects.locations.repositories.packages

Methods
delete DELETE /v1beta1/{name=projects/*/locations/*/repositories/*/packages/*}
Deletes a package and all of its versions and tags.
get GET /v1beta1/{name=projects/*/locations/*/repositories/*/packages/*}
Gets a package.
list GET /v1beta1/{parent=projects/*/locations/*/repositories/*}/packages
Lists packages.

REST Resource: v1beta1.projects.locations.repositories.packages.tags

Methods
create POST /v1beta1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags
Creates a tag.
delete DELETE /v1beta1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}
Deletes a tag.
get GET /v1beta1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}
Gets a tag.
list GET /v1beta1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags
Lists tags.
patch PATCH /v1beta1/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}
Updates a tag.

REST Resource: v1beta1.projects.locations.repositories.packages.versions

Methods
delete DELETE /v1beta1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}
Deletes a version and all of its content.
get GET /v1beta1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}
Gets a version
list GET /v1beta1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions
Lists versions.