docs(merge_request_approvals): point MergeRequestApprovalState at the right docs section

What does this MR do?

Upstream commit 89b89258 already fixed most of the stale anchors on the Merge request approvals API page. One is still off:

MergeRequestApprovalState is returned by GET /projects/:id/merge_requests/:merge_request_iid/approval_state (it carries the approval_rules_overwritten and rules fields), but its doc link points at the section that documents GET .../approvals.

This points it at #retrieve-approval-details-for-a-merge-request, the section for the /approval_state response.

How was this checked?

  • The #retrieve-approval-details-for-a-merge-request section on the live page lists approval_rules_overwritten, which matches this type.
  • GetApprovalState uses routeProjectsIDMergeRequestsIDApprovalState and returns *MergeRequestApprovalState, so the type and the function describe the same endpoint.
  • Comment-only change.

This contribution was prepared with the help of an AI assistant. I reviewed the changes and take responsibility for them.

Edited by Anish Kumar

Merge request reports

Loading
Loading