Site
A site represents a specific DatoCMS administrative area
Object payload
ID of site
"155"
Must be exactly "site".
Administrative area custom domain
"admin.my-awesome-website.com"
The upload id for the favicon
"123"
Specifies default global settings
Site name, used in social sharing
"My Awesome Website"
"Default meta title"
"Default meta description"
The id of the image
"123"
Determines how a Twitter link preview is shown
"summary_large_image"
Twitter summary card
Twitter summary card with large image
Title meta tag suffix
" - My Awesome Website"
URL of facebook page
"http://facebook.com/awesomewebsite"
Twitter account associated to website
"@awesomewebsite"
Google API Key to be used by the LatLon field editor. Only the DatoCMS interface uses it: it returns null for any other caller.
"xxxxxxxxxxxxx"
Imgix host
"www.datocms-assets.com"
DatoCMS internal domain for the administrative area. Returns null if the credentials you are using cannot read the configuration of the project.
"my-website.admin.datocms.com"
Specifies the last time when a change of data occurred
"2017-03-30T09:29:14.872Z"
Available locales
["en"]
Site name
"My Awesome Website"
Whether the website needs to be indexed by search engines or not
Specifies whether all users of this site need to authenticate using two-factor authentication. Returns null if the credentials you are using cannot read the configuration of the project.
Specifies the theme to use in administrative area. The shape depends on the type (discriminated union): a monochromatic theme has a hue, a brand color and a navbar lightness, and a custom theme has a color palette.
Site default timezone, as an IANA time zone identifier
"Europe/London"
Specifies whether you want IPs to be tracked in the Project usages section. Returns null if the credentials you are using cannot read the configuration of the project.
If enabled, blocks schema changes of primary environment
Allows setting default parameters for assets served through the CDN
Allows setting default parameters for optimizing images served by the CDN
Controls the output quality of lossy file formats (jpg, pjpg, webp, avif, or jxr). Valid values are in the range 0 – 100 and the default is 75.
50
The auto parameter helps automating a baseline level of optimization. Specify one or more settings
["compress", "format"]
Specifies the color space of the output image
"srgb"
Uses the sRGB colorspace which is an internet standard. This is the default
Refers to the Adobe RGB (1998) color space, which provides accurate color reproduction from screen to print
Reduces the color space metadata but may cause a slight shift in color values
Removes the colorspace for maximum size reduction. Note that colors will still be rendered, but a colorspace will not be specified
Keeps the color space of the origin image. This is the default value unless auto=compress
Allows setting default parameters for optimizing videos served by the CDN
When true, attempting to retrieve raw video files directly instead of their optimized counterparts will result in a HTTP 422 status code
Date of project creation
Whether the Improved API Timezone Management opt-in product update is active or not
Whether the Improved API Hex Management opt-in product update is active or not
Whether the Improved GraphQL multi-locale fields opt-in product update is active or not
Whether the Improved GraphQL visibility control opt-in product update is active or not
Whether the Improved boolean fields opt-in product update is active or not
The default value for the draft mode option in all the environment's models
Whether the Improved validation at publishing opt-in product update is active or not
Whether the Improved exposure of inline blocks in the Content Delivery API opt-in product update is active or not
Whether the Improved items listing opt-in product update is active or not
Whether the Milliseconds in datetime opt-in product update is active or not
Whether the Non-localized focal points opt-in product update is active or not
Whether the project can still use a custom color palette for the theme. Custom palettes are deprecated.
Whether the site has custom upload storage settings
Please user the owner relationship instead