mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 17:12:35 +03:00
53 lines
1.6 KiB
JSON
53 lines
1.6 KiB
JSON
{
|
|
"get": {
|
|
"operationId": "getGlobalVisits",
|
|
"tags": [
|
|
"Visits"
|
|
],
|
|
"summary": "Get general visits stats",
|
|
"description": "Get general visits stats not linked to one specific short URL.",
|
|
"parameters": [
|
|
{
|
|
"$ref": "../parameters/version.json"
|
|
}
|
|
],
|
|
"security": [
|
|
{
|
|
"ApiKey": []
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Visits stats.",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"visits": {
|
|
"$ref": "../definitions/VisitStats.json"
|
|
}
|
|
}
|
|
},
|
|
"example": {
|
|
"visits": {
|
|
"visitsCount": 1569874,
|
|
"orphanVisitsCount": 71345
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Unexpected error.",
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "../definitions/Error.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|