{ "uuid": "cd1f3658-b427-4f52-ae33-841b8dd04b7f", "lastMigration": 29, "name": "ApiManagementClient", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "15f49c0c-17f2-446e-9279-cf217d2d5a6b", "documentation": "Lists a collection of current quota counter periods associated with the counter-key configured in the policy on the specified service instance. The api does not support paging yet.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ApiManagement/service/:serviceName/quotas/:quotaCounterKey", "responses": [ { "uuid": "5495e50d-d3d6-4f37-a39b-aedf3d53ecef", "body": "{\n \"count\": {{faker 'number.int' max=99999}},\n \"nextLink\": \"\",\n \"value\": [\n {\n \"counterKey\": \"\",\n \"periodEndTime\": \"{{faker 'date.recent' 365}}\",\n \"periodKey\": \"\",\n \"periodStartTime\": \"{{faker 'date.recent' 365}}\",\n \"value\": {\n \"callsCount\": {{faker 'number.int' max=99999}},\n \"kbTransferred\": {{faker 'number.float'}}\n }\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Lists a collection of the quota counter values.", "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": "c774a144-ef17-45db-96f0-80365eadc9e3", "body": "{\n \"error\": {\n \"code\": \"\",\n \"details\": [\n {\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n ],\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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" }, { "uuid": "9c00e607-4fb3-4955-b3f1-03f853dcedfb", "documentation": "Updates all the quota counter values specified with the existing quota counter key to a value in the specified service instance. This should be used for reset of the quota counter values.", "method": "patch", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ApiManagement/service/:serviceName/quotas/:quotaCounterKey", "responses": [ { "uuid": "1b0004c1-64c8-42c2-ae4d-9c892e1d257d", "body": "", "latency": 0, "statusCode": 204, "label": "Quota counter period was successfully updated.", "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": "97ea1e68-dcdf-448f-b489-03891fb3b4f2", "body": "{\n \"error\": {\n \"code\": \"\",\n \"details\": [\n {\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n ],\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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" }, { "uuid": "46bf9c49-5743-4d13-b7a2-ebb46203efde", "documentation": "Gets the value of the quota counter associated with the counter-key in the policy for the specific period in service instance.", "method": "get", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ApiManagement/service/:serviceName/quotas/:quotaCounterKey/periods/:quotaPeriodKey", "responses": [ { "uuid": "07a6b419-c755-4fcb-9937-5abda0198f4b", "body": "{\n \"counterKey\": \"\",\n \"periodEndTime\": \"{{faker 'date.recent' 365}}\",\n \"periodKey\": \"\",\n \"periodStartTime\": \"{{faker 'date.recent' 365}}\",\n \"value\": {\n \"callsCount\": {{faker 'number.int' max=99999}},\n \"kbTransferred\": {{faker 'number.float'}}\n }\n}", "latency": 0, "statusCode": 200, "label": "The response body contains the Quota counter details for the specified period.", "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": "68b5c37a-691a-401c-8558-0d66ac71ac23", "body": "{\n \"error\": {\n \"code\": \"\",\n \"details\": [\n {\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n ],\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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" }, { "uuid": "69361be1-5622-493a-b457-baf6f0239de5", "documentation": "Updates an existing quota counter value in the specified service instance.", "method": "patch", "endpoint": "subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ApiManagement/service/:serviceName/quotas/:quotaCounterKey/periods/:quotaPeriodKey", "responses": [ { "uuid": "6602554b-8418-40eb-8993-316dc70bef2e", "body": "", "latency": 0, "statusCode": 204, "label": "The quota counter value was successfully updated.", "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": "19a9c037-714e-4677-b5b7-e48f2cc13046", "body": "{\n \"error\": {\n \"code\": \"\",\n \"details\": [\n {\n \"code\": \"\",\n \"message\": \"\",\n \"target\": \"\"\n }\n ],\n \"message\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "Error response describing why the operation failed.", "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": "15f49c0c-17f2-446e-9279-cf217d2d5a6b" }, { "type": "route", "uuid": "9c00e607-4fb3-4955-b3f1-03f853dcedfb" }, { "type": "route", "uuid": "46bf9c49-5743-4d13-b7a2-ebb46203efde" }, { "type": "route", "uuid": "69361be1-5622-493a-b457-baf6f0239de5" } ] }