Activate usage meter
Activate usage meter
Path parameters
Response
Response for Create and Get usage event requests
Example response
{
"name": "rides-usage",
"billableName": "Rides Usage",
"description": "Meter to track cab rides",
"type": "COUNTER",
"status": "DRAFT",
"computations": [
{
"matcher": "{\n \"and\": [\n {\"in\": [{\"var\": \"dimension.city\"}, \"chennai\", \"mumbai\"]},\n \"or\": [\n {\">\": [{\"var\": \"attribute.distance\"}, 100]},\n {\"<\": [{\"var\": \"attribute.distance\"}, 20]}\n ]\n ]\n}\n"
}
]
}Changes
Changed in 4 of the 34 revisions of this API.123
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ▲
removed the required property
from the response with the statusresponse-required-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
from the response with the statusresponse-optional-property-removed
This revision also has 74 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲