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
- Creating a session MUST answer
201. - Reading a session MUST answer
200. - Both MUST answer under
{success, data}, and in both casesdataMUST be the same row the session list publishes in itsdata[]. - That row MUST carry
id,workflowId,name,status,createdAt,updatedAt,metadata,executionsandowner. ownerMUST carryidandname.createdAtandupdatedAtMUST be ISO 8601 strings, not numeric timestamps.executionsMUST be an empty array, not null, for a session that has never run.
Why
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