Sorry, no results found for "".
Returns a resource object of type public_info.
1GET https://site-api.datocms.com/public-info HTTP/1.12Authorization: Bearer YOUR-API-TOKEN3Accept: application/json4X-Api-Version: 3
1curl -g 'https://site-api.datocms.com/public-info' \2 \3 -H "Authorization: Bearer YOUR-API-TOKEN" \4 -H "Accept: application/json" \5 -H "X-Api-Version: 3"
1await fetch("https://site-api.datocms.com/public-info", {2 headers: {3 Authorization: "Bearer YOUR-API-TOKEN",4 Accept: "application/json",5 "X-Api-Version": "3",6 },7});
1HTTP/1.1 200 OK2Content-Type: application/json3Cache-Control: cache-control: max-age=0, private, must-revalidate4X-RateLimit-Limit: 305X-RateLimit-Remaining: 286 7{8 "data": {9 "type": "public_info",10 "id": "412",11 "attributes": {12 "name": "My Awesome Website",13 "theme": {14 "primary_color": {15 "red": 128,16 "green": 128,17 "blue": 128,18 "alpha": 12819 },20 "light_color": {21 "red": 128,22 "green": 128,23 "blue": 128,24 "alpha": 12825 },26 "accent_color": {27 "red": 128,28 "green": 128,29 "blue": 128,30 "alpha": 12831 },32 "dark_color": {33 "red": 128,34 "green": 128,35 "blue": 128,36 "alpha": 12837 }38 },39 "sso_saml_init_url": "https://sso.datocms.com/XXX/saml/init",40 "logo_url": "https://www.datocms-assets.com/XXX/logo.svg",41 "white_label": true,42 "custom_i18n_messages_template_url": "",43 "extras": {44 "blocks_depth": 3,45 "blocks_per_item": 150,46 "maximum_single_upload_bytes": 107374182447 }48 }49 }50}