tags
Overview
Name | tags |
Type | Resource |
Id | digitalocean.container_registry.tags |
Fields
Name | Datatype | Description |
---|---|---|
compressed_size_bytes | integer | The compressed size of the tag in bytes. |
manifest_digest | string | The digest of the manifest associated with the tag. |
registry_name | string | The name of the container registry. |
repository | string | The name of the repository. |
size_bytes | integer | The uncompressed size of the tag in bytes (this size is calculated asynchronously so it may not be immediately available). |
tag | string | The name of the tag. |
updated_at | string | The time the tag was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
registry_list_repositoryTags | SELECT | registry_name, repository_name | To 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 beURL-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_repositoryTag | DELETE | registry_name, repository_name, repository_tag | To 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 beURL-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_repositoryTags | EXEC | registry_name, repository_name | To 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 beURL-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 . |