Unverified Commit 7960f1d4 authored by Haroon Gul's avatar Haroon Gul Committed by GitHub
Browse files

Update README.md to include TagsApi example (#564)

parent 064b0336
...@@ -305,6 +305,7 @@ The following is a list of the available sub APIs along with a sample use of eac ...@@ -305,6 +305,7 @@ The following is a list of the available sub APIs along with a sample use of eac
&nbsp;&nbsp;[SessionApi](#sessionapi)<br/> &nbsp;&nbsp;[SessionApi](#sessionapi)<br/>
&nbsp;&nbsp;[SnippetsApi](#snippetsapi)<br/> &nbsp;&nbsp;[SnippetsApi](#snippetsapi)<br/>
&nbsp;&nbsp;[SystemHooksApi](#systemhooksapi)<br/> &nbsp;&nbsp;[SystemHooksApi](#systemhooksapi)<br/>
&nbsp;&nbsp;[TagsApi](#tagsapi)<br/>
&nbsp;&nbsp;[TodosApi](#todosapi)<br/> &nbsp;&nbsp;[TodosApi](#todosapi)<br/>
&nbsp;&nbsp;[UserApi](#userapi)<br/> &nbsp;&nbsp;[UserApi](#userapi)<br/>
&nbsp;&nbsp;[WikisApi](#wikisapi) &nbsp;&nbsp;[WikisApi](#wikisapi)
...@@ -571,6 +572,12 @@ List<Snippet> snippets = gitLabApi.getSnippetsApi().getSnippets(); ...@@ -571,6 +572,12 @@ List<Snippet> snippets = gitLabApi.getSnippetsApi().getSnippets();
List<SystemHook> hooks = gitLabApi.getSystemHooksApi().getSystemHooks(); List<SystemHook> hooks = gitLabApi.getSystemHooksApi().getSystemHooks();
``` ```
#### TagsApi
```java
// Get a list of tags for the specified project ID
List<Tag> tags = gitLabApi.getTagsApi().getTags(projectId);
```
#### TodosApi #### TodosApi
```java ```java
// Get a list of all pending todos for the current user // Get a list of all pending todos for the current user
......
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