Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/group_avatar.rb')
-rw-r--r--lib/api/group_avatar.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/group_avatar.rb b/lib/api/group_avatar.rb
index 9063040c763..0820011fd89 100644
--- a/lib/api/group_avatar.rb
+++ b/lib/api/group_avatar.rb
@@ -7,11 +7,13 @@ module API
feature_category :subgroups
params do
- requires :id, type: String, desc: 'The ID of a group'
+ requires :id, type: String, desc: 'The ID of the group'
end
resource :groups, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do
desc 'Download the group avatar' do
detail 'This feature was introduced in GitLab 14.0'
+ tags %w[group_avatar]
+ success code: 200
end
get ':id/avatar' do
avatar = user_group.avatar