Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kd_clients/mod.ts>LabelClient#getLabels

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

Gets the given page of labels where the size of each page is the given qtyPerPage, for a repository with a name that matches the repoName.

Parameters

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.