Sorry, no results found for "".
Returns a resource object of type public_info
1import { buildClient } from "@datocms/cma-client-node";2 3async function run() {4 const client = buildClient({ apiToken: process.env.DATOCMS_API_TOKEN });5 6 const publicInfo = await client.publicInfo.find();7 8 // Check the 'Returned output' tab for the result ☝️9 console.log(publicInfo);10}11 12run();
1{2 id: "412",3 name: "My Awesome Website",4 theme: {5 primary_color: { red: 128, green: 128, blue: 128, alpha: 128 },6 light_color: { red: 128, green: 128, blue: 128, alpha: 128 },7 accent_color: { red: 128, green: 128, blue: 128, alpha: 128 },8 dark_color: { red: 128, green: 128, blue: 128, alpha: 128 },9 },10 sso_saml_init_url: "https://sso.datocms.com/XXX/saml/init",11 logo_url: "https://www.datocms-assets.com/XXX/logo.svg",12 white_label: true,13 custom_i18n_messages_template_url: "",14 extras: {15 blocks_depth: 3,16 blocks_per_item: 150,17 maximum_single_upload_bytes: 1073741824,18 },19}