Interact programmatically with your Vercel account using the SDK or direct HTTP requests.
https://api.vercel.com
and then generally follow the REST architecture.
Name | Definition | Example |
---|---|---|
ID | A unique value used to identify resources. | "V0fra8eEgQwEpFhYG2vTzC3K" |
String | A string is a sequence of characters used to represent text. | "value" |
Integer | An integer is a number without decimals. | 1234 |
Float | A float is a number with decimals. | 12.34 |
Map | A data structure with a list of values assigned to a unique key. | { "key": "value" } |
List | A data structure with only a list of values separated by a comma. | ["value", 1234, 12.34] |
Enum | An Enum is a String with only a few possible valid values. | A or B |
Date | An Integer representing a date in milliseconds since the UNIX epoch. | 1540095775941 |
IsoDate | A String representing a date in the 8601 format. | YYYY-MM-DDTHH:mm:ssZ |
Boolean | A Boolean is a type of two possible values representing true or false. | true |
limit
when the request is made. The maximum possible value of limit
is 100.
You can then use the pagination object to make additional requests and obtain all the records.
The pagination object is structured as shown in the example below:
until
with a value equal to the timestamp value of next
returned in the previous requestnext
value of null
Node.js
to save all the projects in your personal account to a json
file:
Header | Description |
---|---|
X-RateLimit-Limit | The maximum number of requests that the consumer is permitted to make. |
X-RateLimit-Remaining | The number of requests remaining in the current rate limit window. |
X-RateLimit-Reset | The time at which the current rate limit window resets in UTC epoch seconds. |
6
of the deployments
endpoint.