Get the top 30 pages.
GET /domains/:domainId/pages?sorting=top
GET /domains/:domainId/pages?sorting=top&range=daily
GET /domains/:domainId/pages?sorting=top&range=weekly
GET /domains/:domainId/pages?sorting=top&range=monthly
GET /domains/:domainId/pages?sorting=top&range=allTime
Name | Example |
---|---|
Authorization | Authorization: Bearer :tokenId |
Status: 200 OK
{
"type": "pages",
"data": [
{
"type": "page",
"data": {
"id": "https://example.com/",
"count": 1
}
}
]
}
Get the 30 most recent page views.
GET /domains/:domainId/pages?sorting=recent
Name | Example |
---|---|
Authorization | Authorization: Bearer :tokenId |
Status: 200 OK
{
"type": "pages",
"data": [
{
"type": "page",
"data": {
"id": "https://example.com/",
"created": "2019-09-19T15:54:00.020Z"
}
}
]
}