Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 3.95 KB

listaliasesrequest.md

File metadata and controls

33 lines (28 loc) · 3.95 KB

ListAliasesRequest

Example Usage

import { ListAliasesRequest } from "@vercel/sdk/models/listaliasesop.js";

let value: ListAliasesRequest = {
  domain: "my-test-domain.com",
  from: 1540095775951,
  limit: 10,
  projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
  since: 1540095775941,
  until: 1540095775951,
  rollbackDeploymentId: "dpl_XXX",
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
};

Fields

Field Type Required Description Example
domain models.Domain Get only aliases of the given domain name my-test-domain.com
from number Get only aliases created after the provided timestamp 1540095775951
limit number Maximum number of aliases to list from a request 10
projectId string Filter aliases from the given projectId prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB
since number Get aliases created after this JavaScript timestamp 1540095775941
until number Get aliases created before this JavaScript timestamp 1540095775951
rollbackDeploymentId string Get aliases that would be rolled back for the given deployment dpl_XXX
teamId string The Team identifier to perform the request on behalf of. team_1a2b3c4d5e6f7g8h9i0j1k2l
slug string The Team slug to perform the request on behalf of. my-team-url-slug