{ "uuid": "ddebf28a-c26c-40bd-ac36-7915be71f17d", "lastMigration": 29, "name": "Analytics Reporting API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "c4bc0ec7-1507-45cf-a351-23b919467afb", "documentation": "Returns the Analytics data.", "method": "post", "endpoint": "v4/reports:batchGet", "responses": [ { "uuid": "8da8bce1-b2ef-4348-851b-5ee7fc869b56", "body": "{\n \"queryCost\": {{faker 'number.int' max=99999}},\n \"reports\": [\n {\n \"columnHeader\": {\n \"dimensions\": [\n \"\"\n ],\n \"metricHeader\": {\n \"metricHeaderEntries\": [\n {\n \"name\": \"\",\n \"type\": \"{{oneOf (array 'METRIC_TYPE_UNSPECIFIED' 'INTEGER' 'FLOAT' 'CURRENCY' 'PERCENT' 'TIME')}}\"\n }\n ],\n \"pivotHeaders\": [\n {\n \"pivotHeaderEntries\": [\n {\n \"dimensionNames\": [\n \"\"\n ],\n \"dimensionValues\": [\n \"\"\n ],\n \"metric\": {\n \"name\": \"\",\n \"type\": \"{{oneOf (array 'METRIC_TYPE_UNSPECIFIED' 'INTEGER' 'FLOAT' 'CURRENCY' 'PERCENT' 'TIME')}}\"\n }\n }\n ],\n \"totalPivotGroupsCount\": {{faker 'number.int' max=99999}}\n }\n ]\n }\n },\n \"data\": {\n \"dataLastRefreshed\": \"\",\n \"emptyReason\": \"\",\n \"isDataGolden\": {{faker 'datatype.boolean'}},\n \"maximums\": [\n {\n \"pivotValueRegions\": [\n {\n \"values\": [\n \"\"\n ]\n }\n ],\n \"values\": [\n \"\"\n ]\n }\n ],\n \"minimums\": [\n {\n \"pivotValueRegions\": [\n {\n \"values\": [\n \"\"\n ]\n }\n ],\n \"values\": [\n \"\"\n ]\n }\n ],\n \"rowCount\": {{faker 'number.int' max=99999}},\n \"rows\": [\n {\n \"dimensions\": [\n \"\"\n ],\n \"metrics\": [\n {\n \"pivotValueRegions\": [\n {\n \"values\": [\n \"\"\n ]\n }\n ],\n \"values\": [\n \"\"\n ]\n }\n ]\n }\n ],\n \"samplesReadCounts\": [\n \"\"\n ],\n \"samplingSpaceSizes\": [\n \"\"\n ],\n \"totals\": [\n {\n \"pivotValueRegions\": [\n {\n \"values\": [\n \"\"\n ]\n }\n ],\n \"values\": [\n \"\"\n ]\n }\n ]\n },\n \"nextPageToken\": \"\"\n }\n ],\n \"resourceQuotasRemaining\": {\n \"dailyQuotaTokensRemaining\": {{faker 'number.int' max=99999}},\n \"hourlyQuotaTokensRemaining\": {{faker 'number.int' max=99999}}\n }\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": "01b65baa-ff12-448d-8a6f-7e2ca81941e9", "documentation": "Returns User Activity data.", "method": "post", "endpoint": "v4/userActivity:search", "responses": [ { "uuid": "fb0a22e5-9fa3-47a0-8286-ad75c2b7fca7", "body": "{\n \"nextPageToken\": \"\",\n \"sampleRate\": {{faker 'number.float'}},\n \"sessions\": [\n {\n \"activities\": [\n {\n \"activityTime\": \"\",\n \"activityType\": \"{{oneOf (array 'ACTIVITY_TYPE_UNSPECIFIED' 'PAGEVIEW' 'SCREENVIEW' 'GOAL' 'ECOMMERCE' 'EVENT')}}\",\n \"appview\": {\n \"appName\": \"\",\n \"mobileDeviceBranding\": \"\",\n \"mobileDeviceModel\": \"\",\n \"screenName\": \"\"\n },\n \"campaign\": \"\",\n \"channelGrouping\": \"\",\n \"customDimension\": [\n {\n \"index\": {{faker 'number.int' max=99999}},\n \"value\": \"\"\n }\n ],\n \"ecommerce\": {\n \"actionType\": \"{{oneOf (array 'UNKNOWN' 'CLICK' 'DETAILS_VIEW' 'ADD_TO_CART' 'REMOVE_FROM_CART' 'CHECKOUT' 'PAYMENT' 'REFUND' 'CHECKOUT_OPTION')}}\",\n \"ecommerceType\": \"{{oneOf (array 'ECOMMERCE_TYPE_UNSPECIFIED' 'CLASSIC' 'ENHANCED')}}\",\n \"products\": [\n {\n \"itemRevenue\": {{faker 'number.float'}},\n \"productName\": \"\",\n \"productQuantity\": \"\",\n \"productSku\": \"\"\n }\n ],\n \"transaction\": {\n \"transactionId\": \"\",\n \"transactionRevenue\": {{faker 'number.float'}},\n \"transactionShipping\": {{faker 'number.float'}},\n \"transactionTax\": {{faker 'number.float'}}\n }\n },\n \"event\": {\n \"eventAction\": \"\",\n \"eventCategory\": \"\",\n \"eventCount\": \"\",\n \"eventLabel\": \"\",\n \"eventValue\": \"\"\n },\n \"goals\": {\n \"goals\": [\n {\n \"goalCompletionLocation\": \"\",\n \"goalCompletions\": \"\",\n \"goalIndex\": {{faker 'number.int' max=99999}},\n \"goalName\": \"\",\n \"goalPreviousStep1\": \"\",\n \"goalPreviousStep2\": \"\",\n \"goalPreviousStep3\": \"\",\n \"goalValue\": {{faker 'number.float'}}\n }\n ]\n },\n \"hostname\": \"\",\n \"keyword\": \"\",\n \"landingPagePath\": \"\",\n \"medium\": \"\",\n \"pageview\": {\n \"pagePath\": \"\",\n \"pageTitle\": \"\"\n },\n \"source\": \"\"\n }\n ],\n \"dataSource\": \"\",\n \"deviceCategory\": \"\",\n \"platform\": \"\",\n \"sessionDate\": \"\",\n \"sessionId\": \"\"\n }\n ],\n \"totalRows\": {{faker 'number.int' max=99999}}\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": "c4bc0ec7-1507-45cf-a351-23b919467afb" }, { "type": "route", "uuid": "01b65baa-ff12-448d-8a6f-7e2ca81941e9" } ] }