module Gitlab::Client::GroupBadges
def add_group_badge(group, options = {})
-
(Gitlab::ObjectifiedHash)
- Information about the added group badge.
Options Hash:
(**options)
-
:image_url(required)
(String
) -- URL of the badge image -
:link_url(required)
(String
) -- URL of the badge link
Parameters:
-
options
(Hash
) -- A customizable set of options. -
group(required)
(Integer, String
) -- The ID or URL-encoded path of the group owned by the authenticated user.
def add_group_badge(group, options = {}) post("/groups/#{url_encode group}/badges", body: options) end