Tabs & Spaces Developers

Build

Installing and updating

Workspace owners and admins install apps, from the marketplace or by your manifest's address. Everyone in the workspace sees the installed apps in Settings → Apps.

This page is about apps at an address. A tab with no server is uploaded instead: by owners and admins for the whole workspace, or, as a space's own, by the people who manage that space's tabs. What they see first is the same.

What an admin sees first

When an admin pastes your manifest's address and chooses Check, they see:

  • your app's name, picture, description and developer;
  • the tabs it adds, with their descriptions;
  • what it's told: "The name of whoever opens its tab, and the workspace, space and tab it's in. Nothing else: not your messages, files or tasks." (An app that reads or hears the workspace says what more it's told.);
  • what it reads of the workspace: each of your permissions, in words, and that it only ever sees what the person looking can see;
  • what it keeps: each of your collections, where it's kept, and whether agents can read it;
  • what it does: each of your actions, and whether it changes things (agents ask first) or only reads;
  • what happens in it: the events triggers can listen for;
  • what it hears: each event it listens for, in words, and whether it's sent to your server or only to your open pages;
  • what it does by itself: each of your reactions, and the action it runs;
  • where it loads from: your origin.
Installing an app called Studio pulse: its tab, the data it keeps, its actions, what it reads (tasks and messages), what it hears, what it does by itself, what it's told and where it loads from, with Install and Cancel.
What an admin sees before installing, here for an app that reads, hears and does something by itself.

Nothing is kept until they choose Install.

How your manifest is fetched

The workspace's server fetches your manifest, and your app's picture, with care:

RuleDetail
HTTPSOn the usual port (443)
No private addressesChecked after DNS, on every redirect
RedirectsUp to 3, and only on the same origin
Time5 seconds
SizeManifest up to 64 KB; picture up to 100 KB
AnswerStatus 200, JSON

For development on your own machine, the workspace's operator can allow private addresses, http and any port with APPS_PRIVATE_NETWORKS=true. See Quickstart.

The workspace keeps your picture itself, so showing it in the workspace never tells your server who's looking.

When it's refused

The admin sees why, in your manifest's own terms. For example, tabs.deals.url must be on the manifest's origin. The reasons:

CodeWhen
MANIFEST_UNREACHABLEIt couldn't be fetched, or didn't answer 200
MANIFEST_PRIVATE_ADDRESSIt's on a private network
MANIFEST_NOT_JSONIt isn't JSON
MANIFEST_INVALIDIt doesn't follow the manifest's rules, or it redirected off its origin
APP_ID_TAKENAnother origin's app with the same id is installed
TOO_MANY_APPSThe workspace has 50 apps

Updates

Workspaces don't follow your changes by themselves. When you change your manifest (a new tab, a new name), an admin chooses Check for updates on your app, and the workspace fetches it again. An update must keep your app's id and origin. A manifest at the same address with another id, or another origin, is refused: that's a different app. An app installed from the marketplace updates only to the version we reviewed and listed, whatever its address serves (see Publishing). An update that asks for a new permission waits: the admin is shown what it would read, and updates with a yes.

Your pages, though, are yours. Change them whenever you like, and the next time someone opens your tab they get the new version.

Removal

When an admin removes your app, its tabs stay in their spaces, saying the app isn't installed, until someone removes them or the app is installed again. So does its data, unless the admin chooses to delete it too. If it's reinstalled (the same id, from the same origin), its tabs and data work again. An app that listens for app.removed is told, so its server can let go of what it keeps for that workspace; its reactions stop.

Search every page: actions, the manifest, the SDK, tokens…