{ "uuid": "bc891628-8768-4420-b383-610a814f1268", "lastMigration": 29, "name": "My Business Business Calls API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "32363289-39b1-41d0-9fae-df9f890fc76c", "documentation": "Returns the Business calls settings resource for the given location.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "a2965f00-fa4a-463b-9339-f43abb83d24d", "body": "{\n \"callsState\": \"{{oneOf (array 'CALLS_STATE_UNSPECIFIED' 'ENABLED' 'DISABLED')}}\",\n \"consentTime\": \"\",\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "913a7790-47ed-4e1d-b1fd-d7debacb7f40", "documentation": "Updates the Business call settings for the specified location.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "e64c00c8-6db4-480a-ad14-ff272c16265e", "body": "{\n \"callsState\": \"{{oneOf (array 'CALLS_STATE_UNSPECIFIED' 'ENABLED' 'DISABLED')}}\",\n \"consentTime\": \"\",\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fc350a97-0214-4da4-835c-ebf30addaed9", "documentation": "Returns insights for Business calls for a location.", "method": "get", "endpoint": "v1/:parent/businesscallsinsights", "responses": [ { "uuid": "db60779d-05f7-4580-ba00-ed42052cc949", "body": "{\n \"businessCallsInsights\": [\n {\n \"aggregateMetrics\": {\n \"answeredCallsCount\": {{faker 'number.int' max=99999}},\n \"endDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"hourlyMetrics\": [\n {\n \"hour\": {{faker 'number.int' max=99999}},\n \"missedCallsCount\": {{faker 'number.int' max=99999}}\n }\n ],\n \"missedCallsCount\": {{faker 'number.int' max=99999}},\n \"startDate\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"weekdayMetrics\": [\n {\n \"day\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\",\n \"missedCallsCount\": {{faker 'number.int' max=99999}}\n }\n ]\n },\n \"metricType\": \"{{oneOf (array 'METRIC_TYPE_UNSPECIFIED' 'AGGREGATE_COUNT')}}\",\n \"name\": \"\"\n }\n ],\n \"nextPageToken\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "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": "32363289-39b1-41d0-9fae-df9f890fc76c" }, { "type": "route", "uuid": "913a7790-47ed-4e1d-b1fd-d7debacb7f40" }, { "type": "route", "uuid": "fc350a97-0214-4da4-835c-ebf30addaed9" } ] }