read_repository scope can be used for API

as per documentation https://docs.gitlab.com/ee/api/repository_files.html
You can use read_repository to access repository_file API.

Not sure about write_repository as it is new and not documented in that page.
This commit is contained in:
Pierre Tardy 2019-06-14 08:57:58 +00:00
parent 72b107a5fc
commit 290e459613
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ en:
read_user:
Grants read-only access to the authenticated user's profile through the /user API endpoint, which includes username, public email, and full name. Also grants access to read-only API endpoints under /users.
read_repository:
Grants read-only access to repositories on private projects using Git-over-HTTP (not using the API).
Grants read-only access to repositories on private projects using Git-over-HTTP (and using repository_file API).
write_repository:
Grants read-write access to repositories on private projects using Git-over-HTTP (not using the API).
read_registry: