createHostedQuickstartOperation
POST/apis/cra.diagrid.io/v1beta1/projects/:ProjectId/hosted-quickstarts/:HostedQuickstartId/operations
Run one step of the session's contract. The owner only.
The request must carry the session statusVersion the caller was acting on. That is what makes two tabs, or a retry racing a runner report, resolve safely rather than both proceeding from different pictures of the same session.
Idempotent on the operation name: replaying a name already recorded returns the existing operation rather than starting a second run of the step. A name belonging to a DIFFERENT session in the same project is refused instead, since a replay is only a replay within one session.
Request
Responses
- 201
- 403
- 404
- 409
- 422
- default
Accepted; the step is in flight.
Not the session's owner.
No such session.
observedStatusVersion is stale, or the operation name is taken by another session. The stale case carries the current session so the caller can re-render and retry.
The step id is not in the session's pinned contract (reason: reload_required). This client is behind the control plane, so a retry with a fresh status version cannot help — only a reload can.
Unexpected error.