Package org.gitlab4j.api
Class AwardEmojiApi
java.lang.Object
org.gitlab4j.api.AbstractApi
org.gitlab4j.api.AwardEmojiApi
- All Implemented Interfaces:
Constants
This class implements the client side API for the GitLab Award Emoji API calls.
- Since:
- v4.8.31
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gitlab4j.api.Constants
Constants.ActionType, Constants.ApplicationScope, Constants.ArchiveFormat, Constants.AutoDevopsDeployStrategy, Constants.BuildGitStrategy, Constants.CommitBuildState, Constants.ContributorOrderBy, Constants.DeploymentOrderBy, Constants.DeploymentStatus, Constants.DeployTokenScope, Constants.Encoding, Constants.EpicOrderBy, Constants.EventScope, Constants.GroupOrderBy, Constants.GroupSearchScope, Constants.ImpersonationState, Constants.IssueOrderBy, Constants.IssueScope, Constants.IssueState, Constants.JobScope, Constants.LineType, Constants.MergeRequestOrderBy, Constants.MergeRequestScope, Constants.MergeRequestSearchIn, Constants.MergeRequestState, Constants.MilestoneState, Constants.PackageOrderBy, Constants.PackageStatus, Constants.PipelineOrderBy, Constants.PipelineScope, Constants.ProjectOrderBy, Constants.ProjectSearchScope, Constants.SearchScope, Constants.SortOrder, Constants.SquashOption, Constants.StateEvent, Constants.TagOrderBy, Constants.TargetType, Constants.TodoAction, Constants.TodoState, Constants.TodoType, Constants.TokenType
-
Field Summary
Fields inherited from class org.gitlab4j.api.AbstractApi
gitLabApi
Fields inherited from interface org.gitlab4j.api.Constants
NEXT_PAGE_HEADER, PAGE_HEADER, PAGE_PARAM, PER_PAGE, PER_PAGE_PARAM, PREV_PAGE_HEADER, TOTAL_HEADER, TOTAL_PAGES_HEADER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddIssueAwardEmoji
(Object projectIdOrPath, Long issueIid, String name) Add an award emoji for the specified issue.addIssueNoteAwardEmoji
(Object projectIdOrPath, Long issueIid, Long noteId, String name) Add an award emoji for the specified issue note.addMergeRequestAwardEmoji
(Object projectIdOrPath, Integer mergeRequestIid, Integer noteId, String name) Add an award emoji for the specified merge request note.addMergeRequestAwardEmoji
(Object projectIdOrPath, Long mergeRequestIid, String name) Add an award emoji to the specified merge request.addNoteAwardEmoji
(Object projectIdOrPath, Long issueIid, Long noteId, String name) Deprecated.addSnippetAwardEmoji
(Object projectIdOrPath, Long snippetId, String name) Add an award emoji to the specified snippet.void
deleteIssueAwardEmoji
(Object projectIdOrPath, Long issueIid, Long awardId) Delete an award emoji from the specified issue.void
deleteIssueNoteAwardEmoji
(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) Delete an award emoji from the specified issue note.void
deleteMergeRequestAwardEmoji
(Object projectIdOrPath, Long mergeRequestIid, Long awardId) Delete an award emoji from the specified merge request.void
deleteMergeRequestNoteAwardEmoji
(Object projectIdOrPath, Long mergeRequestIid, Long noteId, Long awardId) Delete an award emoji from the specified merge request note.void
deleteNoteAwardEmoji
(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) Deprecated.void
deleteSnippetAwardEmoji
(Object projectIdOrPath, Long snippetId, Long awardId) Delete an award emoji from the specified snippet.getIssueAwardEmoji
(Object projectIdOrPath, Long issueIid, Long awardId) Get the specified award emoji for the specified issue.getIssueAwardEmojis
(Object projectIdOrPath, Long issueIid) Get a list of award emoji for the specified issue.getIssueNoteAwardEmoji
(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) Get the specified award emoji for the specified issue note.getIssueNoteAwardEmojis
(Object projectIdOrPath, Long issueIid, Long noteId) Get a list of award emoji for the specified issue note.getMergeRequestAwardEmoji
(Object projectIdOrPath, Long mergeRequestIid, Long awardId) Get the specified award emoji for the specified merge request.getMergeRequestAwardEmojis
(Object projectIdOrPath, Long mergeRequestIid) Get a list of award emoji for the specified merge request.getMergeRequestNoteAwardEmoji
(Object projectIdOrPath, Long mergeRequestIid, Long noteId, Long awardId) Get the specified award emoji for the specified merge request note.getMergeRequestNoteAwardEmojis
(Object projectIdOrPath, Long mergeRequestIid, Long noteId) Get a list of award emoji for the specified merge request note.getNoteAwardEmoji
(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) Deprecated.usegetIssueNoteAwardEmoji(Object, Long, Long, Long)
insteadgetNoteAwardEmojis
(Object projectIdOrPath, Long issueIid, Long noteId) Get a list of award emoji for the specified issue note.getSnippetAwardEmoji
(Object projectIdOrPath, Long snippetId, Long awardId) Get the specified award emoji for the specified snippet.getSnippetAwardEmojis
(Object projectIdOrPath, Long snippetId) Get a list of award emoji for the specified snippet.Methods inherited from class org.gitlab4j.api.AbstractApi
addFormParam, addFormParam, delete, delete, get, get, getApiClient, getApiVersion, getDefaultPerPage, getDefaultPerPageParam, getDefaultPerPageParam, getGroupIdOrPath, getLabelIdOrName, getPageQueryParams, getPageQueryParams, getPerPageQueryParam, getProjectIdOrPath, getUserIdOrUsername, getWithAccepts, handle, head, isApiVersion, patch, patch, post, post, post, post, post, put, put, put, putUpload, putUpload, putWithFormData, upload, upload, upload, upload, urlEncode, validate
-
Constructor Details
-
AwardEmojiApi
-
-
Method Details
-
getIssueAwardEmojis
public List<AwardEmoji> getIssueAwardEmojis(Object projectIdOrPath, Long issueIid) throws GitLabApiException Get a list of award emoji for the specified issue.GitLab Endpoint: GET /projects/:id/issues/:issue_iid/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to get the award emojis for- Returns:
- a list of AwardEmoji for the specified issue
- Throws:
GitLabApiException
- if any exception occurs
-
getMergeRequestAwardEmojis
public List<AwardEmoji> getMergeRequestAwardEmojis(Object projectIdOrPath, Long mergeRequestIid) throws GitLabApiException Get a list of award emoji for the specified merge request.GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to get the award emojis for- Returns:
- a list of AwardEmoji for the specified merge request
- Throws:
GitLabApiException
- if any exception occurs
-
getSnippetAwardEmojis
public List<AwardEmoji> getSnippetAwardEmojis(Object projectIdOrPath, Long snippetId) throws GitLabApiException Get a list of award emoji for the specified snippet.GitLab Endpoint: GET /projects/:id/snippets/:snippet_id/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to get the award emojis for- Returns:
- a list of AwardEmoji for the specified snippet
- Throws:
GitLabApiException
- if any exception occurs
-
getIssueNoteAwardEmojis
public List<AwardEmoji> getIssueNoteAwardEmojis(Object projectIdOrPath, Long issueIid, Long noteId) throws GitLabApiException Get a list of award emoji for the specified issue note.GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to get the award emojis for- Returns:
- a list of AwardEmoji for the specified note
- Throws:
GitLabApiException
- if any exception occurs
-
getNoteAwardEmojis
public List<AwardEmoji> getNoteAwardEmojis(Object projectIdOrPath, Long issueIid, Long noteId) throws GitLabApiException Get a list of award emoji for the specified issue note.GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to get the award emojis for- Returns:
- a list of AwardEmoji for the specified note
- Throws:
GitLabApiException
- if any exception occurs
-
getMergeRequestNoteAwardEmojis
public List<AwardEmoji> getMergeRequestNoteAwardEmojis(Object projectIdOrPath, Long mergeRequestIid, Long noteId) throws GitLabApiException Get a list of award emoji for the specified merge request note.GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/notes/:note_id/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request that owns the notenoteId
- the note ID to get the award emojis for- Returns:
- a list of AwardEmoji for the specified note
- Throws:
GitLabApiException
- if any exception occurs
-
getIssueAwardEmoji
public AwardEmoji getIssueAwardEmoji(Object projectIdOrPath, Long issueIid, Long awardId) throws GitLabApiException Get the specified award emoji for the specified issue.GitLab Endpoint: GET /projects/:id/issues/:issue_iid/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to get the award emoji forawardId
- the ID of the award emoji to get- Returns:
- an AwardEmoji instance for the specified award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
getMergeRequestAwardEmoji
public AwardEmoji getMergeRequestAwardEmoji(Object projectIdOrPath, Long mergeRequestIid, Long awardId) throws GitLabApiException Get the specified award emoji for the specified merge request.GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to get the award emoji forawardId
- the ID of the award emoji to get- Returns:
- an AwardEmoji instance for the specified award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
getSnippetAwardEmoji
public AwardEmoji getSnippetAwardEmoji(Object projectIdOrPath, Long snippetId, Long awardId) throws GitLabApiException Get the specified award emoji for the specified snippet.GitLab Endpoint: GET /projects/:id/snippets/:snippet_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to get the award emoji forawardId
- the ID of the award emoji to get- Returns:
- an AwardEmoji instance for the specified award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
getIssueNoteAwardEmoji
public AwardEmoji getIssueNoteAwardEmoji(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) throws GitLabApiException Get the specified award emoji for the specified issue note.GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to get the award emoji fromawardId
- the ID of the award emoji to get- Returns:
- an AwardEmoji instance for the specified award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
getNoteAwardEmoji
@Deprecated public AwardEmoji getNoteAwardEmoji(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) throws GitLabApiException Deprecated.usegetIssueNoteAwardEmoji(Object, Long, Long, Long)
insteadGet the specified award emoji for the specified issue note.GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to get the award emoji fromawardId
- the ID of the award emoji to get- Returns:
- an AwardEmoji instance for the specified award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
getMergeRequestNoteAwardEmoji
public AwardEmoji getMergeRequestNoteAwardEmoji(Object projectIdOrPath, Long mergeRequestIid, Long noteId, Long awardId) throws GitLabApiException Get the specified award emoji for the specified merge request note.GitLab Endpoint: GET /projects/:id/merge_requests/:merge_request_iid/notes/:note_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request that owns the notenoteId
- the note ID to get the award emoji fromawardId
- the ID of the award emoji to get- Returns:
- an AwardEmoji instance for the specified award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
addIssueAwardEmoji
public AwardEmoji addIssueAwardEmoji(Object projectIdOrPath, Long issueIid, String name) throws GitLabApiException Add an award emoji for the specified issue.GitLab Endpoint: POST /projects/:id/issues/:issue_iid/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to add the award emoji toname
- the name of the award emoji to add- Returns:
- an AwardEmoji instance for the added award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
addMergeRequestAwardEmoji
public AwardEmoji addMergeRequestAwardEmoji(Object projectIdOrPath, Long mergeRequestIid, String name) throws GitLabApiException Add an award emoji to the specified merge request.GitLab Endpoint: POST /projects/:id/merge_requests/:merge_request_iid/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to add the award emoji toname
- the name of the award emoji to add- Returns:
- an AwardEmoji instance for the added award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
addSnippetAwardEmoji
public AwardEmoji addSnippetAwardEmoji(Object projectIdOrPath, Long snippetId, String name) throws GitLabApiException Add an award emoji to the specified snippet.GitLab Endpoint: POST /projects/:id/snippets/:snippet_id/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to add the award emoji toname
- the name of the award emoji to add- Returns:
- an AwardEmoji instance for the added award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
addIssueNoteAwardEmoji
public AwardEmoji addIssueNoteAwardEmoji(Object projectIdOrPath, Long issueIid, Long noteId, String name) throws GitLabApiException Add an award emoji for the specified issue note.GitLab Endpoint: POST /projects/:id/issues/:issue_iid/notes/:noteId/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to add the award emoji toname
- the name of the award emoji to add- Returns:
- an AwardEmoji instance for the added award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
addNoteAwardEmoji
@Deprecated public AwardEmoji addNoteAwardEmoji(Object projectIdOrPath, Long issueIid, Long noteId, String name) throws GitLabApiException Deprecated.Add an award emoji for the specified issue note.GitLab Endpoint: POST /projects/:id/issues/:issue_iid/notes/:noteId/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID of the issue that owns the notenoteId
- the note ID to add the award emoji toname
- the name of the award emoji to add- Returns:
- an AwardEmoji instance for the added award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
addMergeRequestAwardEmoji
public AwardEmoji addMergeRequestAwardEmoji(Object projectIdOrPath, Integer mergeRequestIid, Integer noteId, String name) throws GitLabApiException Add an award emoji for the specified merge request note.GitLab Endpoint: POST /projects/:id/merge_requests/:merge_request_iid/notes/:noteId/award_emoji
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request that owns the notenoteId
- the note ID to add the award emoji toname
- the name of the award emoji to add- Returns:
- an AwardEmoji instance for the added award emoji
- Throws:
GitLabApiException
- if any exception occurs
-
deleteIssueAwardEmoji
public void deleteIssueAwardEmoji(Object projectIdOrPath, Long issueIid, Long awardId) throws GitLabApiException Delete an award emoji from the specified issue.GitLab Endpoint: DELETE /projects/:id/issues/:issue_iid/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID to delete the award emoji fromawardId
- the ID of the award emoji to delete- Throws:
GitLabApiException
- if any exception occurs
-
deleteMergeRequestAwardEmoji
public void deleteMergeRequestAwardEmoji(Object projectIdOrPath, Long mergeRequestIid, Long awardId) throws GitLabApiException Delete an award emoji from the specified merge request.GitLab Endpoint: DELETE /projects/:id/merge_requests/:merge_request_iid/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID to delete the award emoji fromawardId
- the ID of the award emoji to delete- Throws:
GitLabApiException
- if any exception occurs
-
deleteSnippetAwardEmoji
public void deleteSnippetAwardEmoji(Object projectIdOrPath, Long snippetId, Long awardId) throws GitLabApiException Delete an award emoji from the specified snippet.GitLab Endpoint: DELETE /projects/:id/snippets/:snippet_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathsnippetId
- the snippet ID to delete the award emoji fromawardId
- the ID of the award emoji to delete- Throws:
GitLabApiException
- if any exception occurs
-
deleteIssueNoteAwardEmoji
public void deleteIssueNoteAwardEmoji(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) throws GitLabApiException Delete an award emoji from the specified issue note.GitLab Endpoint: DELETE /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID that owns the notenoteId
- the note ID of the note to delete the award emoji fromawardId
- the ID of the award emoji to delete- Throws:
GitLabApiException
- if any exception occurs
-
deleteNoteAwardEmoji
@Deprecated public void deleteNoteAwardEmoji(Object projectIdOrPath, Long issueIid, Long noteId, Long awardId) throws GitLabApiException Deprecated.Delete an award emoji from the specified issue note.GitLab Endpoint: DELETE /projects/:id/issues/:issue_iid/notes/:note_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathissueIid
- the issue IID that owns the notenoteId
- the note ID of the note to delete the award emoji fromawardId
- the ID of the award emoji to delete- Throws:
GitLabApiException
- if any exception occurs
-
deleteMergeRequestNoteAwardEmoji
public void deleteMergeRequestNoteAwardEmoji(Object projectIdOrPath, Long mergeRequestIid, Long noteId, Long awardId) throws GitLabApiException Delete an award emoji from the specified merge request note.GitLab Endpoint: DELETE /projects/:id/merge_requests/:merge_request_iid/notes/:note_id/award_emoji/:award_id
- Parameters:
projectIdOrPath
- id, path of the project, or a Project instance holding the project ID or pathmergeRequestIid
- the merge request IID of the merge request that owns the notenoteId
- the note ID of the note to delete the award emoji fromawardId
- the ID of the award emoji to delete- Throws:
GitLabApiException
- if any exception occurs
-
addIssueNoteAwardEmoji(Object, Long, Long, String)