Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
848e827c
Commit
848e827c
authored
Dec 04, 2018
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docs and changelog
parent
1c34a2a0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
changelogs/unreleased/54826-use-read_repository-scope-on-read-only-files-endpoints.yml
...se-read_repository-scope-on-read-only-files-endpoints.yml
+5
-0
doc/api/repository_files.md
doc/api/repository_files.md
+12
-0
No files found.
changelogs/unreleased/54826-use-read_repository-scope-on-read-only-files-endpoints.yml
0 → 100644
View file @
848e827c
---
title
:
Use read_repository scope on read-only files API
merge_request
:
author
:
type
:
fixed
doc/api/repository_files.md
View file @
848e827c
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment