mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-25 02:10:18 -06:00
31 lines
1018 B
JSON
31 lines
1018 B
JSON
{
|
|
"type": "object",
|
|
"required": ["referer", "date", "userAgent", "visitLocation", "potentialBot", "visitedUrl"],
|
|
"properties": {
|
|
"referer": {
|
|
"type": "string",
|
|
"description": "The origin from which the visit was performed"
|
|
},
|
|
"date": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "The date in which the visit was performed"
|
|
},
|
|
"userAgent": {
|
|
"type": "string",
|
|
"description": "The user agent from which the visit was performed"
|
|
},
|
|
"visitLocation": {
|
|
"$ref": "./VisitLocation.json"
|
|
},
|
|
"potentialBot": {
|
|
"type": "boolean",
|
|
"description": "Tells if Shlink thinks this visit comes potentially from a bot or crawler"
|
|
},
|
|
"visitedUrl": {
|
|
"type": ["string", "null"],
|
|
"description": "The originally visited URL that triggered the tracking of this visit"
|
|
}
|
|
}
|
|
}
|