Skip to main content
Module

x/kd_clients/mod.ts>LabelClient#getLabels

Various types of HTTP clients for misc uses. This is used in the organization's infrastructure.
Go to Latest
method LabelClient.prototype.getLabels
import { LabelClient } from "https://deno.land/x/kd_clients@v0.0.5/mod.ts";

Gets a page of labels with a set page size for a repository that matches the repoName.

Parameters

repoName: string

The name of the repo where the labels exist.

page: number

The page of results to return.

qtyPerPage: number

The total to return per page.

Returns

Promise<[LabelModel[], Response]>

A list of labels in the repo.