module Gitlab::Client::Labels

def subscribe_to_label(project, name)

Returns:
  • (Gitlab::ObjectifiedHash) - Information about the label subscribed to.

Parameters:
  • name (String) -- The name of a label.
  • project (Integer, String) -- The ID or name of a project.
def subscribe_to_label(project, name)
  post("/projects/#{url_encode project}/labels/#{url_encode name}/subscribe")
end