mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
Added project-repository-files docs page
This commit is contained in:
parent
1e7d02eaf4
commit
bc5f286af8
14
docs/project-repository-files.md
Normal file
14
docs/project-repository-files.md
Normal file
@ -0,0 +1,14 @@
|
||||
## Project Repository Files
|
||||
|
||||
* [Get a file](#get-a-file)
|
||||
|
||||
### Get a file
|
||||
|
||||
Get file from repository
|
||||
|
||||
```javascript
|
||||
// From a project ID
|
||||
let file = GitlabAPI.projects.repository.files.show(projectId, encodeURIComponent( filePath ), branch );
|
||||
```
|
||||
Parameters: [Get file from repository](https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/repository_files.md#get-file-from-repository)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user