Account

Get your account, teams, and referenced Spaces

Returns who is signed in and the teams they can act for. Use it for account identity or login information, or when a task needs the caller's teams. Optional teamRef and spaceRef resolve a team or Space in the same read. A Space result includes serving status. A failed reference keeps its error without removing other results. The request fails only if Spacefast cannot identify the caller. Read a referenced value only when its status is resolved. It does not return passwords or tokens.

get/v1/bootstrap

Request

  • Base URL: https://api.spacefast.com
  • URL: https://api.spacefast.com/v1/bootstrap
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Query parameters

teamRefstring

Team id or slug to resolve. It also scopes slug resolution for spaceRef and selects the team on the support boot payload. Present but blank is a request error, never not_requested.

spaceRefstring

Space reference: a spc_ id, a hostname or URL, or a slug. Slugs resolve only within spaces you can already reach, so an unclaimed space is reachable by id or hostname only. Present but blank is a request error, never not_requested.

Response

Response for status 200

$schemastring uri

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

Changes

No recorded changes to this operation across all 1 revision of this API.