diff options
Diffstat (limited to 'lib/api/badges.rb')
-rw-r--r-- | lib/api/badges.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/api/badges.rb b/lib/api/badges.rb index 84c9f780a53..62eecdbd5e5 100644 --- a/lib/api/badges.rb +++ b/lib/api/badges.rb @@ -22,7 +22,9 @@ module API %w[group project].each do |source_type| params do - requires :id, type: String, desc: "The ID of a #{source_type}" + requires :id, + type: String, + desc: "The ID or URL-encoded path of the #{source_type} owned by the authenticated user." end resource source_type.pluralize, requirements: API::NAMESPACE_OR_PROJECT_REQUIREMENTS do desc "Gets a list of #{source_type} badges viewable by the authenticated user." do |