I'd like to get the state of a merge request approval via the gitlab API with
GET /projects/:id/merge_requests/:merge_request_iid/approval_state
This call needs a account based access token with api level permissions (read/write on everything). This is not secure because I want to use this call within a pipeline where others might see/use my token.
Is there a possibility to make this call with a project based token?
The docs can be found here