summaryrefslogtreecommitdiff
path: root/app/serializers/container_tag_entity.rb
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-01-10 15:22:58 +0100
committerKamil Trzciński <ayufan@ayufan.eu>2019-01-25 13:13:48 +0100
commit045d07bab37df2020f650f7354157f5267f57c8a (patch)
treee99aad48ed248daa02ff1d7fe9250b327ffa77bb /app/serializers/container_tag_entity.rb
parent267ce96e36ecec169b02410bfea85e6d31715910 (diff)
downloadgitlab-ce-045d07bab37df2020f650f7354157f5267f57c8a.tar.gz
Add Container Registry API
This includes a set of APIs to manipulate container registry. This includes also an ability to delete tags based on requested criteria, like keep-last-n, matching-name, older-than.
Diffstat (limited to 'app/serializers/container_tag_entity.rb')
-rw-r--r--app/serializers/container_tag_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/container_tag_entity.rb b/app/serializers/container_tag_entity.rb
index 637294877f8..361c073e22e 100644
--- a/app/serializers/container_tag_entity.rb
+++ b/app/serializers/container_tag_entity.rb
@@ -3,7 +3,7 @@
class ContainerTagEntity < Grape::Entity
include RequestAwareEntity
- expose :name, :location, :revision, :short_revision, :total_size, :created_at
+ expose :name, :path, :location, :digest, :revision, :short_revision, :total_size, :created_at
expose :destroy_path, if: -> (*) { can_destroy? } do |tag|
project_registry_repository_tag_path(project, tag.repository, tag.name)