latestOpenAPI 3.1.02026-08-223321,1001.6 MB
2134ebffd1ef
workers
Deploy Worker
Explicitly deploy a worker.
The body is discriminated on platform: a Slack deploy names the channel to bind to, 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.
post/workers
Request body
Response
Successful Response