Skip to content

Architecture

MiaRec REST API is a single point of entry to all resources of MiaRec platform. Client application communicates to MiaRec API to retrieve resources (for example, calls or users) and create/update/delete resources (for example, create new user, delete call).

Client application sends HTTP requests to MiaRec API. HTTP response is sent back to the client with data in JSON format.

Architecture

Example of request:

GET http://<host:port>/api/v2/users/<user-id>.json

Example of response:

{
  "user": {
    "user_id": "546340bf-7b47-11e4-85a4-e03f497dbdff",
    "name": "John Smith",
    "group_id": "256740bf-7b47-11e4-85a4-e03f497dbd33"
  }
}