obs-websocket/docs/partials/requestsHeader.md
2021-03-08 03:56:43 -08:00

705 B

Requests

Requests are sent by the client and require at least the following two fields:

  • request-type String: String name of the request type.
  • message-id String: Client defined identifier for the message, will be echoed in the response.

Once a request is sent, the server will return a JSON response with at least the following fields:

  • message-id String: The client defined identifier specified in the request.
  • status String: Response status, will be one of the following: ok, error
  • error String (Optional): An error message accompanying an error status.

Additional information may be required/returned depending on the request type. See below for more information.