введение в интерфейс программирования веб-приложений с показателями производительности (introduction to the Performance Metrics Web Application Programming Interface)
Примечание (Note)
For the REST APIs, errors generally result in HTTP-level error
responses. Wherever possible, any PMAPI error string will also
be provided in a message along with the response.
All responses will be returned using HTTP 1.1 protocol and with
chunked encoding being used to stream responses that are larger
than a configured maximum size. Compression will be used on
responses whenever the client indicates appropriate support.
An Access-Control-Allow-Origin: * header is added to all REST API
responses.