Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.systemhooks | |
org.gitlab4j.api.webhook |
Modifier and Type | Method | Description |
---|---|---|
static GitLabApiException |
GitLabApi.getOptionalException(Optional<?> optional) |
Get the exception associated with the provided Optional instance, or null if no exception is
associated with the Optional instance.
|
protected GitLabApiException |
AbstractApi.handle(Exception thrown) |
Wraps an exception in a GitLabApiException if needed.
|
Modifier and Type | Method | Description |
---|---|---|
protected static <T> Optional<T> |
GitLabApi.createOptionalFromException(GitLabApiException glae) |
Create and return an Optional instance associated with a GitLabApiException.
|
Modifier and Type | Method | Description |
---|---|---|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Integer projectId,
Integer mergeRequestIid) |
Merge changes to the merge request.
|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Integer projectId,
Integer mergeRequestIid,
String mergeCommitMessage,
Boolean shouldRemoveSourceBranch,
Boolean mergeWhenPipelineSucceeds) |
Merge changes to the merge request.
|
MergeRequest |
MergeRequestApi.acceptMergeRequest(Integer projectId,
Integer mergeRequestIid,
String mergeCommitMessage,
Boolean shouldRemoveSourceBranch,
Boolean mergeWhenPipelineSucceeds,
String sha) |
Merge changes to the merge request.
|
Milestone |
MilestonesApi.activateMilestone(Integer projectId,
Integer milestoneId) |
Activate a milestone.
|
Comment |
CommitsApi.addComment(int projectId,
String sha,
String note) |
Add a comment to a commit.
|
Comment |
CommitsApi.addComment(int projectId,
String sha,
String note,
String path,
Integer line,
Constants.LineType lineType) |
Add a comment to a commit.
|
DeployKey |
DeployKeysApi.addDeployKey(Integer projectId,
String title,
String key,
Boolean canPush) |
Creates a new deploy key for a project.
|
Group |
GroupApi.addGroup(String name,
String path) |
Creates a new project group.
|
Group |
GroupApi.addGroup(String name,
String path,
String description,
Boolean membershipLock,
Boolean shareWithGroupLock,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId,
Integer sharedRunnersMinutesLimit) |
Deprecated.
Will be removed in version 5.0, replaced by
GroupApi.addGroup(String, String, String, Visibility,
Boolean, Boolean, Integer) |
Group |
GroupApi.addGroup(String name,
String path,
String description,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId) |
Creates a new project group.
|
ProjectHook |
ProjectApi.addHook(Integer projectId,
String url,
boolean doPushEvents,
boolean doIssuesEvents,
boolean doMergeRequestsEvents) |
Adds a hook to project.
|
ProjectHook |
ProjectApi.addHook(Integer projectId,
String url,
ProjectHook enabledHooks,
boolean enableSslVerification,
String secretToken) |
Adds a hook to project.
|
ProjectHook |
ProjectApi.addHook(String projectName,
String url,
ProjectHook enabledHooks,
boolean enableSslVerification,
String secretToken) |
Adds a hook to project.
|
ProjectHook |
ProjectApi.addHook(Project project,
String url,
boolean doPushEvents,
boolean doIssuesEvents,
boolean doMergeRequestsEvents) |
Adds a hook to project.
|
ProjectHook |
ProjectApi.addHook(Project project,
String url,
ProjectHook enabledHooks,
boolean enableSslVerification,
String secretToken) |
Adds a hook to project.
|
Member |
GroupApi.addMember(Integer groupId,
Integer userId,
Integer accessLevel) |
Adds a user to the list of group members.
|
Member |
GroupApi.addMember(Integer groupId,
Integer userId,
Integer accessLevel,
Date expiresAt) |
Adds a user to the list of group members.
|
Member |
GroupApi.addMember(Integer groupId,
Integer userId,
AccessLevel accessLevel) |
Adds a user to the list of group members.
|
Member |
GroupApi.addMember(Integer groupId,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Adds a user to the list of group members.
|
Member |
ProjectApi.addMember(Integer projectId,
Integer userId,
Integer accessLevel) |
Adds a user to a project team.
|
Member |
ProjectApi.addMember(Integer projectId,
Integer userId,
Integer accessLevel,
Date expiresAt) |
Adds a user to a project team.
|
Member |
ProjectApi.addMember(Integer projectId,
Integer userId,
AccessLevel accessLevel) |
Adds a user to a project team.
|
Member |
ProjectApi.addMember(Integer projectId,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Adds a user to a project team.
|
TimeStats |
IssuesApi.addSpentTime(Integer projectId,
Integer issueIid,
int duration) |
Adds spent time for this issue
POST /projects/:id/issues/:issue_iid/add_spent_time
|
TimeStats |
IssuesApi.addSpentTime(Integer projectId,
Integer issueIid,
String duration) |
Adds spent time for this issue
POST /projects/:id/issues/:issue_iid/add_spent_time
|
TimeStats |
IssuesApi.addSpentTime(Integer projectId,
Integer issueIid,
Duration duration) |
Adds spent time for this issue
POST /projects/:id/issues/:issue_iid/add_spent_time
|
SshKey |
UserApi.addSshKey(Integer userId,
String title,
String key) |
Create new key owned by specified user.
|
SshKey |
UserApi.addSshKey(String title,
String key) |
Creates a new key owned by the currently authenticated user.
|
SystemHook |
SystemHooksApi.addSystemHook(String url,
String token,
Boolean pushEvents,
Boolean tagPushEvents,
Boolean enablSsslVerification) |
Add a new system hook.
|
MergeRequest |
MergeRequestApi.approveMergeRequest(Integer projectId,
Integer mergeRequestIid,
String sha) |
Approve a merge request.
|
Project |
ProjectApi.archiveProject(Integer projectId) |
Archive a project
POST /projects/:id/archive
|
void |
UserApi.blockUser(Integer userId) |
Blocks the specified user.
|
MergeRequest |
MergeRequestApi.cancelMergeRequest(Integer projectId,
Integer mergeRequestIid) |
Cancel merge when pipeline succeeds.
|
Pipeline |
PipelineApi.cancelPipelineJobs(int projectId,
int pipelineId) |
Cancel jobs of specified pipelines in a project.
|
Job |
JobApi.cancleJob(int projectId,
int jobId) |
Cancel specified job in a project.
|
Issue |
IssuesApi.closeIssue(Integer projectId,
Integer issueIid) |
Closes an existing project issue.
|
Milestone |
MilestonesApi.closeMilestone(Integer projectId,
Integer milestoneId) |
Close a milestone.
|
CompareResults |
RepositoryApi.compare(Integer projectId,
String from,
String to) |
Compare branches, tags or commits.
|
CompareResults |
RepositoryApi.compare(String projectPath,
String from,
String to) |
Compare branches, tags or commits.
|
static GitLabApi |
GitLabApi.create(String url,
String username,
String password) |
Deprecated.
As of release 4.2.0, replaced by
GitLabApi.login(String, String, String) , will be removed in 4.9.0 |
Branch |
RepositoryApi.createBranch(Integer projectId,
String branchName,
String ref) |
Creates a branch for the project.
|
Commit |
CommitsApi.createCommit(int projectId,
String branch,
String commitMessage,
String startBranch,
String authorEmail,
String authorName,
List<CommitAction> actions) |
Create a commit with multiple files and actions.
|
Commit |
CommitsApi.createCommit(String project,
String branch,
String commitMessage,
String startBranch,
String authorEmail,
String authorName,
List<CommitAction> actions) |
Create a commit with multiple files and actions.
|
RepositoryFile |
RepositoryFileApi.createFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage) |
Create new file in repository
POST /projects/:id/repository/files
file_path (required) - Full path to new file.
|
ImpersonationToken |
UserApi.createImpersonationToken(Integer userId,
String name,
Date expiresAt,
ImpersonationToken.Scope[] scopes) |
Create an impersonation token.
|
Issue |
IssuesApi.createIssue(Integer projectId,
String title,
String description) |
Create an issue for the project.
|
Issue |
IssuesApi.createIssue(Integer projectId,
String title,
String description,
Boolean confidential,
List<Integer> assigneeIds,
Integer milestoneId,
String labels,
Date createdAt,
Date dueDate,
Integer mergeRequestToResolveId,
Integer discussionToResolveId) |
Create an issue for the project.
|
Note |
NotesApi.createIssueNote(Integer projectId,
Integer issueIid,
String body) |
Create a issues's note.
|
Note |
NotesApi.createIssueNote(Integer projectId,
Integer issueIid,
String body,
Date createdAt) |
Create a issues's note.
|
Label |
LabelsApi.createLabel(Integer projectId,
String name,
String color) |
Create a label
|
Label |
LabelsApi.createLabel(Integer projectId,
String name,
String color,
Integer priority) |
Create a label
|
Label |
LabelsApi.createLabel(Integer projectId,
String name,
String color,
String description) |
Create a label
|
Label |
LabelsApi.createLabel(Integer projectId,
String name,
String color,
String description,
Integer priority) |
Create a label
|
MergeRequest |
MergeRequestApi.createMergeRequest(Integer projectId,
String sourceBranch,
String targetBranch,
String title,
String description,
Integer assigneeId) |
Creates a merge request and optionally assigns a reviewer to it.
|
MergeRequest |
MergeRequestApi.createMergeRequest(Integer projectId,
String sourceBranch,
String targetBranch,
String title,
String description,
Integer assigneeId,
Integer targetProjectId,
String[] labels,
Integer milestoneId,
Boolean removeSourceBranch) |
Creates a merge request and optionally assigns a reviewer to it.
|
Note |
NotesApi.createMergeRequestNote(Integer projectId,
Integer mergeRequestIid,
String body) |
Create a merge request's note.
|
Milestone |
MilestonesApi.createMilestone(Integer projectId,
String title,
String description,
Date dueDate,
Date startDate) |
Create a milestone.
|
WikiPage |
WikisApi.createPage(Integer projectId,
String title,
String content) |
Creates a new project wiki page.
|
Pipeline |
PipelineApi.createPipeline(int projectId,
String ref) |
Create a pipelines in a project.
|
Project |
ProjectApi.createProject(Integer groupId,
String projectName) |
Create a new project in the specified group.
|
Project |
ProjectApi.createProject(String projectName) |
Create a new project with the current user's namespace.
|
Project |
ProjectApi.createProject(String name,
Integer namespaceId,
String description,
Boolean issuesEnabled,
Boolean mergeRequestsEnabled,
Boolean wikiEnabled,
Boolean snippetsEnabled,
Boolean isPublic,
Integer visibilityLevel,
String importUrl) |
Deprecated.
As of release 4.2.0, replaced by
ProjectApi.createProject(String, Integer, String, Boolean, Boolean,
Boolean, Boolean, Visibility, Integer, String) |
Project |
ProjectApi.createProject(String name,
Integer namespaceId,
String description,
Boolean issuesEnabled,
Boolean mergeRequestsEnabled,
Boolean wikiEnabled,
Boolean snippetsEnabled,
Visibility visibility,
Integer visibilityLevel,
Boolean printingMergeRequestLinkEnabled,
String importUrl) |
Creates a Project
|
Project |
ProjectApi.createProject(String name,
Integer namespaceId,
String description,
Boolean issuesEnabled,
Boolean mergeRequestsEnabled,
Boolean wikiEnabled,
Boolean snippetsEnabled,
Visibility visibility,
Integer visibilityLevel,
String importUrl) |
Creates a Project
|
Project |
ProjectApi.createProject(Project project) |
Creates new project owned by the current user.
|
Project |
ProjectApi.createProject(Project project,
String importUrl) |
Creates new project owned by the current user.
|
PushRules |
ProjectApi.createPushRules(Integer projectId,
PushRules pushRule) |
Adds a push rule to a specified project.
|
Snippet |
ProjectApi.createSnippet(Integer projectId,
String title,
String filename,
String description,
String code,
Visibility visibility) |
Creates a new project snippet.
|
Snippet |
SnippetsApi.createSnippet(String title,
String fileName,
String content) |
Create a new Snippet.
|
Snippet |
SnippetsApi.createSnippet(String title,
String fileName,
String content,
Visibility visibility,
String description) |
Create a new Snippet.
|
Tag |
RepositoryApi.createTag(Integer projectId,
String tagName,
String ref,
String message,
File releaseNotesFile) |
Creates a tag on a particular ref of a given project.
|
Tag |
RepositoryApi.createTag(Integer projectId,
String tagName,
String ref,
String message,
String releaseNotes) |
Creates a tag on a particular ref of the given project.
|
User |
UserApi.createUser(User user,
CharSequence password,
boolean resetPassword) |
Creates a new user.
|
User |
UserApi.createUser(User user,
CharSequence password,
Integer projectsLimit) |
Deprecated.
Will be removed in version 5.0, replaced by
UserApi.createUser(User, CharSequence, boolean) |
List<T> |
Pager.current() |
Returns the current page of List.
|
protected javax.ws.rs.core.Response |
AbstractApi.delete(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
Object... pathArgs) |
Perform an HTTP DELETE call with the specified form data and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.delete(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
URL url) |
Perform an HTTP DELETE call with the specified form data and URL, returning
a ClientResponse instance with the data returned from the endpoint.
|
void |
RepositoryApi.deleteBranch(Integer projectId,
String branchName) |
Delete a single project repository branch.
|
void |
DeployKeysApi.deleteDeployKey(Integer projectId,
Integer keyId) |
Removes a deploy key from the project.
|
void |
RepositoryFileApi.deleteFile(String filePath,
Integer projectId,
String branchName,
String commitMessage) |
Delete existing file in repository
DELETE /projects/:id/repository/files
file_path (required) - Full path to file.
|
void |
ServicesApi.deleteGitLabCI(Object projectIdOrPath) |
Deprecated.
No longer supported
|
void |
GroupApi.deleteGroup(Integer groupId) |
Removes group with all projects inside.
|
void |
GroupApi.deleteGroup(Group group) |
Removes group with all projects inside.
|
void |
ServicesApi.deleteHipChat(Object projectIdOrPath) |
Deprecated.
replaced with
updateHipChat method |
void |
ServicesApi.deleteHipChatService(Object projectIdOrPath) |
Deletes the HipChatService service for a project.
|
void |
ProjectApi.deleteHook(Integer projectId,
Integer hookId) |
Deletes a hook from the project.
|
void |
ProjectApi.deleteHook(ProjectHook hook) |
Deletes a hook from the project.
|
void |
IssuesApi.deleteIssue(Integer projectId,
Integer issueIid) |
Delete an issue.
|
void |
ProjectApi.deleteIssue(Integer projectId,
Integer issueId) |
Deprecated.
Will be removed in version 5.0, replaced by
IssuesApi.deleteIssue(Integer, Integer) |
void |
NotesApi.deleteIssueNote(Integer projectId,
Integer issueIid,
Integer noteId) |
Delete the specified issues's note.
|
void |
ServicesApi.deleteJiraService(Object projectIdOrPath) |
Deletes the JIRA service for a project.
|
void |
LabelsApi.deleteLabel(Integer projectId,
String name) |
Delete the specified label
|
void |
MergeRequestApi.deleteMergeRequest(Integer projectId,
Integer mergeRequestIid) |
Only for admins and project owners.
|
void |
NotesApi.deleteMergeRequestNote(Integer projectId,
Integer mergeRequestIid,
Integer noteId) |
Delete the specified merge request's note.
|
void |
WikisApi.deletePage(Integer projectId,
String slug) |
Deletes an existing project wiki page.
|
void |
ProjectApi.deleteProject(Integer projectId) |
Removes project with all resources(issues, merge requests etc).
|
void |
ProjectApi.deleteProject(Project project) |
Removes project with all resources(issues, merge requests etc).
|
void |
ProjectApi.deletePushRules(Integer projectId) |
Removes a push rule from a project.
|
void |
ServicesApi.deleteSlackService(Object projectIdOrPath) |
Deletes the Slack notifications service for a project.
|
void |
ProjectApi.deleteSnippet(Integer projectId,
Integer snippetId) |
|
void |
SnippetsApi.deleteSnippet(Integer snippetId) |
Removes Snippet.
|
void |
UserApi.deleteSshKey(Integer keyId) |
Deletes key owned by currently authenticated user.
|
void |
UserApi.deleteSshKey(Integer userId,
Integer keyId) |
Deletes key owned by a specified user.
|
void |
SystemHooksApi.deleteSystemHook(Integer hookId) |
Deletes a system hook.
|
void |
SystemHooksApi.deleteSystemHook(SystemHook hook) |
Deletes a system hook.
|
void |
RepositoryApi.deleteTag(Integer projectId,
String tagName) |
Deletes the tag from a project with the specified tag name.
|
void |
UserApi.deleteUser(Integer userId) |
Deletes a user.
|
void |
UserApi.deleteUser(Integer userId,
Boolean hardDelete) |
Deletes a user.
|
void |
UserApi.deleteUser(User user) |
Deletes a user.
|
void |
UserApi.deleteUser(User user,
Boolean hardDelete) |
Deletes a user.
|
Runner |
RunnersApi.disableRunner(Integer projectId,
Integer runnerId) |
Disable a specific runner from the project.
|
InputStream |
JobApi.downloadArtifactsFile(Integer projectId,
String ref,
String jobName) |
Get an InputStream pointing to the artifacts file from the given reference name and job
provided the job finished successfully.
|
File |
JobApi.downloadArtifactsFile(Integer projectId,
String ref,
String jobName,
File directory) |
Download the artifacts file from the given reference name and job provided the job finished successfully.
|
DeployKey |
DeployKeysApi.enableDeployKey(Integer projectId,
Integer keyId) |
Enables a deploy key for a project so this can be used.
|
Runner |
RunnersApi.enableRunner(Integer projectId,
Integer runnerId) |
Enable an available specific runner in the project.
|
Job |
JobApi.eraseJob(int projectId,
int jobId) |
Erase specified job in a project.
|
TimeStats |
IssuesApi.estimateTime(Integer projectId,
Integer issueIid,
int duration) |
Sets an estimated time of work in this issue
POST /projects/:id/issues/:issue_iid/time_estimate
|
TimeStats |
IssuesApi.estimateTime(Integer projectId,
Integer issueIid,
String duration) |
Sets an estimated time of work in this issue
POST /projects/:id/issues/:issue_iid/time_estimate
|
TimeStats |
IssuesApi.estimateTime(Integer projectId,
Integer issueIid,
Duration duration) |
Sets an estimated time of work in this issue
POST /projects/:id/issues/:issue_iid/time_estimate
|
List<Namespace> |
NamespaceApi.findNamespaces(String query) |
Get all namespaces that match a string in their name or path.
|
Pager<Namespace> |
NamespaceApi.findNamespaces(String query,
int itemsPerPage) |
Get a Pager of all namespaces that match a string in their name or path.
|
List<Namespace> |
NamespaceApi.findNamespaces(String query,
int page,
int perPage) |
Get all namespaces that match a string in their name or path in the specified page range.
|
List<User> |
UserApi.findUsers(String emailOrUsername) |
Search users by Email or username
GET /users?search=:email_or_username
|
Pager<User> |
UserApi.findUsers(String emailOrUsername,
int itemsPerPage) |
Search users by Email or username and return a Pager
GET /users?search=:email_or_username
|
List<User> |
UserApi.findUsers(String emailOrUsername,
int page,
int perPage) |
Search users by Email or username in the specified page range.
|
List<T> |
Pager.first() |
Returns the first page of List.
|
Project |
ProjectApi.forkProject(Integer id,
Integer namespaceId) |
Forks a project into the user namespace of the authenticated user or the one provided.
|
Project |
ProjectApi.forkProject(Integer id,
String namespace) |
Forks a project into the user namespace of the authenticated user or the one provided.
|
Project |
ProjectApi.forkProject(Project project,
Integer namespaceId) |
Forks a project into the user namespace of the authenticated user or the one provided.
|
Project |
ProjectApi.forkProject(Project project,
String namespace) |
Forks a project into the user namespace of the authenticated user or the one provided.
|
protected javax.ws.rs.core.Response |
AbstractApi.get(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
Object... pathArgs) |
Perform an HTTP GET call with the specified query parameters and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.get(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
URL url) |
Perform an HTTP GET call with the specified query parameters and URL, returning
a ClientResponse instance with the data returned from the endpoint.
|
List<User> |
UserApi.getActiveUsers() |
Get a list of active users.
|
Pager<User> |
UserApi.getActiveUsers(int itemsPerPage) |
Get a Pager of active users.
|
List<User> |
UserApi.getActiveUsers(int page,
int perPage) |
Get a list of active users using the specified page and per page settings.
|
List<Project> |
ProjectApi.getAllProjects() |
Deprecated.
Will be removed, no longer supported by the GitLab API
|
List<Runner> |
RunnersApi.getAllRunners() |
Get a list of all runners in the GitLab instance (specific and shared).
|
Pager<Runner> |
RunnersApi.getAllRunners(int itemsPerPage) |
Get a list of all runners in the GitLab instance (specific and shared).
|
List<Runner> |
RunnersApi.getAllRunners(int page,
int perPage) |
Get a list of all runners in the GitLab instance (specific and shared).
|
List<Runner> |
RunnersApi.getAllRunners(Runner.RunnerStatus scope) |
Get a list of all runners in the GitLab instance (specific and shared).
|
Pager<Runner> |
RunnersApi.getAllRunners(Runner.RunnerStatus scope,
int itemsPerPage) |
Get a list of all runners in the GitLab instance (specific and shared).
|
List<Runner> |
RunnersApi.getAllRunners(Runner.RunnerStatus scope,
Integer page,
Integer perPage) |
Get a list of all runners in the GitLab instance (specific and shared).
|
List<Event> |
EventsApi.getAuthenticatedUserEvents(Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder) |
Get a list of events for the authenticated user.
|
Pager<Event> |
EventsApi.getAuthenticatedUserEvents(Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder,
int itemsPerPage) |
Get a list of events for the authenticated user and in the specified page range.
|
List<Event> |
EventsApi.getAuthenticatedUserEvents(Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder,
int page,
int perPage) |
Get a list of events for the authenticated user and in the specified page range.
|
List<User> |
UserApi.getblockedUsers(int page,
int perPage) |
Get a list of blocked users using the specified page and per page settings.
|
List<User> |
UserApi.getBlockedUsers() |
Get a list of blocked users.
|
Pager<User> |
UserApi.getBlockedUsers(int itemsPerPage) |
Get a Pager of blocked users.
|
Branch |
RepositoryApi.getBranch(Integer projectId,
String branchName) |
Get a single project repository branch.
|
List<Branch> |
RepositoryApi.getBranches(Integer projectId) |
Get a list of repository branches from a project, sorted by name alphabetically.
|
Pager<Branch> |
RepositoryApi.getBranches(Integer projectId,
int itemsPerPage) |
Get a Pager of repository branches from a project, sorted by name alphabetically.
|
List<Branch> |
RepositoryApi.getBranches(Integer projectId,
int page,
int perPage) |
Get a list of repository branches from a project, sorted by name alphabetically.
|
List<Comment> |
CommitsApi.getComments(int projectId,
String sha) |
Get the comments of a commit in a project.
|
Pager<Comment> |
CommitsApi.getComments(int projectId,
String sha,
int itemsPerPage) |
Get a Pager of the comments of a commit in a project.
|
Commit |
CommitsApi.getCommit(int projectId,
String sha) |
Get a specific commit identified by the commit hash or name of a branch or tag.
|
List<Commit> |
CommitsApi.getCommits(int projectId) |
Get a list of repository commits in a project.
|
Pager<Commit> |
CommitsApi.getCommits(int projectId,
int itemsPerPage) |
Get a Pager of repository commits in a project.
|
List<Commit> |
CommitsApi.getCommits(int projectId,
int page,
int perPage) |
Get a list of repository commits in a project.
|
List<Commit> |
CommitsApi.getCommits(int projectId,
String ref,
String path) |
Get a list of file commits in a project
GET /projects/:id/repository/commits?path=:file_path
|
List<Commit> |
CommitsApi.getCommits(int projectId,
String ref,
Date since,
Date until) |
Get a list of repository commits in a project.
|
Pager<Commit> |
CommitsApi.getCommits(int projectId,
String ref,
Date since,
Date until,
int itemsPerPage) |
Get a Pager of repository commits in a project.
|
List<Commit> |
CommitsApi.getCommits(int projectId,
String ref,
Date since,
Date until,
int page,
int perPage) |
Get a list of repository commits in a project.
|
List<Commit> |
CommitsApi.getCommits(int projectId,
String ref,
Date since,
Date until,
String path) |
Get a list of repository commits in a project.
|
Pager<Commit> |
CommitsApi.getCommits(int projectId,
String ref,
Date since,
Date until,
String path,
int itemsPerPage) |
Get a Pager of repository commits in a project
GET /projects/:id/repository/commits
|
List<Commit> |
CommitsApi.getCommits(int projectId,
String ref,
Date since,
Date until,
String path,
int page,
int perPage) |
Get a list of repository commits in a project.
|
List<Commit> |
MergeRequestApi.getCommits(int projectId,
int mergeRequestIid) |
Get a list of merge request commits.
|
Pager<Commit> |
MergeRequestApi.getCommits(int projectId,
int mergeRequestIid,
int itemsPerPage) |
Get a Pager of merge request commits.
|
List<Commit> |
MergeRequestApi.getCommits(int projectId,
int mergeRequestIid,
int page,
int perPage) |
Get a list of merge request commits.
|
List<Contributor> |
RepositoryApi.getContributors(Integer projectId) |
Get a list of contributors from a project.
|
Pager<Contributor> |
RepositoryApi.getContributors(Integer projectId,
int itemsPerPage) |
Get a Pager of contributors from a project.
|
List<Contributor> |
RepositoryApi.getContributors(Integer projectId,
int page,
int perPage) |
Get a list of contributors from a project and in the specified page range.
|
User |
UserApi.getCurrentUser() |
Get currently authenticated user.
|
DeployKey |
DeployKeysApi.getDeployKey(Integer projectId,
Integer keyId) |
Get a single deploy key for the specified project.
|
List<DeployKey> |
DeployKeysApi.getDeployKeys() |
Get a list of all deploy keys across all projects of the GitLab instance.
|
Pager<DeployKey> |
DeployKeysApi.getDeployKeys(int itemsPerPage) |
Get a Pager of all deploy keys across all projects of the GitLab instance.
|
List<DeployKey> |
DeployKeysApi.getDeployKeys(int page,
int perPage) |
Get a list of all deploy keys across all projects of the GitLab instance using the specified page and per page settings.
|
List<Diff> |
CommitsApi.getDiff(int projectId,
String sha) |
Get the list of diffs of a commit in a project.
|
List<Diff> |
CommitsApi.getDiff(String projectPath,
String sha) |
Get the list of diffs of a commit in a project.
|
RepositoryFile |
RepositoryFileApi.getFile(String filePath,
Integer projectId,
String ref) |
Get file from repository.
|
protected RepositoryFile |
RepositoryFileApi.getFileV3(String filePath,
Integer projectId,
String ref) |
Get file from repository.
|
List<Project> |
ProjectApi.getForks(Integer projectId) |
Get a list of projects that were forked from the specified project.
|
Pager<Project> |
ProjectApi.getForks(Integer projectId,
int itemsPerPage) |
Get a Pager of projects that were forked from the specified project.
|
List<Project> |
ProjectApi.getForks(Integer projectId,
int page,
int perPage) |
Get a list of projects that were forked from the specified project and in the specified page range.
|
NotificationSettings |
NotificationSettingsApi.getGlobalNotificationSettings() |
Get the global notification settings.
|
Group |
GroupApi.getGroup(Integer groupId) |
Get all details of a group.
|
Group |
GroupApi.getGroup(String groupPath) |
Get all details of a group.
|
NotificationSettings |
NotificationSettingsApi.getGroupNotificationSettings(int groupId) |
Get the notification settings for a group.
|
List<Group> |
GroupApi.getGroups() |
Get a list of groups.
|
Pager<Group> |
GroupApi.getGroups(int itemsPerPage) |
Get a Pager of groups.
|
List<Group> |
GroupApi.getGroups(int page,
int perPage) |
Get a list of groups (As user: my groups, as admin: all groups) and in the specified page range.
|
List<Group> |
GroupApi.getGroups(String search) |
Get all groups that match your string in their name or path.
|
Pager<Group> |
GroupApi.getGroups(String search,
int itemsPerPage) |
Get all groups that match your string in their name or path.
|
List<Group> |
GroupApi.getGroups(String search,
int page,
int perPage) |
Get all groups that match your string in their name or path.
|
HipChatService |
ServicesApi.getHipChatService(Object projectIdOrPath) |
Get the HipChatService notification configuration for a project.
|
ProjectHook |
ProjectApi.getHook(Integer projectId,
Integer hookId) |
Get a specific hook for project.
|
List<ProjectHook> |
ProjectApi.getHooks(Integer projectId) |
Get list of project hooks.
|
Pager<ProjectHook> |
ProjectApi.getHooks(Integer projectId,
int itemsPerPage) |
Get Pager of project hooks.
|
List<ProjectHook> |
ProjectApi.getHooks(Integer projectId,
int page,
int perPage) |
Get list of project hooks in the specified page range.
|
ImpersonationToken |
UserApi.getImpersonationToken(Integer userId,
Integer tokenId) |
Get an impersonation token of a user.
|
List<ImpersonationToken> |
UserApi.getImpersonationTokens(Integer userId) |
Get a list of a specified user's impersonation tokens.
|
List<ImpersonationToken> |
UserApi.getImpersonationTokens(Integer userId,
Constants.ImpersonationState state) |
Get a list of a specified user's impersonation tokens.
|
Issue |
IssuesApi.getIssue(Integer projectId,
Integer issueId) |
Get a single project issue.
|
Issue |
ProjectApi.getIssue(Integer projectId,
Integer issueId) |
Deprecated.
Will be removed in version 5.0, replaced by
IssuesApi.getIssue(Integer, Integer) |
Note |
NotesApi.getIssueNote(Integer projectId,
Integer issueIid,
Integer noteId) |
Get the specified issues's note.
|
List<Note> |
NotesApi.getIssueNotes(Integer projectId,
Integer issueIid) |
Get a list of the issues's notes.
|
Pager<Note> |
NotesApi.getIssueNotes(Integer projectId,
Integer issueIid,
int itemsPerPage) |
Get a Pager of issues's notes.
|
List<Note> |
NotesApi.getIssueNotes(Integer projectId,
Integer issueIid,
int page,
int perPage) |
Get a list of the issue's notes using the specified page and per page settings.
|
List<Issue> |
IssuesApi.getIssues() |
Get all issues the authenticated user has access to.
|
Pager<Issue> |
IssuesApi.getIssues(int itemsPerPage) |
Get a Pager of all issues the authenticated user has access to.
|
List<Issue> |
IssuesApi.getIssues(int page,
int perPage) |
Get all issues the authenticated user has access to using the specified page and per page setting.
|
List<Issue> |
IssuesApi.getIssues(Integer projectId) |
Get a list of project's issues.
|
Pager<Issue> |
IssuesApi.getIssues(Integer projectId,
int itemsPerPage) |
Get a Pager of project's issues.
|
List<Issue> |
IssuesApi.getIssues(Integer projectId,
int page,
int perPage) |
Get a list of project's issues using the specified page and per page settings.
|
List<Issue> |
MilestonesApi.getIssues(Integer projectId,
Integer milestoneId) |
Get the list of issues associated with the specified milestone.
|
List<Issue> |
ProjectApi.getIssues(Integer projectId) |
Deprecated.
Will be removed in version 5.0, replaced by
IssuesApi.getIssues(Integer) |
Pager<Issue> |
ProjectApi.getIssues(Integer projectId,
int itemsPerPage) |
Deprecated.
Will be removed in version 5.0, replaced by
IssuesApi.getIssues(Integer, int) |
List<Issue> |
ProjectApi.getIssues(Integer projectId,
int page,
int perPage) |
Deprecated.
Will be removed in version 5.0, replaced by
IssuesApi.getIssues(Integer, int, int) |
JiraService |
ServicesApi.getJiraService(Object projectIdOrPath) |
Get the JIRA service settings for a project.
|
Job |
JobApi.getJob(int projectId,
int jobId) |
Get single job in a project.
|
List<Job> |
JobApi.getJobs(int projectId) |
Get a list of jobs in a project.
|
Pager<Job> |
JobApi.getJobs(int projectId,
int itemsPerPage) |
Get a Pager of jobs in a project.
|
List<Job> |
JobApi.getJobs(int projectId,
int page,
int perPage) |
Get a list of jobs in a project in the specified page range.
|
List<Job> |
JobApi.getJobs(int projectId,
Constants.JobScope scope) |
Get a list of jobs in a project.
|
List<Job> |
RunnersApi.getJobs(Integer runnerId) |
List jobs that are being processed or were processed by specified Runner.
|
Pager<Job> |
RunnersApi.getJobs(Integer runnerId,
int itemsPerPage) |
List jobs that are being processed or were processed by specified Runner.
|
List<Job> |
RunnersApi.getJobs(Integer runnerId,
JobStatus status) |
List jobs that are being processed or were processed by specified Runner.
|
Pager<Job> |
RunnersApi.getJobs(Integer runnerId,
JobStatus status,
int itemsPerPage) |
List jobs that are being processed or were processed by specified Runner.
|
List<Job> |
JobApi.getJobsForPipeline(int projectId,
int pipelineId) |
Get a list of jobs in a pipeline.
|
List<Job> |
JobApi.getJobsForPipeline(int projectId,
int pipelineId,
Constants.JobScope scope) |
Get a list of jobs in a pipeline.
|
List<Label> |
LabelsApi.getLabels(Integer projectId) |
Get all labels of the specified project.
|
List<Label> |
LabelsApi.getLabels(Integer projectId,
int page,
int perPage) |
Get all labels of the specified project to using the specified page and per page setting
|
HealthCheckInfo |
HealthCheckApi.getLiveness() |
Get Health Checks from the liveness endpoint.
|
HealthCheckInfo |
HealthCheckApi.getLiveness(String token) |
Deprecated.
|
Member |
GroupApi.getMember(int groupId,
int userId) |
Get a group member viewable by the authenticated user.
|
Member |
ProjectApi.getMember(Integer projectId,
Integer userId) |
Gets a project team member.
|
List<Project> |
ProjectApi.getMemberProjects() |
Get a list of projects that the authenticated user is a member of.
|
Pager<Project> |
ProjectApi.getMemberProjects(int itemsPerPage) |
Get a Pager of projects that the authenticated user is a member of.
|
List<Project> |
ProjectApi.getMemberProjects(int page,
int perPage) |
Get a list of projects that the authenticated user is a member of in the specified page range.
|
List<Member> |
GroupApi.getMembers(int groupId) |
Get a list of group members viewable by the authenticated user.
|
Pager<Member> |
GroupApi.getMembers(int groupId,
int itemsPerPage) |
Get a Pager of group members viewable by the authenticated user.
|
List<Member> |
GroupApi.getMembers(int groupId,
int page,
int perPage) |
Get a list of group members viewable by the authenticated user in the specified page range.
|
List<Member> |
ProjectApi.getMembers(Integer projectId) |
Get a list of project team members.
|
Pager<Member> |
ProjectApi.getMembers(Integer projectId,
int itemsPerPage) |
Get a Pager of project team members.
|
List<Member> |
ProjectApi.getMembers(Integer projectId,
int page,
int perPage) |
Get a list of project team members in the specified page range.
|
MergeRequest |
MergeRequestApi.getMergeRequest(Integer projectId,
Integer mergeRequestIid) |
Get information about a single merge request.
|
List<MergeRequest> |
MilestonesApi.getMergeRequest(Integer projectId,
Integer milestoneId) |
Get the list of merge requests associated with the specified milestone.
|
MergeRequest |
MergeRequestApi.getMergeRequestApprovals(Integer projectId,
Integer mergeRequestIid) |
Get the merge request with approval information.
|
MergeRequest |
MergeRequestApi.getMergeRequestChanges(Integer projectId,
Integer mergeRequestIid) |
Get merge request with changes information.
|
Note |
NotesApi.getMergeRequestNote(Integer projectId,
Integer mergeRequestIid,
Integer noteId) |
Get the specified merge request's note.
|
List<Note> |
NotesApi.getMergeRequestNotes(Integer projectId,
Integer mergeRequestIid) |
Gets a list of all notes for a single merge request.
|
Pager<Note> |
NotesApi.getMergeRequestNotes(Integer projectId,
Integer mergeRequestIid,
int itemsPerPage) |
Get a Pager of all notes for a single merge request
GET /projects/:id/merge_requests/:merge_request_iid/notes
|
List<Note> |
NotesApi.getMergeRequestNotes(Integer projectId,
Integer mergeRequestIid,
int page,
int perPage) |
Gets a list of all notes for a single merge request using the specified page and per page settings.
|
List<Note> |
NotesApi.getMergeRequestNotes(Integer projectId,
Integer mergeRequestIid,
Constants.SortOrder sortOrder,
Note.OrderBy orderBy) |
Gets a list of all notes for a single merge request.
|
Pager<Note> |
NotesApi.getMergeRequestNotes(Integer projectId,
Integer mergeRequestIid,
Constants.SortOrder sortOrder,
Note.OrderBy orderBy,
int itemsPerPage) |
Get a Pager of all notes for a single merge request
GET /projects/:id/merge_requests/:merge_request_iid/notes
|
List<Note> |
NotesApi.getMergeRequestNotes(Integer projectId,
Integer mergeRequestIid,
Constants.SortOrder sortOrder,
Note.OrderBy orderBy,
int page,
int perPage) |
Gets a list of all notes for a single merge request using the specified page and per page settings.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId) |
Get all merge requests for the specified project.
|
Pager<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
int itemsPerPage) |
Get all merge requests for the specified project.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
int page,
int perPage) |
Get all merge requests for the specified project.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
Constants.MergeRequestState state) |
Get all merge requests with a specific state for the specified project.
|
Pager<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
Constants.MergeRequestState state,
int itemsPerPage) |
Get all merge requests for the specified project.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(Integer projectId,
Constants.MergeRequestState state,
int page,
int perPage) |
Get all merge requests for the specified project.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(MergeRequestFilter filter) |
Get all merge requests matching the filter.
|
Pager<MergeRequest> |
MergeRequestApi.getMergeRequests(MergeRequestFilter filter,
int itemsPerPage) |
Get all merge requests matching the filter.
|
List<MergeRequest> |
MergeRequestApi.getMergeRequests(MergeRequestFilter filter,
int page,
int perPage) |
Get all merge requests matching the filter.
|
Milestone |
MilestonesApi.getMilestone(Integer projectId,
int milestoneId) |
Get the specified milestone.
|
List<Milestone> |
MilestonesApi.getMilestones(Integer projectId) |
Get a list of project milestones.
|
List<Milestone> |
MilestonesApi.getMilestones(Integer projectId,
int page,
int perPage) |
Get a list of project milestones.
|
List<Milestone> |
MilestonesApi.getMilestones(Integer projectId,
String search) |
Get a list of project milestones that have match the search string.
|
List<Milestone> |
MilestonesApi.getMilestones(Integer projectId,
Constants.MilestoneState state) |
Get a list of project milestones that have the specified state.
|
List<Milestone> |
MilestonesApi.getMilestones(Integer projectId,
Constants.MilestoneState state,
String search) |
Get a list of project milestones that have the specified state and match the search string.
|
List<Namespace> |
NamespaceApi.getNamespaces() |
Get a list of the namespaces of the authenticated user.
|
Pager<Namespace> |
NamespaceApi.getNamespaces(int itemsPerPage) |
Get a Pager of the namespaces of the authenticated user.
|
List<Namespace> |
NamespaceApi.getNamespaces(int page,
int perPage) |
Get a list of the namespaces of the authenticated user.
|
List<Note> |
NotesApi.getNotes(Integer projectId,
Integer issueIid) |
Deprecated.
As of release 4.7.0, replaced by
NotesApi.getIssueNotes(Integer, Integer) |
Pager<Note> |
NotesApi.getNotes(Integer projectId,
Integer issueIid,
int itemsPerPage) |
Deprecated.
As of release 4.7.0, replaced by
NotesApi.getIssueNotes(Integer, Integer, int) |
List<Note> |
NotesApi.getNotes(Integer projectId,
Integer issueIid,
int page,
int perPage) |
Deprecated.
As of release 4.7.0, replaced by
NotesApi.getIssueNotes(Integer, Integer, int, int) |
Optional<Member> |
ProjectApi.getOptionalMember(Integer projectId,
Integer userId) |
Gets a project team member.
|
List<Project> |
ProjectApi.getOwnedProjects() |
Get a list of projects owned by the authenticated user.
|
Pager<Project> |
ProjectApi.getOwnedProjects(int itemsPerPage) |
Get a Pager of projects owned by the authenticated user.
|
List<Project> |
ProjectApi.getOwnedProjects(int page,
int perPage) |
Get a list of projects owned by the authenticated user in the specified page range.
|
WikiPage |
WikisApi.getPage(Integer projectId,
String slug) |
Get a single page of project wiki.
|
List<WikiPage> |
WikisApi.getPages(Integer projectId) |
Get a list of pages in project wiki.
|
Pager<WikiPage> |
WikisApi.getPages(Integer projectId,
int itemsPerPage) |
Get a Pager of project's wiki pages.
|
List<WikiPage> |
WikisApi.getPages(Integer projectId,
int page,
int perPage) |
Get a list of project snippets.
|
List<Participant> |
MergeRequestApi.getParticipants(Integer projectId,
Integer mergeRequestIid) |
Get list of participants of merge request.
|
Pager<Participant> |
MergeRequestApi.getParticipants(Integer projectId,
Integer mergeRequestIid,
int itemsPerPage) |
Get a Pager of the participants of merge request.
|
List<Participant> |
MergeRequestApi.getParticipants(Integer projectId,
Integer mergeRequestIid,
int page,
int perPage) |
Get list of participants of merge request and in the specified page range.
|
Pipeline |
PipelineApi.getPipeline(int projectId,
int pipelineId) |
Get single pipelines in a project.
|
List<Pipeline> |
PipelineApi.getPipelines(int projectId) |
Get a list of pipelines in a project.
|
Pager<Pipeline> |
PipelineApi.getPipelines(int projectId,
int itemsPerPage) |
Get a Pager of pipelines in a project.
|
List<Pipeline> |
PipelineApi.getPipelines(int projectId,
int page,
int perPage) |
Get a list of pipelines in a project in the specified page range.
|
List<Pipeline> |
PipelineApi.getPipelines(int projectId,
Constants.PipelineScope scope,
PipelineStatus status,
String ref,
boolean yamlErrors,
String name,
String username,
Constants.PipelineOrderBy orderBy,
Constants.SortOrder sort) |
Get a list of pipelines in a project.
|
Pager<Pipeline> |
PipelineApi.getPipelines(int projectId,
Constants.PipelineScope scope,
PipelineStatus status,
String ref,
boolean yamlErrors,
String name,
String username,
Constants.PipelineOrderBy orderBy,
Constants.SortOrder sort,
int itemsPerPage) |
Get a Pager of pipelines in a project.
|
List<Pipeline> |
PipelineApi.getPipelines(int projectId,
Constants.PipelineScope scope,
PipelineStatus status,
String ref,
boolean yamlErrors,
String name,
String username,
Constants.PipelineOrderBy orderBy,
Constants.SortOrder sort,
int page,
int perPage) |
Get a list of pipelines in a project in the specified page range.
|
Project |
ProjectApi.getProject(Integer projectId) |
Get a specific project, which is owned by the authentication user.
|
Project |
ProjectApi.getProject(String namespace,
String project) |
Get a specific project, which is owned by the authentication user.
|
List<DeployKey> |
DeployKeysApi.getProjectDeployKeys(Integer projectId) |
Get a list of the deploy keys for the specified project.
|
List<DeployKey> |
DeployKeysApi.getProjectDeployKeys(Integer projectId,
int page,
int perPage) |
Get a list of the deploy keys for the specified project using the specified page and per page settings.
|
Pager<DeployKey> |
DeployKeysApi.getProjectDeployKeys(Integer projectId,
Integer itemsPerPage) |
Get a Pager of the deploy keys for the specified project.
|
List<Event> |
EventsApi.getProjectEvents(Integer projectId,
Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder) |
Get a list of events for the specified project.
|
Pager<Event> |
EventsApi.getProjectEvents(Integer projectId,
Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder,
int itemsPerPage) |
Get a list of events for the specified project and in the specified page range.
|
List<Event> |
EventsApi.getProjectEvents(Integer projectId,
Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder,
int page,
int perPage) |
Get a list of events for the specified project and in the specified page range.
|
List<Event> |
ProjectApi.getProjectEvents(Integer projectId) |
Get the project events for specific project.
|
Pager<Event> |
ProjectApi.getProjectEvents(Integer projectId,
int itemsPerPage) |
Get a Pager of project events for specific project.
|
List<Event> |
ProjectApi.getProjectEvents(Integer projectId,
int page,
int perPage) |
Get the project events for specific project.
|
Object |
AbstractApi.getProjectIdOrPath(Object obj) |
Returns the project ID or path from the provided Integer, String, or Project instance.
|
NotificationSettings |
NotificationSettingsApi.getProjectNotificationSettings(int projectId) |
Get the notification settings for a project.
|
List<Runner> |
RunnersApi.getProjectRunners(Integer projectId) |
List all runners (specific and shared) available in the project.
|
Pager<Runner> |
RunnersApi.getProjectRunners(Integer projectId,
int itemsPerPage) |
List all runners (specific and shared) available in the project.
|
List<Project> |
GroupApi.getProjects(int groupId) |
Get a list of projects belonging to the specified group ID.
|
Pager<Project> |
GroupApi.getProjects(int groupId,
int itemsPerPage) |
Get a Pager of projects belonging to the specified group ID.
|
List<Project> |
GroupApi.getProjects(int groupId,
int page,
int perPage) |
Get a list of projects belonging to the specified group ID in the specified page range.
|
List<Project> |
ProjectApi.getProjects() |
Get a list of projects accessible by the authenticated user.
|
Pager<Project> |
ProjectApi.getProjects(int itemsPerPage) |
Get a Pager instance of projects accessible by the authenticated user.
|
List<Project> |
ProjectApi.getProjects(int page,
int perPage) |
Get a list of projects accessible by the authenticated user and in the specified page range.
|
List<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
String orderBy,
String sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics) |
Deprecated.
Will be removed in version 5.0, replaced by
ProjectApi.getProjects(Boolean, Visibility,
Constants.ProjectOrderBy, Constants.SortOrder, String, Boolean, Boolean, Boolean, Boolean, Boolean) |
List<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
Constants.ProjectOrderBy orderBy,
Constants.SortOrder sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics) |
Get a list of projects accessible by the authenticated user and matching the supplied filter parameters.
|
Pager<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
Constants.ProjectOrderBy orderBy,
Constants.SortOrder sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics,
int itemsPerPage) |
Get a Pager of projects accessible by the authenticated user and matching the supplied filter parameters.
|
List<Project> |
ProjectApi.getProjects(Boolean archived,
Visibility visibility,
Constants.ProjectOrderBy orderBy,
Constants.SortOrder sort,
String search,
Boolean simple,
Boolean owned,
Boolean membership,
Boolean starred,
Boolean statistics,
int page,
int perPage) |
Get a list of projects accessible by the authenticated user and matching the supplied filter parameters.
|
List<Project> |
ProjectApi.getProjects(String search) |
Get a list of projects accessible by the authenticated user that match the provided search string.
|
Pager<Project> |
ProjectApi.getProjects(String search,
int itemsPerPage) |
Get a Pager of projects accessible by the authenticated user that match the provided search string.
|
List<Project> |
ProjectApi.getProjects(String search,
int page,
int perPage) |
Get a list of projects accessible by the authenticated user that match the provided search string.
|
List<ProjectUser> |
ProjectApi.getProjectUsers(Integer projectId) |
Get a list of project users.
|
List<ProjectUser> |
ProjectApi.getProjectUsers(Integer projectId,
String search) |
Get a list of project users matching the specified search string.
|
List<ProtectedBranch> |
ProtectedBranchesApi.getProtectedBranches(Integer projectId) |
Gets a list of protected branches from a project.
|
PushRules |
ProjectApi.getPushRules(Integer projectId) |
Get the project's push rules.
|
InputStream |
RepositoryApi.getRawBlobContent(Integer projectId,
String sha) |
Get the raw file contents for a blob by blob SHA.
|
InputStream |
RepositoryFileApi.getRawFile(Integer projectId,
String commitOrBranchName,
String filepath) |
Get the raw file contents for a file by commit sha and path.
|
File |
RepositoryFileApi.getRawFile(Integer projectId,
String commitOrBranchName,
String filepath,
File directory) |
Get the raw file for the file by commit sha and path.
|
String |
ProjectApi.getRawSnippetContent(Integer projectId,
Integer snippetId) |
Get the raw project snippet as plain text.
|
HealthCheckInfo |
HealthCheckApi.getReadiness() |
Get Health Checks from the readiness endpoint.
|
HealthCheckInfo |
HealthCheckApi.getReadiness(String token) |
Deprecated.
|
InputStream |
RepositoryApi.getRepositoryArchive(Integer projectId,
String sha) |
Get an archive of the complete repository by SHA (optional).
|
File |
RepositoryApi.getRepositoryArchive(Integer projectId,
String sha,
File directory) |
Get an archive of the complete repository by SHA (optional) and saves to the specified directory.
|
RunnerDetail |
RunnersApi.getRunnerDetail(Integer runnerId) |
Get details of a runner.
|
List<Runner> |
RunnersApi.getRunners() |
Get a list of all available runners available to the user.
|
Pager<Runner> |
RunnersApi.getRunners(int itemsPerPage) |
Get a list of all available runners available to the user.
|
List<Runner> |
RunnersApi.getRunners(int page,
int perPage) |
Get a list of all available runners available to the user with pagination support.
|
List<Runner> |
RunnersApi.getRunners(Runner.RunnerStatus scope) |
Get a list of all available runners available to the user with pagination support.
|
Pager<Runner> |
RunnersApi.getRunners(Runner.RunnerStatus scope,
int itemsPerPage) |
Get a list of specific runners available to the user.
|
List<Runner> |
RunnersApi.getRunners(Runner.RunnerStatus scope,
Integer page,
Integer perPage) |
Get a list of specific runners available to the user.
|
SlackService |
ServicesApi.getSlackService(Object projectIdOrPath) |
Get the Slack notification settings for a project.
|
Snippet |
ProjectApi.getSnippet(Integer projectId,
Integer snippetId) |
Get a single of project snippet.
|
Snippet |
SnippetsApi.getSnippet(Integer snippetId) |
Get a specific Snippet.
|
Snippet |
SnippetsApi.getSnippet(Integer snippetId,
boolean downloadContent) |
Get a specific Snippet.
|
String |
SnippetsApi.getSnippetContent(Integer snippetId) |
Get the content of a Snippet.
|
List<Snippet> |
ProjectApi.getSnippets(Integer projectId) |
Get a list of project snippets.
|
Pager<Snippet> |
ProjectApi.getSnippets(Integer projectId,
int itemsPerPage) |
Get a Pager of project's snippets.
|
List<Snippet> |
ProjectApi.getSnippets(Integer projectId,
int page,
int perPage) |
Get a list of project snippets.
|
List<Snippet> |
SnippetsApi.getSnippets() |
Get a list of the authenticated user's snippets.
|
List<Snippet> |
SnippetsApi.getSnippets(boolean downloadContent) |
Get a list of the authenticated user's snippets.
|
Pager<Snippet> |
SnippetsApi.getSnippets(int itemsPerPage) |
Get a Pager of the authenticated user's snippets.
|
SshKey |
UserApi.getSshKey(Integer keyId) |
Get a single SSH Key.
|
List<SshKey> |
UserApi.getSshKeys() |
Get a list of currently authenticated user's SSH keys.
|
List<SshKey> |
UserApi.getSshKeys(Integer userId) |
Get a list of a specified user's SSH keys.
|
List<Project> |
ProjectApi.getStarredProjects() |
Get a list of projects starred by the authenticated user.
|
Pager<Project> |
ProjectApi.getStarredProjects(int itemsPerPage) |
Get a Pager of projects starred by the authenticated user.
|
List<Project> |
ProjectApi.getStarredProjects(int page,
int perPage) |
Get a list of projects starred by the authenticated user in the specified page range.
|
List<Group> |
GroupApi.getSubGroups(Integer groupId) |
Get a list of visible direct subgroups in this group.
|
Pager<Group> |
GroupApi.getSubGroups(Integer groupId,
int itemsPerPage) |
Get a Pager of visible direct subgroups in this group.
|
List<Group> |
GroupApi.getSubGroups(Integer groupId,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned) |
Get a list of visible direct subgroups in this group.
|
Pager<Group> |
GroupApi.getSubGroups(Integer groupId,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned,
int itemsPerPage) |
Get a Pager of visible direct subgroups in this group.
|
List<Group> |
GroupApi.getSubGroups(Integer groupId,
List<Integer> skipGroups,
Boolean allAvailable,
String search,
Constants.GroupOrderBy orderBy,
Constants.SortOrder sortOrder,
Boolean statistics,
Boolean owned,
int page,
int perPage) |
Get a list of visible direct subgroups in this group.
|
List<SystemHook> |
SystemHooksApi.getSystemHooks() |
Get a list of all system hooks.
|
Pager<SystemHook> |
SystemHooksApi.getSystemHooks(int itemsPerPage) |
Get a Pager of all system hooks.
|
List<SystemHook> |
SystemHooksApi.getSystemHooks(int page,
int perPage) |
Get a list of all system hooks using the specified page and per page settings.
|
List<Tag> |
RepositoryApi.getTags(Integer projectId) |
Get a list of repository tags from a project, sorted by name in reverse alphabetical order.
|
Pager<Tag> |
RepositoryApi.getTags(Integer projectId,
int itemsPerPage) |
Get a list of repository tags from a project, sorted by name in reverse alphabetical order.
|
List<Tag> |
RepositoryApi.getTags(Integer projectId,
int page,
int perPage) |
Get a list of repository tags from a project, sorted by name in reverse alphabetical order and in the specified page range.
|
TimeStats |
IssuesApi.getTimeTrackingStats(Integer projectId,
Integer issueIid) |
Get time tracking stats.
|
String |
JobApi.getTrace(int projectId,
int jobId) |
Get a trace of a specific job of a project
GET /projects/:id/jobs/:id/trace
|
List<TreeItem> |
RepositoryApi.getTree(Integer projectId) |
Get a list of repository files and directories in a project.
|
Pager<TreeItem> |
RepositoryApi.getTree(Integer projectId,
int itemsPerPage) |
Get a Pager of repository files and directories in a project.
|
List<TreeItem> |
RepositoryApi.getTree(Integer projectId,
String filePath,
String refName) |
Get a list of repository files and directories in a project.
|
Pager<TreeItem> |
RepositoryApi.getTree(Integer projectId,
String filePath,
String refName,
int itemsPerPage) |
Get a Pager of repository files and directories in a project.
|
List<TreeItem> |
RepositoryApi.getTree(Integer projectId,
String filePath,
String refName,
Boolean recursive) |
Get a list of repository files and directories in a project.
|
Pager<TreeItem> |
RepositoryApi.getTree(Integer projectId,
String filePath,
String refName,
Boolean recursive,
int itemsPerPage) |
Get a Pager of repository files and directories in a project.
|
User |
UserApi.getUser(int userId) |
Get a single user.
|
User |
UserApi.getUser(String username) |
Lookup a user by username.
|
List<Event> |
EventsApi.getUserEvents(Integer userId,
Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder) |
Get a list of events for the specified user.
|
Pager<Event> |
EventsApi.getUserEvents(Integer userId,
Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder,
int itemsPerPage) |
Get a list of events for the specified user and in the specified page range.
|
List<Event> |
EventsApi.getUserEvents(Integer userId,
Constants.ActionType action,
Constants.TargetType targetType,
Date before,
Date after,
Constants.SortOrder sortOrder,
int page,
int perPage) |
Get a list of events for the specified user and in the specified page range.
|
List<User> |
UserApi.getUsers() |
Get a list of users.
|
Pager<User> |
UserApi.getUsers(int itemsPerPage) |
Get a Pager of users.
|
List<User> |
UserApi.getUsers(int page,
int perPage) |
Get a list of users using the specified page and per page settings.
|
Version |
GitLabApi.getVersion() |
Get the version info for the GitLab server using the GitLab Version API.
|
protected javax.ws.rs.core.Response |
AbstractApi.getWithAccepts(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
String accepts,
Object... pathArgs) |
Perform an HTTP GET call with the specified query parameters and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
abstract void |
HookManager.handleEvent(javax.servlet.http.HttpServletRequest request) |
Parses and verifies an Event instance from the HTTP request and
fires it off to the registered listeners.
|
List<T> |
Pager.last() |
Returns the last page of List.
|
static GitLabApi |
GitLabApi.login(String url,
String username,
String password) |
Deprecated.
As of release 4.8.7, will be removed in 4.9.0
|
static GitLabApi |
GitLabApi.login(String url,
String username,
String password,
boolean ignoreCertificateErrors) |
Deprecated.
As of release 4.8.7, will be removed in 4.9.0
|
static GitLabApi |
GitLabApi.login(GitLabApi.ApiVersion apiVersion,
String url,
String username,
String password) |
Deprecated.
As of release 4.8.7, will be removed in 4.9.0
|
static GitLabApi |
GitLabApi.login(GitLabApi.ApiVersion apiVersion,
String url,
String username,
String password,
boolean ignoreCertificateErrors) |
Deprecated.
As of release 4.8.7, will be removed in 4.9.0
|
Session |
SessionApi.login(String username,
String email,
String password) |
Login to get private token.
|
ProjectHook |
ProjectApi.modifyHook(ProjectHook hook) |
Modifies a hook for project.
|
User |
UserApi.modifyUser(User user,
CharSequence password,
Integer projectsLimit) |
Deprecated.
Will be removed in version 5.0, replaced by
UserApi.updateUser(User, CharSequence) |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
char[] password) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
char[] password,
boolean ignoreCertificateErrors) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
char[] password,
String secretToken,
Map<String,Object> clientConfigProperties,
boolean ignoreCertificateErrors) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
CharSequence password) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
CharSequence password,
boolean ignoreCertificateErrors) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
CharSequence password,
String secretToken,
Map<String,Object> clientConfigProperties,
boolean ignoreCertificateErrors) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
String password) |
Deprecated.
As of release 4.8.7, replaced by
GitLabApi.oauth2Login(String, String, CharSequence) , will be removed in 4.9.0 |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
String password,
boolean ignoreCertificateErrors) |
Deprecated.
As of release 4.8.7, replaced by
GitLabApi.oauth2Login(String, String, CharSequence, boolean) , will be removed in 4.9.0 |
static GitLabApi |
GitLabApi.oauth2Login(String url,
String username,
String password,
String secretToken,
Map<String,Object> clientConfigProperties,
boolean ignoreCertificateErrors) |
Deprecated.
As of release 4.8.7, will be removed in 4.9.0
|
static GitLabApi |
GitLabApi.oauth2Login(GitLabApi.ApiVersion apiVersion,
String url,
String username,
char[] password,
String secretToken,
Map<String,Object> clientConfigProperties,
boolean ignoreCertificateErrors) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static GitLabApi |
GitLabApi.oauth2Login(GitLabApi.ApiVersion apiVersion,
String url,
String username,
CharSequence password,
String secretToken,
Map<String,Object> clientConfigProperties,
boolean ignoreCertificateErrors) |
Logs into GitLab using OAuth2 with the provided
username and password ,
and creates a new GitLabApi instance using returned access token. |
static <T> T |
GitLabApi.orElseThrow(Optional<T> optional) |
Return the Optional instances contained value, if present, otherwise throw the exception that is
associated with the Optional instance.
|
Job |
JobApi.playJob(int projectId,
int jobId) |
Play specified job in a project.
|
protected javax.ws.rs.core.Response |
AbstractApi.post(javax.ws.rs.core.Response.Status expectedStatus,
Object payload,
Object... pathArgs) |
Perform an HTTP POST call with the specified payload object and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.post(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.Form formData,
Object... pathArgs) |
Perform an HTTP POST call with the specified form data and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.post(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.Form formData,
URL url) |
Perform an HTTP POST call with the specified form data and URL, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.post(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
Object... pathArgs) |
Perform an HTTP POST call with the specified form data and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.post(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.StreamingOutput stream,
String mediaType,
Object... pathArgs) |
Perform an HTTP POST call with the specified payload object and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
List<T> |
Pager.previous() |
Returns the previous page of List.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Integer projectId,
String branchName) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Integer projectId,
String branchName,
AccessLevel pushAccessLevel,
AccessLevel mergeAccessLevel) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
Branch |
RepositoryApi.protectBranch(Integer projectId,
String branchName) |
Protects a single project repository branch.
|
protected javax.ws.rs.core.Response |
AbstractApi.put(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
Object... pathArgs) |
Perform an HTTP PUT call with the specified form data and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.put(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.MultivaluedMap<String,String> queryParams,
URL url) |
Perform an HTTP PUT call with the specified form data and URL, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.putWithFormData(javax.ws.rs.core.Response.Status expectedStatus,
javax.ws.rs.core.Form formData,
Object... pathArgs) |
Perform an HTTP PUT call with the specified form data and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
void |
GroupApi.removeMember(Integer groupId,
Integer userId) |
Removes member from the group.
|
void |
ProjectApi.removeMember(Integer projectId,
Integer userId) |
Removes user from project team.
|
void |
RunnersApi.removeRunner(Integer runnerId) |
Remove a runner.
|
TimeStats |
IssuesApi.resetEstimatedTime(Integer projectId,
Integer issueIid) |
Resets the estimated time for this issue to 0 seconds.
|
TimeStats |
IssuesApi.resetSpentTime(Integer projectId,
Integer issueIid) |
Resets the total spent time for this issue to 0 seconds.
|
Job |
JobApi.retryJob(int projectId,
int jobId) |
Retry specified job in a project.
|
Pipeline |
PipelineApi.retryPipelineJob(int projectId,
int pipelineId) |
Retry a job in specified pipelines in a project.
|
void |
UserApi.revokeImpersonationToken(Integer userId,
Integer tokenId) |
Revokes an impersonation token.
|
void |
ServicesApi.setGitLabCI(Object projectIdOrPath,
String token,
String projectCIUrl) |
Deprecated.
No longer supported
|
void |
ServicesApi.setHipChat(Object projectIdOrPath,
String token,
String room,
String server) |
Deprecated.
replaced with
updateHipChat method |
void |
GitLabApi.setSudoAsId(Integer sudoAsId) |
Sets up all future calls to the GitLab API to be done as another user specified by provided user ID.
|
void |
ProjectApi.shareProject(Integer projectId,
Integer groupId,
AccessLevel accessLevel,
Date expiresAt) |
Share a project with the specified group.
|
Label |
LabelsApi.subscribeLabel(Integer projectId,
Integer labelId) |
Subscribe a specified label
|
void |
GitLabApi.sudo(String sudoAsUsername) |
Sets up all future calls to the GitLab API to be done as another user specified by sudoAsUsername.
|
void |
SystemHooksApi.testSystemHook(Integer hookId) |
Test a system hook.
|
void |
SystemHooksApi.testSystemHook(SystemHook hook) |
Test a system hook.
|
MergeRequest |
MergeRequestApi.unapproveMergeRequest(Integer projectId,
Integer mergeRequestIid) |
Unapprove a merge request.
|
Project |
ProjectApi.unarchiveProject(Integer projectId) |
Unarchive a project
POST /projects/:id/unarchive
|
void |
UserApi.unblockUser(Integer userId) |
Unblocks the specified user.
|
void |
ProtectedBranchesApi.unprotectBranch(Integer projectId,
String branchName) |
Unprotects the given protected branch or wildcard protected branch.
|
Branch |
RepositoryApi.unprotectBranch(Integer projectId,
String branchName) |
Unprotects a single project repository branch.
|
void |
ProjectApi.unshareProject(Integer projectId,
Integer groupId) |
Unshare the project from the group.
|
Label |
LabelsApi.unsubscribeLabel(Integer projectId,
Integer labelId) |
Unsubscribe a specified label
|
RepositoryFile |
RepositoryFileApi.updateFile(RepositoryFile file,
Integer projectId,
String branchName,
String commitMessage) |
Update existing file in repository
PUT /projects/:id/repository/files
file_path (required) - Full path to new file.
|
NotificationSettings |
NotificationSettingsApi.updateGlobalNotificationSettings(NotificationSettings settings) |
Update the global notification settings.
|
Group |
GroupApi.updateGroup(Integer groupId,
String name,
String path,
String description,
Boolean membershipLock,
Boolean shareWithGroupLock,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId,
Integer sharedRunnersMinutesLimit) |
Deprecated.
Will be removed in version 5.0, replaced by
GroupApi.updateGroup(Integer, String, String, String,
Visibility, Boolean, Boolean, Integer) |
Group |
GroupApi.updateGroup(Integer groupId,
String name,
String path,
String description,
Visibility visibility,
Boolean lfsEnabled,
Boolean requestAccessEnabled,
Integer parentId) |
Updates a project group.
|
NotificationSettings |
NotificationSettingsApi.updateGroupNotificationSettings(int groupId,
NotificationSettings settings) |
Update the notification settings for a group
PUT /groups/:id/notification_settings
|
HipChatService |
ServicesApi.updateHipChatService(Object projectIdOrPath,
HipChatService hipChat) |
Updates the HipChatService notification settings for a project.
|
Issue |
IssuesApi.updateIssue(Integer projectId,
Integer issueIid,
String title,
String description,
Boolean confidential,
List<Integer> assigneeIds,
Integer milestoneId,
String labels,
Constants.StateEvent stateEvent,
Date updatedAt,
Date dueDate) |
Updates an existing project issue.
|
Note |
NotesApi.updateIssueNote(Integer projectId,
Integer issueIid,
Integer noteId,
String body) |
Update the specified issues's note.
|
JiraService |
ServicesApi.updateJiraService(Object projectIdOrPath,
JiraService jira) |
Updates the JIRA service settings for a project.
|
Label |
LabelsApi.updateLabel(Integer projectId,
String name,
String newName,
String color,
String description,
Integer priority) |
Update the specified label
|
Label |
LabelsApi.updateLabelColor(Integer projectId,
String name,
String color,
String description,
Integer priority) |
Update the specified label
|
Label |
LabelsApi.updateLabelName(Integer projectId,
String name,
String newName,
String description,
Integer priority) |
Update the specified label
|
Member |
GroupApi.updateMember(Integer groupId,
Integer userId,
Integer accessLevel) |
Updates a member of a group.
|
Member |
GroupApi.updateMember(Integer groupId,
Integer userId,
Integer accessLevel,
Date expiresAt) |
Updates a member of a group.
|
Member |
GroupApi.updateMember(Integer groupId,
Integer userId,
AccessLevel accessLevel) |
Updates a member of a group.
|
Member |
GroupApi.updateMember(Integer groupId,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Updates a member of a group.
|
Member |
ProjectApi.updateMember(Integer projectId,
Integer userId,
Integer accessLevel) |
Updates a member of a project.
|
Member |
ProjectApi.updateMember(Integer projectId,
Integer userId,
Integer accessLevel,
Date expiresAt) |
Updates a member of a project.
|
Member |
ProjectApi.updateMember(Integer projectId,
Integer userId,
AccessLevel accessLevel) |
Updates a member of a project.
|
Member |
ProjectApi.updateMember(Integer projectId,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Updates a member of a project.
|
MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestIid,
String targetBranch,
String title,
Integer assigneeId,
String description,
Constants.StateEvent stateEvent,
String labels,
Integer milestoneId) |
Updates an existing merge request.
|
MergeRequest |
MergeRequestApi.updateMergeRequest(Integer projectId,
Integer mergeRequestIid,
String sourceBranch,
String targetBranch,
String title,
String description,
Integer assigneeId) |
Deprecated.
as of release 4.4.3
|
Note |
NotesApi.updateMergeRequestNote(Integer projectId,
Integer mergeRequestIid,
Integer noteId,
String body) |
Update the specified merge request's note.
|
Milestone |
MilestonesApi.updateMilestone(Integer projectId,
Integer milestoneId,
String title,
String description,
Date dueDate,
Date startDate,
Constants.MilestoneState milestoneState) |
Update the specified milestone.
|
WikiPage |
WikisApi.updatePage(Integer projectId,
String slug,
String title,
String content) |
Updates an existing project wiki page.
|
Project |
ProjectApi.updateProject(Project project) |
Updates a project.
|
NotificationSettings |
NotificationSettingsApi.updateProjectNotificationSettings(int projectId,
NotificationSettings settings) |
Update the notification settings for a project
PUT /projects/:id/notification_settings
|
PushRules |
ProjectApi.updatePushRules(Integer projectId,
PushRules pushRule) |
Updates a push rule for the specified project.
|
RunnerDetail |
RunnersApi.updateRunner(Integer runnerId,
String description,
Boolean active,
List<String> tagList,
Boolean runUntagged,
Boolean locked,
RunnerDetail.RunnerAccessLevel accessLevel) |
Update details of a runner.
|
SlackService |
ServicesApi.updateSlackService(Object projectIdOrPath,
SlackService slackNotifications) |
Updates the Slack notification settings for a project.
|
Snippet |
ProjectApi.updateSnippet(Integer projectId,
Integer snippetId,
String title,
String filename,
String description,
String code,
Visibility visibility) |
Updates an existing project snippet.
|
User |
UserApi.updateUser(User user,
CharSequence password) |
Modifies an existing user.
|
protected javax.ws.rs.core.Response |
AbstractApi.upload(javax.ws.rs.core.Response.Status expectedStatus,
String name,
File fileToUpload,
String mediaType,
Object... pathArgs) |
Perform a file upload with the specified File instance and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
protected javax.ws.rs.core.Response |
AbstractApi.upload(javax.ws.rs.core.Response.Status expectedStatus,
String name,
File fileToUpload,
String mediaType,
URL url) |
Perform a file upload with the specified File instance and path objects, returning
a ClientResponse instance with the data returned from the endpoint.
|
FileUpload |
ProjectApi.uploadFile(Integer projectId,
File fileToUpload) |
Uploads a file to the specified project to be used in an issue or merge request description, or a comment.
|
FileUpload |
ProjectApi.uploadFile(Integer projectId,
File fileToUpload,
String mediaType) |
Uploads a file to the specified project to be used in an issue or merge request description, or a comment.
|
protected String |
AbstractApi.urlEncode(String s) |
Encode a string to be used as in-path argument for a gitlab api request.
|
protected javax.ws.rs.core.Response |
AbstractApi.validate(javax.ws.rs.core.Response response,
javax.ws.rs.core.Response.Status expected) |
Validates response the response from the server against the expected HTTP status and
the returned secret token, if either is not correct will throw a GitLabApiException.
|
Modifier and Type | Method | Description |
---|---|---|
void |
SystemHookManager.fireEvent(SystemHookEvent event) |
Fire the event to the registered listeners.
|
void |
SystemHookManager.handleEvent(javax.servlet.http.HttpServletRequest request) |
Parses and verifies an SystemHookEvent instance from the HTTP request and
fires it off to the registered listeners.
|
void |
SystemHookManager.handleEvent(SystemHookEvent event) |
Verifies the provided Event and fires it off to the registered listeners.
|
Modifier and Type | Method | Description |
---|---|---|
void |
WebHookManager.fireEvent(Event event) |
Fire the event to the registered listeners.
|
void |
WebHookManager.handleEvent(javax.servlet.http.HttpServletRequest request) |
Parses and verifies an Event instance from the HTTP request and
fires it off to the registered listeners.
|
void |
WebHookManager.handleEvent(Event event) |
Verifies the provided Event and fires it off to the registered listeners.
|
Copyright © 2018. All rights reserved.