SttpGitlabAPIV2Future
class SttpGitlabAPIV2Future(val config: GitlabConfig, apiConfig: GitlabRestAPIConfig)(implicit ex: ExecutionContext) extends GitlabRestAPIV2[Future] with LazyLogging
trait GitlabRestAPIV2[Future]
trait CommitsAPIV2[Future]
trait ProjectsAPIV2[Future]
trait PipelinesAPIV2[Future]
trait JobsAPIV2[Future]
trait DeploymentsAPIV2[Future]
trait EventsAPIV2[Future]
trait MergeRequestsAPIV2[Future]
trait TagsAPIV2[Future]
trait EmojiAwardsAPIV2[Future]
trait Gitlab4SMarshalling
trait LazyLogging
class Object
trait Matchable
class Any
Type members
Inherited classlikes
implicit class unmarshallEitherGitlabT[F[_]](data: EitherT[F, GitlabError, GitlabResponse[String]])(implicit m: Functor[F])
- Inherited from:
- Gitlab4SMarshalling
implicit class unmarshallEitherT[F[_]](data: EitherT[F, GitlabError, String])(implicit m: Functor[F])
- Inherited from:
- Gitlab4SMarshalling
implicit class unmarshallF[F[_]](data: F[Either[GitlabError, GitlabResponse[String]]])(implicit m: GitlabApiT[F])
- Inherited from:
- Gitlab4SMarshalling
Value members
Concrete methods
override def byteRequest(requestData: GitlabRequest)(implicit requestId: RequestId): Future[Either[GitlabError, GitlabResponse[Array[Byte]]]]
- Definition Classes
- GitlabRestAPIV2
override def invokeRequestRaw(requestData: GitlabRequest)(implicit requestId: RequestId): Future[Either[GitlabError, GitlabResponse[String]]]
- Definition Classes
- GitlabRestAPIV2
Inherited methods
def approveMergeRequest(mergeRequest: MergeRequestID, headSha: Option[String]): Future[Either[GitlabError, MergeRequestApprovals]]
- Inherited from:
- MergeRequestsAPIV2
def approveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt, headSha: Option[String]): Future[Either[GitlabError, MergeRequestApprovals]]
- Inherited from:
- MergeRequestsAPIV2
def awardEmoji(mergeRequest: MergeRequestInfo, emojiName: String): Future[Either[GitlabError, EmojiAward]]
- Inherited from:
- EmojiAwardsAPIV2
def awardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, emojiName: String): Future[Either[GitlabError, EmojiAward]]
- Inherited from:
- EmojiAwardsAPIV2
def awardMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt, emojiName: String): Future[Either[GitlabError, EmojiAward]]
- Inherited from:
- EmojiAwardsAPIV2
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, name: String, userIds: Vector[BigInt]): Future[Either[GitlabError, MergeRequestApprovalRule]]
- Inherited from:
- MergeRequestsAPIV2
def createApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMergeRequestApprovalRule): Future[Either[GitlabError, MergeRequestApprovalRule]]
- Inherited from:
- MergeRequestsAPIV2
def createMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, payload: CreateMRDiscussion): Future[Either[GitlabError, MergeRequestDiscussion]]
- Inherited from:
- MergeRequestsAPIV2
def createMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, body: String): Future[Either[GitlabError, MergeRequestNote]]
- Inherited from:
- MergeRequestsAPIV2
def createMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, body: String): Future[Either[GitlabError, MergeRequestNote]]
- Inherited from:
- MergeRequestsAPIV2
def createProjectApprovalRule(projectId: EntityId, payload: UpsertProjectApprovalRule): Future[Either[GitlabError, ProjectApprovalRule]]
- Inherited from:
- ProjectsAPIV2
def createPushRules(projectId: EntityId, pushRules: EditPushRuleRequest): Future[Either[GitlabError, PushRules]]
- Inherited from:
- ProjectsAPIV2
def createTag(projectId: EntityId, tagName: String, refToTag: String, message: Option[String], description: Option[String]): Future[Either[GitlabError, TagInfo]]
- Inherited from:
- TagsAPIV2
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRule: MergeRequestApprovalRule): Future[Either[GitlabError, String]]
- Inherited from:
- MergeRequestsAPIV2
def deleteApprovalRule(projectId: EntityId, mergeRequestIId: BigInt, approvalRuleId: BigInt): Future[Either[GitlabError, String]]
- Inherited from:
- MergeRequestsAPIV2
def deleteMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): Future[Either[GitlabError, Unit]]
- Inherited from:
- MergeRequestsAPIV2
def downloadJobArtifacts(projectId: EntityId, jobId: BigInt): Future[Either[GitlabError, RawResponse]]
- Inherited from:
- JobsAPIV2
def downloadSingleFileFromJobArtifact(projectId: EntityId, jobId: BigInt, artifactPath: String): Future[Either[GitlabError, RawResponse]]
- Inherited from:
- JobsAPIV2
def editProject(projectId: EntityId, updates: EditProjectRequest): Future[Either[GitlabError, ProjectInfo]]
- Inherited from:
- ProjectsAPIV2
def editPushRules(projectId: EntityId, updates: EditPushRuleRequest): Future[Either[GitlabError, PushRules]]
- Inherited from:
- ProjectsAPIV2
protected def getAllPaginatedResponse[A : Decoder](req: GitlabRequest, kind: String, paging: Paging): Future[Either[GitlabError, Vector[A]]]
- Inherited from:
- GitlabRestAPIV2
def getApprovals(projectId: EntityId, mergeRequestIId: BigInt): Future[Either[GitlabError, MergeRequestApprovals]]
- Inherited from:
- MergeRequestsAPIV2
def getBranches(projectID: EntityId, searchTerm: Option[String]): Future[Either[GitlabError, Vector[GitlabBranchInfo]]]
- Inherited from:
- GitlabRestAPIV2
def getCommitRefs(projectId: EntityId, commitId: String): Future[Either[GitlabError, Vector[RefSimpleInfo]]]
- Inherited from:
- CommitsAPIV2
def getCommits(projectId: EntityId, path: String, ref: String, since: ZonedDateTime, until: ZonedDateTime, paging: Paging): Future[Either[GitlabError, Vector[CommitSimple]]]
- Inherited from:
- CommitsAPIV2
def getCommitsReferences(projectId: EntityId, commitSha: String): Future[Either[GitlabError, Vector[CommitReference]]]
- Inherited from:
- CommitsAPIV2
def getDiffOfACommit(projectId: EntityId, ref: String): Future[Either[GitlabError, Vector[FileDiff]]]
- Inherited from:
- CommitsAPIV2
def getEmojiAwards(projectID: EntityId, scope: AwardableScope, awardableId: BigInt): Future[Either[GitlabError, Vector[EmojiAward]]]
- Inherited from:
- EmojiAwardsAPIV2
def getEvents(since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): Future[Either[GitlabError, Vector[EventInfo]]]
- Inherited from:
- EventsAPIV2
def getGroupMergeRequests(groupId: EntityId, states: Iterable[MergeRequestState]): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- MergeRequestsAPIV2
def getGroupMergeRequests(groupId: EntityId, state: MergeRequestState, search: NullableField[String], author: NullableField[EntityId], myReaction: NullableField[String], updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], paging: Paging, sort: NullableField[Sorting[MergeRequestsSort]]): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequest(projectID: EntityId, mrId: BigInt): Future[Either[GitlabError, MergeRequestFull]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestApprovalRules(projectId: EntityId, mergeRequestIId: BigInt): Future[Either[GitlabError, Vector[MergeRequestApprovalRule]]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestDiff(projectID: EntityId, mrId: BigInt): Future[Either[GitlabError, MergeRequestFull]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String): Future[Either[GitlabError, MergeRequestDiscussion]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestDiscussions(projectId: EntityId, mergeRequestIId: BigInt): Future[Either[GitlabError, Vector[MergeRequestDiscussion]]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestEmoji(projectID: EntityId, mergeRequestIID: BigInt): Future[Either[GitlabError, Vector[EmojiAward]]]
- Inherited from:
- EmojiAwardsAPIV2
def getMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt): Future[Either[GitlabError, MergeRequestNote]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestNotes(mr: MergeRequestID, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): Future[Either[GitlabError, Vector[MergeRequestNote]]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestNotes(projectId: EntityId, mergeRequestIId: BigInt, paging: Paging, sort: Option[Sorting[MergeRequestNotesSort]]): Future[Either[GitlabError, Vector[MergeRequestNote]]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequests(projectID: EntityId, states: Iterable[MergeRequestState]): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequests(projectID: EntityId, state: MergeRequestState, author: NullableField[EntityId], search: NullableField[String], myReaction: NullableField[String], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], paging: Paging, sort: NullableField[Sorting[MergeRequestsSort]]): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- MergeRequestsAPIV2
def getMergeRequestsOfCommit(projectId: EntityId, commitSha: String): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- CommitsAPIV2
def getPipeline(projectId: EntityId, pipelineId: BigInt): Future[Either[GitlabError, PipelineFullInfo]]
- Inherited from:
- PipelinesAPIV2
def getPipelineJobs(projectId: EntityId, pipelineId: BigInt, scope: Set[JobScope]): Future[Either[GitlabError, Vector[JobFullInfo]]]
- Inherited from:
- PipelinesAPIV2
def getPipelineVariables(projectId: EntityId, pipelineId: BigInt): Future[Either[GitlabError, Vector[PipelineVar]]]
- Inherited from:
- PipelinesAPIV2
def getProjectApprovalRules(projectId: EntityId): Future[Either[GitlabError, Vector[ProjectApprovalRule]]]
- Inherited from:
- ProjectsAPIV2
def getProjectDeployments(projectId: EntityId, environment: String, updatedAfter: ZonedDateTime, updatedBefore: ZonedDateTime, status: String, paging: Paging, sort: Sorting[DeploymentsSort]): Future[Either[GitlabError, Vector[DeploymentInfo]]]
- Inherited from:
- DeploymentsAPIV2
def getProjectPipelines(projectId: EntityId, ref: String, sha: String, scope: PipelineScope, status: PipelineStatus, yamlErrors: Option[Boolean], name: String, username: String, updatedAfter: ZonedDateTime, updatedBefore: ZonedDateTime, sort: Sorting[PipelinesSort], paging: Paging): Future[Either[GitlabError, Vector[PipelineShort]]]
- Inherited from:
- PipelinesAPIV2
def getProjectTags(projectId: EntityId, search: String, paging: Paging, sort: Sorting[TagsSort]): Future[Either[GitlabError, Vector[TagInfo]]]
- Inherited from:
- TagsAPIV2
def getProjects(paging: Paging, sort: Sorting[ProjectsSort]): Future[Either[GitlabError, Vector[ZonedDateTime]]]
- Inherited from:
- ProjectsAPIV2
def getUserContributionEvents(userId: EntityId, since: UtcDate, until: UtcDate, targetType: TargetType, action: ActionType, paging: Paging, sort: Sorting[EventsSort]): Future[Either[GitlabError, Vector[EventInfo]]]
- Inherited from:
- EventsAPIV2
def globalMergeRequestSearch(state: NullableField[MergeRequestState], author: NullableField[EntityId], scope: NullableField[MergeRequestSearchScope], titleOrDescriptionText: NullableField[String], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], sort: NullableField[Sorting[MergeRequestsSort]]): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- MergeRequestsAPIV2
protected def globalSearch(scope: SearchScope, phrase: String): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- GitlabRestAPIV2
def groupSearchMrs(groupId: EntityId, phrase: String): Future[Either[GitlabError, Vector[MergeRequestInfo]]]
- Inherited from:
- MergeRequestsAPIV2
protected def invokeRequest(request: GitlabRequest)(implicit requestId: RequestId): Future[Either[GitlabError, String]]
- Inherited from:
- GitlabRestAPIV2
protected def renderParams(myReaction: NullableField[String], author: NullableField[EntityId], search: NullableField[String], state: MergeRequestState, updatedBefore: NullableField[ZonedDateTime], updatedAfter: NullableField[ZonedDateTime], createdBefore: NullableField[ZonedDateTime], createdAfter: NullableField[ZonedDateTime], withMergeStatusRecheck: NullableField[Boolean], sort: NullableField[Sorting[MergeRequestsSort]]): Vector[ParamQuery]
- Inherited from:
- GitlabRestAPIV2
def resolveMergeRequestDiscussion(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, resolved: Boolean): Future[Either[GitlabError, MergeRequestDiscussion]]
- Inherited from:
- MergeRequestsAPIV2
def triggerPipeline(projectId: EntityId, branch: String, vars: Vector[PipelineVar]): Future[Either[GitlabError, PipelineFullInfo]]
- Inherited from:
- PipelinesAPIV2
def unapproveMergeRequest(projectId: EntityId, mergeRequestIId: BigInt): Future[Either[GitlabError, MergeRequestApprovals]]
- Inherited from:
- MergeRequestsAPIV2
def unawardEmoji(mergeRequest: MergeRequestInfo, emojiAward: EmojiAward): Future[Either[GitlabError, Unit]]
- Inherited from:
- EmojiAwardsAPIV2
def unawardEmoji(projectID: EntityId, scope: AwardableScope, awardableId: BigInt, awardId: BigInt): Future[Either[GitlabError, Unit]]
- Inherited from:
- EmojiAwardsAPIV2
def updateMergeRequest(projectID: EntityId, mrId: BigInt, updateMrPayload: UpdateMRPayload): Future[Either[GitlabError, MergeRequestFull]]
- Inherited from:
- MergeRequestsAPIV2
def updateMergeRequestDiscussionNote(projectId: EntityId, mergeRequestIId: BigInt, discussionId: String, noteId: BigInt, payload: MRDiscussionUpdate): Future[Either[GitlabError, MergeRequestNote]]
- Inherited from:
- MergeRequestsAPIV2
def updateMergeRequestNote(projectId: EntityId, mergeRequestIId: BigInt, noteId: BigInt, newBody: String): Future[Either[GitlabError, MergeRequestNote]]
- Inherited from:
- MergeRequestsAPIV2
def updateProjectApprovalRule(projectId: EntityId, approvalRuleId: BigInt, payload: UpsertProjectApprovalRule): Future[Either[GitlabError, ProjectApprovalRule]]
- Inherited from:
- ProjectsAPIV2
Inherited fields
Implicits
Implicits
Inherited implicits
final implicit def unmarshallEitherGitlabT[F[_]](data: EitherT[F, GitlabError, GitlabResponse[String]])(implicit m: Functor[F]): unmarshallEitherGitlabT[F]
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallEitherT[F[_]](data: EitherT[F, GitlabError, String])(implicit m: Functor[F]): unmarshallEitherT[F]
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallF[F[_]](data: F[Either[GitlabError, GitlabResponse[String]]])(implicit m: GitlabApiT[F]): unmarshallF[F]
- Inherited from:
- Gitlab4SMarshalling
final implicit def unmarshallFF[F[_]](data: F[Either[GitlabError, String]])(implicit m: GitlabApiT[F]): unmarshallFF[F]
- Inherited from:
- Gitlab4SMarshalling