mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-25 14:08:30 +03:00
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"shortCode": {
|
|
"type": "string",
|
|
"description": "The short code for this short URL."
|
|
},
|
|
"shortUrl": {
|
|
"type": "string",
|
|
"description": "The short URL."
|
|
},
|
|
"longUrl": {
|
|
"type": "string",
|
|
"description": "The original long URL."
|
|
},
|
|
"dateCreated": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"description": "The date in which the short URL was created in ISO format."
|
|
},
|
|
"visitsCount": {
|
|
"type": "integer",
|
|
"description": "The number of visits that this short URL has recieved."
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "A list of tags applied to this short URL"
|
|
},
|
|
"meta": {
|
|
"$ref": "./ShortUrlMeta.json"
|
|
},
|
|
"domain": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"description": "The domain in which the short URL was created. Null if it belongs to default domain."
|
|
},
|
|
"title": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"description": "A descriptive title of the short URL."
|
|
}
|
|
}
|
|
}
|