Skip to content

Creating a session answers the same row the list publishes

A client can insert a creation response straight into its list without re-fetching, which is what makes one shared row shape load-bearing rather than tidy.

The rule

Normative: this is the rule
  1. Creating a session MUST answer 201.
  2. Reading a session MUST answer 200.
  3. Both MUST answer under {success, data}, and in both cases data MUST be the same row the session list publishes in its data[].
  4. That row MUST carry id, workflowId, name, status, createdAt, updatedAt, metadata, executions and owner.
  5. owner MUST carry id and name.
  6. createdAt and updatedAt MUST be ISO 8601 strings, not numeric timestamps.
  7. executions MUST be an empty array, not null, for a session that has never run.

Why

Recorded under OPEN-22, OPEN-23, OPEN-25.

Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · PLAY-2 · changed in spec 1.0