{ "uuid": "bc891628-8768-4420-b383-610a814f1268", "lastMigration": 24, "name": "My Business Business Calls API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "0.0.0.0", "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 } ], "enabled": true, "responseMode": null }, { "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 } ], "enabled": true, "responseMode": null }, { "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 'datatype.number'}},\n \"endDate\": {\n \"day\": {{faker 'datatype.number'}},\n \"month\": {{faker 'datatype.number'}},\n \"year\": {{faker 'datatype.number'}}\n },\n \"hourlyMetrics\": [\n {\n \"hour\": {{faker 'datatype.number'}},\n \"missedCallsCount\": {{faker 'datatype.number'}}\n }\n ],\n \"missedCallsCount\": {{faker 'datatype.number'}},\n \"startDate\": {\n \"day\": {{faker 'datatype.number'}},\n \"month\": {{faker 'datatype.number'}},\n \"year\": {{faker 'datatype.number'}}\n },\n \"weekdayMetrics\": [\n {\n \"day\": \"{{oneOf (array 'DAY_OF_WEEK_UNSPECIFIED' 'MONDAY' 'TUESDAY' 'WEDNESDAY' 'THURSDAY' 'FRIDAY' 'SATURDAY' 'SUNDAY')}}\",\n \"missedCallsCount\": {{faker 'datatype.number'}}\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 } ], "enabled": true, "responseMode": null } ], "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": [] }