Commit e06ef8e6 authored by Greg Messner's avatar Greg Messner
Browse files

Added RepositoryFileApi example.

parent 9fe1af54
......@@ -22,6 +22,7 @@ GroupApi
MergeRequestApi
ProjectApi
RepositoryApi
RepositoryFileApi
SessionApi
UserApi
```
......@@ -56,6 +57,12 @@ RepositoryApi:
List<Branch> branches = gitLabApi.getRepositoryApi().getBranches();
```
RepositoryFileApi:
```java
// Get info (name, size, ...) and the content ifrom a file in repository
RepositoryFile file = gitLabApi.getRepositoryFileApi().getFile("file-path", 1234, "ref");
```
SessionApi:
```java
// Log in to the GitLab server and get the session info
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment