id · kind · slug · labelstringWhat it is and what it is called.
hostname · urlstringWhere it answers.
statusstringempty until something is deployed, then live.
certificatestringnone · pending · active.
currentobject|nullThe deploy online now.
usedBytesintegerAgainst the account's object storage.
requests30dintegerRequests counted. A site runs no code per request.
domains_arrayCustomer domains attached.
createdAt · lastActivityAtstring|nullWhen.
status and certificate are both needed
| status | certificate | Means |
|---|---|---|
empty | any | Nothing deployed. |
live | pending | Deployed, and the address still refuses. |
live | active | It answers. |
On a fresh address level the certificate takes a couple of minutes, and during them the connection fails. An interface that says « online » then sends somebody to debug a deploy that is fine.
current is not always the newest
After a rollback it is an earlier one. deploys() is the history; this is what answers.
requests30d and what a site is
A site is put in place without any code to run, which is what keeps it cheap per request. The counter is meaningful for the kinds that execute something.