Get all rights user from protected_branches with API REST

Hi,

I would like to know if is it possible to get all access level user of a branch, for a admin user.

For example, call /projects/:id/protected_branches?user_id=:iduser
=> get all access level of each user (0,30,40)

I read the api rest documentation, especially protected_branches documentation (https://docs.gitlab.com/ee/api/protected_branches.html) but I didn’t find the answer. It’s just possible to have protected_branches level access of current connected user.

it seems that this functionality does not exist in the rest api, even in the enterprise edition. Is that right ?

Sorry for my english, i’m french.

P.Dupre.