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.
Example of request:
1
GET http://<host:port>/api/v2/users/<user-id>.json
Copied!
Example of response:
1
{
2
"user": {
3
"user_id": "546340bf-7b47-11e4-85a4-e03f497dbdff",
4
"name": "John Smith",
5
"group_id": "256740bf-7b47-11e4-85a4-e03f497dbd33"
6
}
7
}
Copied!
Copy link