{ "uuid": "d4c08b83-d1a2-439c-a5f6-a8d557219dad", "lastMigration": 29, "name": "Reports API", "endpointPrefix": "t/vbc.prod/reports", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "ede8d12d-224f-4ba0-a1be-3fcd03acc8e7", "documentation": "Retrieve call logs for your account", "method": "get", "endpoint": "accounts/:account_id/call-logs", "responses": [ { "uuid": "53125c40-ed3b-4d89-88a0-24c327c542f7", "body": "{\n \"_embedded\": {\n \"call_logs\": [\n {\n \"charge\": {{faker 'number.int' max=99999}},\n \"destination_device_name\": \"Smith\",\n \"destination_extension\": 1000,\n \"destination_sip_id\": \"VH1111111\",\n \"destination_user\": \"JSmith\",\n \"destination_user_full_name\": \"John Smith\",\n \"direction\": \"Inbound\",\n \"end\": \"2019-01-01 00:00:00\",\n \"from\": 17325550100,\n \"id\": \"f27b937d-6dde-441a-9595-006e7302eac1\",\n \"in_network\": true,\n \"international\": {{faker 'datatype.boolean'}},\n \"length\": 60,\n \"rate\": {{faker 'number.int' max=99999}},\n \"recorded\": true,\n \"result\": \"Answered\",\n \"source_device_name\": \"Smith\",\n \"source_extension\": 1000,\n \"source_sip_id\": \"VH1111111\",\n \"source_user\": \"JSmith\",\n \"source_user_full_name\": \"John Smith\",\n \"start\": \"2019-01-01 00:00:00\",\n \"to\": 17325550100\n }\n ]\n },\n \"_links\": {\n \"first\": {\n \"href\": \"\"\n },\n \"next\": {\n \"href\": \"\"\n },\n \"prev\": {\n \"href\": \"\"\n },\n \"self\": {\n \"href\": \"\"\n }\n },\n \"page\": 1,\n \"page_size\": 10,\n \"total_items\": 100,\n \"total_page\": 10\n}", "latency": 0, "statusCode": 200, "label": "Success", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "ef06cabc-cf44-45e6-9bef-42034a998e17", "body": "{\n \"instance\": \"\",\n \"invalid_parameters\": [\n {\n \"name\": \"\",\n \"reason\": \"\"\n }\n ],\n \"status\": {{faker 'number.int' max=99999}},\n \"title\": \"\"\n}", "latency": 0, "statusCode": 400, "label": "Invalid parameters given", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "ede8d12d-224f-4ba0-a1be-3fcd03acc8e7" } ] }