Api reference
Pause the affected chats once, update harnesses, then restart or continue the chats
POST
/v1/updates/runAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
harnessIds*array<string>
serverChannel?|null
holdForAppUpdate?boolean|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/updates/run" \ -H "Content-Type: application/json" \ -d '{ "harnessIds": [ "string" ] }'{ "run": { "state": "idle", "harnessIds": [ "string" ], "currentHarnessId": "string", "pausing": 0, "startedAt": "string" }, "server": { "accepted": true, "targetVersion": "string", "targetBuildNumber": 0, "draining": true }}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}