Private
#requestProtected
Readonly
configProtected
Readonly
prefixCreates a short link.
const link = await links.create({
target: "string",
description: "string",
expire_in: "2 minutes/hours/days",
password: "string",
customurl: "string",
reuse: false,
domain: "string",
});
Protected
deleteProtected
getProtected
=
Optional
url: stringProtected
Optional
url: stringGets list of links.
const list = await links.list();
const list = await links.list({
skip: 0,
limit: 10,
all: 10,
});
Protected
patchProtected
postProtected
requestGets link stats.
const stats = await links.stats(link.id);
Updates a link.
const updatedLink = await links.update(link.id, {
target: "string",
address: "string",
description: "string",
expire_in: "2 minutes/hours/days",
});
Protected
urlGenerated using TypeDoc
See
https://docs.kutt.it/#tag/links
Example