Bento Spaces docs

Bento Spaces documentation

Domains and surfaces

Status: the public host map is settled on bentospaces.com. The static UI, API, Studio, Manage, Marketplace and status page are built; www is a 301-only site. status and staging still need their IIS bindings and certificates (they currently fall through to an expired publish.releasefor.com certificate). The split deployment is the contract (static shell + API, CORS, cookie domain — see 17 — Split deployment). Manage has tabs for defaults, publishers, the market, reports, suggested and billing.

This document is the source of truth for public hostnames. Keep it and the deployment configuration in sync.

Host map

HostAudienceResponsibility
bentospaces.comthe personthe webtop at /preview during launch, plus the static /docs and /developer pages; the root is the coming-soon page
www.bentospaces.comthe person301 to the apex; never a second origin
developer.bentospaces.comwidget creatorthe Studio workspace: drafts, test bench, private test installs, versions, submissions, feedback/bugs, warnings and API keys
api.bentospaces.comall clientsthe shared JSON API; the only door to stored data
manage.bentospaces.comoperatorclients, groups, plans, publishers, verification, reports, moderation and takedowns
marketplace.bentospaces.compubliccatalog and widget manifests; the canonical registry.json is served by the API
staging.bentospaces.comoperator/testerspre-release UI; never production customer data
api.staging.bentospaces.comstaging UIstaging API with its own storage and its own session cookie
status.bentospaces.compublicstatic status and incident page

The user experience, developer workspace, management console and marketplace are separate front ends. They are not separate backends.

Staging is the exception that needs its own API origin. A cookie scoped to .bentospaces.com is sent to every subdomain, so a staging UI and a staging API must set their own Auth:CookieDomain=.staging.bentospaces.com and a distinct Auth:CookieName; otherwise a staging sign-in can overwrite the production session.

Boundaries

bentospaces.com ───────────┐
developer.bentospaces.com ─┼──> api.bentospaces.com ──> App_Data
manage.bentospaces.com ────┤
marketplace.bentospaces.com┘

Authentication and CORS

Two sessions, deliberately:

Rules:

Future clients

One API, several clients:

ClientNotes
Webthe current app; Studio is on the developer host
Desktopwebview shell, local cache, keyboard, OS keychain; can use API tokens
Mobiletailored projection, touch, offline queue
TVread-only, remote navigation, large type; display pairing

Per-device settings (appearance, orientation, zoom, dock) stay client-side. Space JSON, layouts, widgets and entitlements come from the API.

Personal API tokens (Authorization: Bearer bt_…) with read/write scopes, optional expiry and revocation are built; manage them from the account view. Desktop, mobile and third-party clients can use them now. See Open work for what remains.

Marketplace and publishers

Superseded ideas

Open decisions

  1. The actual root domain name. Resolved: bentospaces.com.
  2. Whether developer.bentospaces.com also hosts docs/API keys, or those get a separate host.
  3. **Resolved: public docs live at bentospaces.com/docs, the “what is a developer” landing page at
  4. bentospaces.com/developer, and the working Studio at developer.bentospaces.com.**
  5. Whether personal account management stays in the webtop or gets a personal console.
  6. Email: deferred; no mailboxes yet. In-app notifications stay as they are, and VAPID uses
  7. https://bentospaces.com as its contact until an email domain exists.
  8. Single .NET host with host-based routing, or separate deployments per host. **Resolved:
  9. separate deployments.** The webtop and marketplace are static; the API and manage are their
  10. own services. See 17 — Split deployment.