General description of Analytics API
API is a set of functions that help to understand how to interact with a program. It includes:
Operations that can be performed
Data that is inputted
Data that is outputted (content or error message)
The VSaaS product API is organized based on REST.
REST API is responsible for almost all interactions between server and client applications. The server application provides access to its data to the client application through a specific URL.
The Analytics product API has predictable URLs that are resource-oriented, returns responses in JSON format, and uses standard HTTP response codes.
All requests must have the header: Content-Type: application/json
This is necessary for the backend to understand whether the client supports JSON responses.