You can now also access restricted Scrivito content on a server, e.g. for archiving your website content. For this, the apiKey option was added to Scrivito.configure. See also Using Scrivito with Node.js.
You can now also access restricted Scrivito content on a server, e.g. for archiving your website content. For this, the apiKey option was added to Scrivito.configure. See also Using Scrivito with Node.js.
CopyScrivito = require("scrivito")Scrivito.configure({tenant: process.env.SCRIVITO_TENANT,apiKey: process.env.SCRIVITO_API_KEY})all = Scrivito.Obj.onAllSites().all()restricted = all.andNot("_restriction", "equals", null)await Scrivito.load(() => restricted.count())// => 42
Thank you for using Scrivito!