domain

Most popular links in time interval

Returns link paths, ordered by popularity (descending)

get/domain/{domainId}/paths

Request

  • Base URL
    https://statistics.short.io/statistics
  • URL
    https://statistics.short.io/statistics/domain/{domainId}/paths
  • Auth
    API key in header Authorization

Path parameters

domainIdinteger required

Domain identifier

Query parameters

period'custom' | 'today' | 'yesterday' | 'total' | 'week' | 'month' | 'lastmonth' | 'last7' | 'last30'

One of predefined time intervals. Select custom to provide custom dates

startDatestring date

Returns statistics for clicks after given date. Required if period is custom

endDatestring date

Returns statistics for clicks before given date. Required if period is custom

tzstring

Timezone name

Response

last click list

scorenumber required

Number of clicks

pathstring required

Link path part

Example response

[
  {
    "score": 1234,
    "path": "/abc123"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.