Search API - Allow Merge Requests scope results to be filtered by state

Allow Search API callers to the merge_requests scope the ability to filter results by the state field (values: All, Open, Merged or Closed). The state filter should default to All States.

Check the UI designs in the related issue and completed UI work to make sure the API behavior matches the UI behavior

API Documentation updates should be included

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖