Updated short URL API docs including new visitsSummary

This commit is contained in:
Alejandro Celaya
2022-12-16 13:34:34 +01:00
parent 1f66ec2af5
commit 09078e4c6a
5 changed files with 59 additions and 8 deletions

View File

@@ -6,6 +6,7 @@
"longUrl",
"dateCreated",
"visitsCount",
"visitsSummary",
"tags",
"meta",
"domain",
@@ -32,8 +33,12 @@
"description": "The date in which the short URL was created in ISO format."
},
"visitsCount": {
"deprecated": true,
"type": "integer",
"description": "The number of visits that this short URL has received."
"description": "**[DEPRECATED]** Use `visitsSummary.total` instead."
},
"visitsSummary": {
"$ref": "./ShortUrlVisitsSummary.json"
},
"tags": {
"type": "array",