Add "author_username" parameter to Merge Request API
Problem to solve
The Merge Request API does not accept a author_username
parameter, only author_id
. That forces some API clients (potentially including gitlab features), which only know author_username
, to execute many extra API calls to retrieve the corresponding author_id
for each username.
Further details
- The Issues API accepts a
author_username
parameter which is "Similar to author_id and mutually exclusive with author_id." - This feature is desirable for ~"group::analytics", especially in regard to MR-focused features like Throughput.
Proposal
The Merge Request API endpoints should accept a author_username
parameter wherever they accept an author_id
parameter. These parameters are mutually exclusive.