import { GetDeploymentsRequest } from "@simplesagar/vercel/models/getdeploymentsop.js";
let value: GetDeploymentsRequest = {};
Field | Type | Required | Description | Example |
---|---|---|---|---|
app |
string | ➖ | Name of the deployment. | docs |
from |
number | ➖ | Gets the deployment created after this Date timestamp. (default: current time) | 1612948664566 |
limit |
number | ➖ | Maximum number of deployments to list from a request. | 10 |
projectId |
string | ➖ | Filter deployments from the given ID or name. | QmXGTs7mvAMMC7WW5ebrM33qKG32QK3h4vmQMjmY |
target |
string | ➖ | Filter deployments based on the environment. | production |
to |
number | ➖ | Gets the deployment created before this Date timestamp. (default: current time) | 1612948664566 |
users |
string | ➖ | Filter out deployments based on users who have created the deployment. | kr1PsOIzqEL5Xg6M4VZcZosf,K4amb7K9dAt5R2vBJWF32bmY |
since |
number | ➖ | Get Deployments created after this JavaScript timestamp. | 1540095775941 |
until |
number | ➖ | Get Deployments created before this JavaScript timestamp. | 1540095775951 |
state |
string | ➖ | Filter deployments based on their state (BUILDING , ERROR , INITIALIZING , QUEUED , READY , CANCELED ) |
BUILDING,READY |
rollbackCandidate |
boolean | ➖ | Filter deployments based on their rollback candidacy | |
teamId |
string | ➖ | The Team identifier to perform the request on behalf of. | |
slug |
string | ➖ | The Team slug to perform the request on behalf of. |