Get the unique amount of visits per day for the last 14 days. Days without entries are omitted. A user is unique when he visits a site for the first time a day.
GET /domains/:domainId/views?type=unique
| Name | Example |
|---|---|
| Authorization | Authorization: Bearer :tokenId |
Status: 200 OK
{
"type": "views",
"data": [
{
"type": "view",
"data": {
"id": {
"day": 3,
"month": 10,
"year": 2016
},
"count": 1
}
}
]
}Get the total amount of visits per day for the last 14 days. Days without entries are omitted.
GET /domains/:domainId/views?type=total
| Name | Example |
|---|---|
| Authorization | Authorization: Bearer :tokenId |
Status: 200 OK
{
"type": "views",
"data": [
{
"type": "view",
"data": {
"id": {
"day": 3,
"month": 10,
"year": 2016
},
"count": 1
}
}
]
}