"description":"Get the list of visits to invalid short URLs, the base URL or any other 404.",
"parameters":[
{
"$ref":"../parameters/version.json"
},
{
"name":"startDate",
"in":"query",
"description":"The date (in ISO-8601 format) from which we want to get visits.",
"required":false,
"schema":{
"type":"string"
}
},
{
"name":"endDate",
"in":"query",
"description":"The date (in ISO-8601 format) until which we want to get visits.",
"required":false,
"schema":{
"type":"string"
}
},
{
"name":"page",
"in":"query",
"description":"The page to display. Defaults to 1",
"required":false,
"schema":{
"type":"number"
}
},
{
"name":"itemsPerPage",
"in":"query",
"description":"The amount of items to return on every page. Defaults to all the items",
"required":false,
"schema":{
"type":"number"
}
}
],
"security":[
{
"ApiKey":[]
}
],
"responses":{
"200":{
"description":"List of visits.",
"content":{
"application/json":{
"schema":{
"type":"object",
"properties":{
"visits":{
"type":"object",
"properties":{
"data":{
"type":"array",
"items":{
"$ref":"../definitions/OrphanVisit.json"
}
},
"pagination":{
"$ref":"../definitions/Pagination.json"
}
}
}
}
}
}
},
"examples":{
"application/json":{
"visits":{
"data":[
{
"referer":"https://twitter.com",
"date":"2015-08-20T05:05:03+04:00",
"userAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0",