Get Analytics Template Install Plan
See what a template needs before you install it: the apps to connect, the connections you can pick for each, and, for a bundle, its pages. Then call Install Analytics Template with a connection id (or null to skip) for every app.
Path
The template id, from List Analytics Templates.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. Here a key acts in another organization only as one of its members: with "Use this key across all of your organizations" on, in an organization its creator belongs to with a role. Child organizations and MindCloud staff access do not reach this endpoint. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Response fields
templateIdstringThe template the plan is for, from List Analytics Templates.
kindstringpage installs one page; bundle installs its members as pages in a new folder.
pagebundle
appsarray of objectsEvery app the install needs, each with the connections it accepts. Install Analytics Template takes a connection id or null (skip it) for every one.
appIdstringThe app. Use it, or appSlug, as the key in Install Analytics Template connections.
appSlugstringThe app's slug, as List Universal Apps answers it.
appNamestringThe app's name.
dataSourceCountnumberHow many of the template's data sources read this app.
panelCountnumberHow many panels show nothing until this app is connected.
connectionsarrayThe connections the install accepts for this app: your own and the organization's shared ones. Empty when you have none; connect the app in MindCloud first, or skip it.
idstringThe connection id, as List Connections answers it. Pass it in connections to wire the app.
namestringThe connection name, as List Connections answers it.
statusstringThe connection's status after its last sign-in, test or use.
isCompanybooleanWhether it is one of the organization's shared connections rather than the creator's own, as List Connections answers it.
membersarray of objectsFor a bundle, its templates and whether you can install each; empty for a page template.
idstringThe member template id. Pass it in templateIds to install only some members.
namestringThe member template name.
canInstallbooleanWhether you can install this member.