Get Site

Get details of a site.

Required scope | sites:read

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

site_idstringRequiredformat: "objectid"
Unique identifier for a Site

Response

Request was successful
idstringformat: "objectid"
Unique identifier for the Site
workspaceIdstringformat: "objectid"
Unique identifier for the Workspace
createdOnstringformat: "date-time"
Date the Site was created
displayNamestring
Name given to Site
shortNamestring
Slugified version of name
lastPublishedstringformat: "date-time"
Date the Site was last published
lastUpdatedstringformat: "date-time"
Date the Site was last updated
previewUrlstringformat: "uri"
URL of a generated image for the given Site
timeZonestring
Site timezone set under Site Settings
parentFolderIdstring or nullformat: "objectid"
The ID of the parent folder the Site exists in
customDomainslist of objects
localesobject
dataCollectionEnabledboolean
Indicates if data collection is enabled for the site.
dataCollectionTypeenum
The type of data collection enabled for the site.
Allowed values:

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error