How to fetch only specific data from /merge_requests api endpoint?

There is no option to tell which fields you need. You can use view=simple to reduce the number of fields if you are fetching all MRs. Otherwise you need to process/filter the response yourself.

Alternatively, you can use GraphQL instead.

1 Like