v1

latestOpenAPI 3.0.02026-08-06165119238.1 KB
Meter

Create a meter

Creates or updates a meter for specified id.

post/v3/meters/{id}

Path parameters

idstring required

Unique Meter identifier

Request body

labelstring
descriptionstring
unitstring
limitnumber
cyclestring
periodstring
timezonestring
auto_assignstring

Example request

{
  "label": "Test meter",
  "description": "This is a meter",
  "unit": "views",
  "limit": 5,
  "cycle": "calendar",
  "period": "monthly",
  "timezone": "+0:00",
  "auto_assign": "none"
}

Response

Created successfully