Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kd_clients/mod.ts>PullRequestClient#getPullRequestsInternal

Various HTTP clients for miscellaneous use.
Latest
method PullRequestClient.prototype.getPullRequestsInternal
import { PullRequestClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.13/mod.ts";

Gets a page of pull requests where the quantity for each page matches the given qtyPerPage, where the pull request has the given state and labels, for a repository with a name that matches the given PullRequestClient.repoName.

Parameters

optional
page = [UNSUPPORTED]

The page of results to return.

optional
qtyPerPage = [UNSUPPORTED]

The total to return per page.

optional
state: IssueOrPRState = [UNSUPPORTED]

The state of the pull request.

optional
mergeState: MergeState = [UNSUPPORTED]

The labels to filter by. A null or empty list will not filter the results.

optional
labels: string[] | null
optional
milestoneNumber: number

Returns

Promise<[PullRequestModel[], Response]>

A group of pull requests.