diff options
author | James Lopez <james@jameslopez.es> | 2018-12-04 13:57:36 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-12-04 13:57:36 +0300 |
commit | 848e827c0de5fef0541ef5ab174fef7cd48e4324 (patch) | |
tree | 7ee9fa374b6d8929a334278c21e670161c8f1600 /doc/api | |
parent | 1c34a2a01497f9db4602794b1aa37ae54dcee740 (diff) |
Add docs and changelog
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/repository_files.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/repository_files.md b/doc/api/repository_files.md index c3624f1a535..4bbb93806de 100644 --- a/doc/api/repository_files.md +++ b/doc/api/repository_files.md @@ -4,6 +4,18 @@ **Create, read, update and delete repository files using this API** +The different scopes available using [personal access tokens][personal-access-tokens] are depicted +in the following table. + +| Scope | Description | +| ----- | ----------- | +| `read_repository` | Allows read-access to the repository files | +| `api` | Allows read-write access to the repository files | + +> `read_repository` scope was [introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23534) in GitLab 11.5.3. + +[personal-access-tokens]: (../user/profile/personal_access_tokens.md) + ## Get file from repository Allows you to receive information about file in repository like name, size, |