@@ -23,6 +23,8 @@ public ApplicationsApi(GitLabApi gitLabApi) {
23
23
/**
24
24
* Get all OATH applications.
25
25
*
26
+ * <pre><code>GitLab Endpoint: GET /api/v4/applications</code></pre>
27
+ *
26
28
* @return a List of OAUTH Application instances
27
29
* @throws GitLabApiException if any exception occurs
28
30
*/
@@ -33,6 +35,8 @@ public List<Application> getApplications() throws GitLabApiException {
33
35
/**
34
36
* Get all OAUTH applications using the specified page and per page setting
35
37
*
38
+ * <pre><code>GitLab Endpoint: GET /api/v4/applications</code></pre>
39
+ *
36
40
* @param page the page to get
37
41
* @param perPage the number of items per page
38
42
* @return a list of OAUTH Applications in the specified range
@@ -46,6 +50,8 @@ public List<Application> getApplications(int page, int perPage) throws GitLabApi
46
50
/**
47
51
* Get a Pager of all OAUTH applications.
48
52
*
53
+ * <pre><code>GitLab Endpoint: GET /api/v4/applications</code></pre>
54
+ *
49
55
* @param itemsPerPage the number of items per page
50
56
* @return a Pager of Application instances in the specified range
51
57
* @throws GitLabApiException if any exception occurs
@@ -57,6 +63,8 @@ public Pager<Application> getApplications(int itemsPerPage) throws GitLabApiExce
57
63
/**
58
64
* Get a Stream of all OAUTH Application instances.
59
65
*
66
+ * <pre><code>GitLab Endpoint: GET /api/v4/applications</code></pre>
67
+ *
60
68
* @return a Stream of OAUTH Application instances
61
69
* @throws GitLabApiException if any exception occurs
62
70
*/
@@ -67,6 +75,8 @@ public Stream<Application> getApplicationsStream() throws GitLabApiException {
67
75
/**
68
76
* Create an OAUTH Application.
69
77
*
78
+ * <pre><code>GitLab Endpoint: POST /api/v4/applications</code></pre>
79
+ *
70
80
* @param name the name for the OAUTH Application
71
81
* @param redirectUri the redirect URI for the OAUTH Application
72
82
* @param scopes the scopes of the application (api, read_user, sudo, read_repository, openid, profile, email)
@@ -85,6 +95,8 @@ public Application createApplication(String name, String redirectUri, Applicatio
85
95
/**
86
96
* Create an OAUTH Application.
87
97
*
98
+ * <pre><code>GitLab Endpoint: POST /api/v4/applications</code></pre>
99
+ *
88
100
* @param name the name for the OAUTH Application
89
101
* @param redirectUri the redirect URI for the OAUTH Application
90
102
* @param scopes the scopes of the application (api, read_user, sudo, read_repository, openid, profile, email)
@@ -109,6 +121,8 @@ public Application createApplication(String name, String redirectUri, List<Appli
109
121
/**
110
122
* Delete the specified OAUTH Application.
111
123
*
124
+ * <pre><code>GitLab Endpoint: DELETE /api/v4/applications/:applicationId</code></pre>
125
+ *
112
126
* @param applicationId the ID of the OUAUTH Application to delete
113
127
* @throws GitLabApiException if any exception occurs
114
128
*/
0 commit comments