Method: Gitlab::Client::ResourceStateEvents#merge_request_state_events

Defined in:
lib/gitlab/client/resource_state_events.rb

#merge_request_state_events(project, merge_request_iid) ⇒ Array<Gitlab::ObjectifiedHash>

Gets a list of all state events for a single merge request.

Examples:

Gitlab.merge_request_state_events(5, 42)

Parameters:

  • project (Integer, String)

    The ID or name of a project.

  • merge_request_iid (Integer)

    The IID of a merge request.

Returns:



40
41
42
# File 'lib/gitlab/client/resource_state_events.rb', line 40

def merge_request_state_events(project, merge_request_iid)
  get("/projects/#{url_encode project}/merge_requests/#{merge_request_iid}/resource_state_events")
end