Skip to main content
Koru
Get started
API reference sections

Schema

WorkspaceMigration

A move's consequence, and the token that proves it was shown.

The same contract as [WorkspaceConfirmation], for a different question. The token is bound to this workspace and this destination: a person shown "these four terminals will close, and Notes goes to Home" has not accepted anything about a move to some other profile, and a dialog that could round-trip one token into a different destination would make the acceptance meaningless.

from is here because the dialog names both ends of the move, and reading it off the catalog separately would be a second chance to be out of date in a different way than the operation is.

Type object

Shape

FieldTypeDescription
confirmationrequiredstring
workspacerequiredstring
fromrequiredstring

The profile that owns it now.

torequiredstring

The profile it would move to.

sessionsrequiredarray of WorkspaceSessionConsequence

The terminals the move would close, in the order it would close them. Empty when the workspace is already owned by to - a move that has nothing to do closes nothing.

expires_atrequiredinteger (int64)
Example
{
  "confirmation": "string",
  "workspace": "string",
  "from": "string",
  "to": "string",
  "sessions": [
    {
      "id": "string",
      "display_name": "string",
      "working_directory": "string"
    }
  ],
  "expires_at": 0
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.