JSON requests

Wrap all requests and responses in an envelope object. All envelopes can contain a list of requests or responses. A client submits a list of requests.

Request example

{

  "minify" : "false",
  "requests" :
       [
           {},
           {}
       ]
}

Request elements

Request element Value Description
minify (optional) true or false (default) Defines whether or not the response should be minified.
requests list of messages to process The server responds with a list of responses.

Response example

{

   "responses" :
       [
           {},
           {}
       ]
}