Skip to main content

tags

Overview

Nametags
TypeResource
Iddigitalocean.container_registry.tags

Fields

NameDatatypeDescription
compressed_size_bytesintegerThe compressed size of the tag in bytes.
manifest_digeststringThe digest of the manifest associated with the tag.
registry_namestringThe name of the container registry.
repositorystringThe name of the repository.
size_bytesintegerThe uncompressed size of the tag in bytes (this size is calculated asynchronously so it may not be immediately available).
tagstringThe name of the tag.
updated_atstringThe time the tag was last updated.

Methods

NameAccessible byRequired ParamsDescription
registry_list_repositoryTagsSELECTregistry_name, repository_nameTo list all tags in your container registry repository, send a GET
request to /v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags.

Note that if your repository name contains / characters, it must be
URL-encoded in the request URL. For example, to list tags for
registry.digitalocean.com/example/my/repo, the path would be
/v2/registry/example/repositories/my%2Frepo/tags.
registry_delete_repositoryTagDELETEregistry_name, repository_name, repository_tagTo delete a container repository tag, send a DELETE request to
/v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags/$TAG.

Note that if your repository name contains / characters, it must be
URL-encoded in the request URL. For example, to delete
registry.digitalocean.com/example/my/repo:mytag, the path would be
/v2/registry/example/repositories/my%2Frepo/tags/mytag.

A successful request will receive a 204 status code with no body in response.
This indicates that the request was processed successfully.
_registry_list_repositoryTagsEXECregistry_name, repository_nameTo list all tags in your container registry repository, send a GET
request to /v2/registry/$REGISTRY_NAME/repositories/$REPOSITORY_NAME/tags.

Note that if your repository name contains / characters, it must be
URL-encoded in the request URL. For example, to list tags for
registry.digitalocean.com/example/my/repo, the path would be
/v2/registry/example/repositories/my%2Frepo/tags.