API reference
sites.read
Read a Site again
POST/api/v1/sites/{siteId}/read
Details
Read the Site again through its Site Connection now, instead of waiting for the daily reading: its content types and how many published entries each has, its title and tagline, whether it is hidden from search engines, and the addresses visitors hit that do not exist. Uses only the read-only scopes the owner granted. At most once every 10 minutes per Site (CONFLICT sooner). CONFLICT when the Site is not connected or its Connection must be reconnected. Returns the Site with its new reading.
Input
| Field | Type | Notes |
|---|---|---|
siteIdrequired | string | 1 to 64 characters |
Output
| Field | Type | Notes |
|---|---|---|
idrequired | string | |
projectIdrequired | string | |
namerequired | string | |
slugrequired | string | |
statusrequired | "provisioning" | "unclaimed" | "claimed" | "connected" | "failed" | "archived" | |
urlrequired | string or null | |
createdAtrequired | integer | from -9007199254740991 to 9007199254740991 |
buildrequired | object or null | |
jobrequired | object or null | |
connectionrequired | object or null | |
healthrequired | object or null | |
readingrequired | object or null |