Artifact Registry API
Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.
Developer tools#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.
Endpoints 40
projects.locations.repositories.rules
- GETGets a rule.
/v1/:nameGets a rule. - DELETEDeletes a rule.
/v1/:nameDeletes a rule. - PATCHUpdates a rule.
/v1/:name?updateMask=stringUpdates a rule. - GETLists rules.
/v1/:parent/rules?pageSize=0&pageToken=stringLists rules. - POSTCreates a rule.
/v1/:parent/rules?ruleId=stringCreates a rule.
projects.locations
- GETLists information about the supported locations for this service
/v1/:name/locations?extraLocationTypes=string&filter=string&pageSize=0&pageToken=stringLists information about the supported locations for this service. This method lists locations based on the resource scope provided in the…
projects.locations.operations
- POSTStarts asynchronous cancellation on a long-running operation
/v1/:name:cancelStarts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the…
projects.locations.repositories
- POSTChecks an artifact streaming.
/v1/:repository:checkPrewarmedArtifactChecks an artifact streaming. - GETLists repositories.
/v1/:parent/repositories?filter=string&orderBy=string&pageSize=0&pageToken=stringLists repositories. - POSTCreates a repository
/v1/:parent/repositories?repositoryId=stringCreates a repository. The returned Operation will finish once the repository has been created. Its response will be the created Repository. - POSTExports an artifact to a Cloud Storage bucket.
/v1/:repository:exportArtifactExports an artifact to a Cloud Storage bucket. - GETGets the IAM policy for a given resource.
/v1/:resource:getIamPolicy?options.requestedPolicyVersion=0Gets the IAM policy for a given resource. - POSTPrewarms an artifact for streaming.
/v1/:repository:prewarmArtifactPrewarms an artifact for streaming. - POSTRemoves an artifact from streaming.
/v1/:repository:removePrewarmedArtifactRemoves an artifact from streaming. - POSTUpdates the IAM policy for a given resource.
/v1/:resource:setIamPolicyUpdates the IAM policy for a given resource. - POSTTests if the caller has a list of permissions on a resource.
/v1/:resource:testIamPermissionsTests if the caller has a list of permissions on a resource.
projects.locations.repositories.aptArtifacts
- POSTImports Apt artifacts
/v1/:parent/aptArtifacts:importImports Apt artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the… - POSTDirectly uploads an Apt artifact
/v1/:parent/aptArtifacts:createDirectly uploads an Apt artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based…
projects.locations.repositories.attachments
- GETLists attachments.
/v1/:parent/attachments?filter=string&pageSize=0&pageToken=stringLists attachments. - POSTCreates an attachment
/v1/:parent/attachments?attachmentId=stringCreates an attachment. The returned Operation will finish once the attachment has been created. Its response will be the created attachment.
projects.locations.repositories.dockerImages
- GETLists docker images.
/v1/:parent/dockerImages?orderBy=string&pageSize=0&pageToken=stringLists docker images.
projects.locations.repositories.files
- GETDownload a file.
/v1/:name:downloadDownload a file. - GETLists files.
/v1/:parent/files?filter=string&orderBy=string&pageSize=0&pageToken=stringLists files. - POSTDirectly uploads a file to a repository
/v1/:parent/files:uploadDirectly uploads a file to a repository. The returned Operation will complete once the resources are uploaded.
projects.locations.repositories.genericArtifacts
- POSTDirectly uploads a Generic artifact
/v1/:parent/genericArtifacts:createDirectly uploads a Generic artifact. The returned operation will complete once the resources are uploaded. Package, version, and file resources are created…
projects.locations.repositories.goModules
- POSTDirectly uploads a Go module
/v1/:parent/goModules:createDirectly uploads a Go module. The returned Operation will complete once the Go module is uploaded. Package, Version, and File resources are created based on…
projects.locations.repositories.googetArtifacts
- POSTImports GooGet artifacts
/v1/:parent/googetArtifacts:importImports GooGet artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on the… - POSTDirectly uploads a GooGet artifact
/v1/:parent/googetArtifacts:createDirectly uploads a GooGet artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created…
projects.locations.repositories.kfpArtifacts
- POSTDirectly uploads a KFP artifact
/v1/:parent/kfpArtifacts:createDirectly uploads a KFP artifact. The returned Operation will complete once the resource is uploaded. Package, Version, and File resources will be created…
projects.locations.repositories.mavenArtifacts
- GETLists maven artifacts.
/v1/:parent/mavenArtifacts?pageSize=0&pageToken=stringLists maven artifacts.
projects.locations.repositories.npmPackages
- GETLists npm packages.
/v1/:parent/npmPackages?pageSize=0&pageToken=stringLists npm packages.
projects.locations.repositories.packages
- GETLists packages.
/v1/:parent/packages?filter=string&orderBy=string&pageSize=0&pageToken=stringLists packages.
projects.locations.repositories.packages.tags
- GETLists tags.
/v1/:parent/tags?filter=string&pageSize=0&pageToken=stringLists tags. - POSTCreates a tag.
/v1/:parent/tags?tagId=stringCreates a tag.
projects.locations.repositories.packages.versions
- POSTDeletes multiple versions across a repository
/v1/:parent/versions:batchDeleteDeletes multiple versions across a repository. The returned operation will complete once the versions have been deleted. - GETLists versions.
/v1/:parent/versions?filter=string&orderBy=string&pageSize=0&pageToken=string&view=VERSION_VIEW_UNSPECIFIEDLists versions.
projects.locations.repositories.prewarmedArtifacts
- GETLists all streamed artifacts in a repository.
/v1/:parent/prewarmedArtifacts?filter=string&pageSize=0&pageToken=stringLists all streamed artifacts in a repository.
projects.locations.repositories.pythonPackages
- GETLists python packages.
/v1/:parent/pythonPackages?pageSize=0&pageToken=stringLists python packages.
projects.locations.repositories.yumArtifacts
- POSTImports Yum (RPM) artifacts
/v1/:parent/yumArtifacts:importImports Yum (RPM) artifacts. The returned Operation will complete once the resources are imported. Package, Version, and File resources are created based on… - POSTDirectly uploads a Yum artifact
/v1/:parent/yumArtifacts:createDirectly uploads a Yum artifact. The returned Operation will complete once the resources are uploaded. Package, Version, and File resources are created based…
API details
- Base URL
https://artifactregistry.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 2 scopes
An API key in the key query parameter - Operations
- 40 operations on 34 pathsPOST 22GET 16PATCH 1DELETE 1
- Main resources
- projects.locations.repositories 9projects.locations.repositories.rules 5projects.locations.repositories.files 3projects.locations.repositories.aptArtifacts 2projects.locations.repositories.attachments 2projects.locations.repositories.googetArtifacts 2projects.locations.repositories.packages.tags 2projects.locations.repositories.packages.versions 2projects.locations.repositories.yumArtifacts 2projects.locations 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Artifact Registry API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Artifact Registry API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 2 scopes. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Gets a rule.” (GET /v1/:name), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Artifact Registry API?
Store and manage build artifacts in a scalable and integrated service built on Google infrastructure. It is listed under Developer tools and has 40 endpoints.
Who publishes the Artifact Registry API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Artifact Registry API?
Requests go to https://artifactregistry.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Artifact Registry API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 2 scopes; an API key in the key query parameter.
How many endpoints does the Artifact Registry API have?
40 operations on 34 paths (22 POST, 16 GET, 1 PATCH, 1 DELETE). The largest groups are projects.locations.repositories, projects.locations.repositories.rules, projects.locations.repositories.files, projects.locations.repositories.aptArtifacts.
Is forking the Artifact Registry API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.