diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-30 14:58:19 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-30 14:58:19 +0000 |
commit | 91072f3125286adfb56d4633bc877ea6ace975e0 (patch) | |
tree | 2718ea887af88c749bac9b84f1132620d76ce1ae /lib | |
parent | e92925533667e147ff34cf1e9b8af21680c8c7d4 (diff) | |
download | gitlab-ce-91072f3125286adfb56d4633bc877ea6ace975e0.tar.gz |
Add latest changes from gitlab-org/security/gitlab@15-8-stable-ee
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/container_registry_event.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/api/container_registry_event.rb b/lib/api/container_registry_event.rb index 9467f09e4b6..a87ccb55193 100644 --- a/lib/api/container_registry_event.rb +++ b/lib/api/container_registry_event.rb @@ -32,18 +32,6 @@ module API ] tags %w[container_registry_event] end - params do - requires :events, type: Array, desc: 'Event notifications' do - requires :action, type: String, desc: 'The action to perform, `push`, `delete`, `pull`', - values: %w[push delete pull].freeze - optional :target, type: Hash, desc: 'The target of the action' do - optional :tag, type: String, desc: 'The target tag', documentation: { example: 'latest' } - optional :repository, type: String, desc: 'The target repository', documentation: { example: 'group/p1' } - optional :digest, type: String, desc: 'Unique identifier for target image manifest', - documentation: { example: 'imagedigest' } - end - end - end # This endpoint is used by Docker Registry to push a set of event # that took place recently. |