Add API pagination for deployed merge requests
What does this MR do?
This endpoint did not apply pagination to the output, which can result in API calls taking a long time when many deployments are retrieved.
See #207523 (closed) for more information.