Sorry, no results found for "".
Returns a resource object of type public_info.
GET https://site-api.datocms.com/public-info HTTP/1.1Authorization: Bearer YOUR-API-TOKENAccept: application/jsonX-Api-Version: 3
curl -g 'https://site-api.datocms.com/public-info' \ \ -H "Authorization: Bearer YOUR-API-TOKEN" \ -H "Accept: application/json" \ -H "X-Api-Version: 3"
await fetch("https://site-api.datocms.com/public-info", { headers: { Authorization: "Bearer YOUR-API-TOKEN", Accept: "application/json", "X-Api-Version": "3", },});
HTTP/1.1 200 OKContent-Type: application/jsonCache-Control: cache-control: max-age=0, private, must-revalidateX-RateLimit-Limit: 30X-RateLimit-Remaining: 28
{ "data": { "type": "public_info", "id": "412", "attributes": { "name": "My Awesome Website", "theme": { "primary_color": { "red": 128, "green": 128, "blue": 128, "alpha": 128 }, "light_color": { "red": 128, "green": 128, "blue": 128, "alpha": 128 }, "accent_color": { "red": 128, "green": 128, "blue": 128, "alpha": 128 }, "dark_color": { "red": 128, "green": 128, "blue": 128, "alpha": 128 } }, "sso_saml_init_url": "https://sso.datocms.com/XXX/saml/init", "logo_url": "https://www.datocms-assets.com/XXX/logo.svg", "white_label": true, "custom_i18n_messages_template_url": "", "extras": { "blocks_depth": 3, "blocks_per_item": 150, "maximum_single_upload_bytes": 1073741824 } } }}