POST /stats/routines/created_per_day
Returns dates as keys with count of routines created on the date
Body
-
from_days_ago integer
-
time_zone string
POST /stats/routines/created_per_day
curl \
-X POST https://api.cosmily.com/api/v1/stats/routines/created_per_day \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"from_days_ago":42,"time_zone":"string"}'
Request example
{
"from_days_ago": 42,
"time_zone": "string"
}
Request examples
{
"from_days_ago": 42,
"time_zone": "string"
}
Response examples (200)
{
"05/20": 42,
"05/21": 42,
"05/22": 42
}
Response examples (200)
{
"05/20": 42,
"05/21": 42,
"05/22": 42
}