Deploy Worker
Changed onExplicitly deploy a worker.
The body is discriminated on platform: a Slack deploy names the channel to bind to, a Teams deploy names the channel plus a display-name override, and a web deploy names the worker instead, because web mints its own handle and has no channel to pick. Slack is the default variant, so a body written before platform existed still parses.
State-changing, so it goes through the standard AuthorizedUserDep chain (authenticated + CSRF-validated). The organization comes from the authenticated user, never the request body, so a caller cannot deploy into another org's channel — and the deploying identity likewise comes from the session, so the announcement can't be attributed to someone else.
Request
- Base URLhttps://api.traversal.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.traversal.com/workers
- Authnone declared
Request body
Response
Successful Response
Changes
- info
added to the request body
anyOflist
- info
- info
added the required property
to the response with the status
- info