Control

post

Out-of-band control messages for the connect protocol. Blocking request-response control messages need to be handled out-of-band to resolve the possibility of dedlocks in the client sequence.

Authorizations
Body
packstring[]Optional

base64 encoded connect protobuf Pack processed as control messages. As an inline message, these would be sent to the control id.

Responses
200Success
application/json
post
POST /connect/control HTTP/1.1
Host: api.bringyour.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "pack": [
    "text"
  ]
}
200Success
{
  "pack": [
    "text"
  ],
  "error": {
    "message": "text"
  }
}

Was this helpful?