import { ListAliasesAliases } from "@vercel/sdk/models/listaliasesop.js";
let value: ListAliasesAliases = {
alias: "my-alias.vercel.app",
created: new Date("2017-04-26T23:00:34.232Z"),
createdAt: 1540095775941,
creator: {
uid: "96SnxkFiMyVKsK3pnoHfx3Hz",
email: "[email protected]",
username: "john-doe",
},
deletedAt: 1540095775941,
deployment: {
id: "dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx",
url: "my-instant-deployment-3ij3cxz9qr.now.sh",
meta: "{}",
},
deploymentId: "dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx",
projectId: "prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB",
uid: "<id>",
updatedAt: 1540095775941,
};
Field |
Type |
Required |
Description |
Example |
alias |
string |
✔️ |
The alias name, it could be a .vercel.app subdomain or a custom domain |
my-alias.vercel.app |
created |
Date |
✔️ |
The date when the alias was created |
2017-04-26T23:00:34.232Z |
createdAt |
number |
➖ |
The date when the alias was created in milliseconds since the UNIX epoch |
1540095775941 |
creator |
models.ListAliasesCreator |
➖ |
Information of the user who created the alias |
|
deletedAt |
number |
➖ |
The date when the alias was deleted in milliseconds since the UNIX epoch |
1540095775941 |
deployment |
models.ListAliasesDeployment |
➖ |
A map with the deployment ID, URL and metadata |
|
deploymentId |
string |
✔️ |
The deployment ID |
dpl_5m8CQaRBm3FnWRW1od3wKTpaECPx |
projectId |
string |
✔️ |
The unique identifier of the project |
prj_12HKQaOmR5t5Uy6vdcQsNIiZgHGB |
redirect |
string |
➖ |
Target destination domain for redirect when the alias is a redirect |
|
redirectStatusCode |
number |
➖ |
Status code to be used on redirect |
|
uid |
string |
✔️ |
The unique identifier of the alias |
|
updatedAt |
number |
➖ |
The date when the alias was updated in milliseconds since the UNIX epoch |
1540095775941 |
protectionBypass |
Record<string, models.ListAliasesProtectionBypass> |
➖ |
The protection bypass for the alias |
|