2016-10-23 00:44:14 +03:00
{
"type" : "object" ,
2021-10-02 11:31:23 +03:00
"required" : [
"shortCode" ,
"shortUrl" ,
"longUrl" ,
"dateCreated" ,
"visitsCount" ,
"tags" ,
"meta" ,
"domain" ,
"title" ,
"crawlable" ,
"forwardQuery"
] ,
2016-10-23 00:44:14 +03:00
"properties" : {
"shortCode" : {
"type" : "string" ,
"description" : "The short code for this short URL."
} ,
2018-08-13 17:17:43 +03:00
"shortUrl" : {
"type" : "string" ,
"description" : "The short URL."
} ,
"longUrl" : {
2016-10-23 00:44:14 +03:00
"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" ,
2022-05-31 05:38:37 +03:00
"description" : "The number of visits that this short URL has received."
2016-10-23 00:44:14 +03:00
} ,
"tags" : {
"type" : "array" ,
"items" : {
"type" : "string"
} ,
"description" : "A list of tags applied to this short URL"
2018-08-13 17:17:43 +03:00
} ,
2019-07-08 19:42:53 +03:00
"meta" : {
"$ref" : "./ShortUrlMeta.json"
2020-02-02 10:57:04 +03:00
} ,
"domain" : {
"type" : "string" ,
2021-02-02 22:51:28 +03:00
"nullable" : true ,
2020-02-02 10:57:04 +03:00
"description" : "The domain in which the short URL was created. Null if it belongs to default domain."
2021-02-02 22:51:28 +03:00
} ,
"title" : {
"type" : "string" ,
"nullable" : true ,
"description" : "A descriptive title of the short URL."
2021-05-22 08:32:47 +03:00
} ,
"crawlable" : {
"type" : "boolean" ,
"description" : "Tells if this URL will be included as 'Allow' in Shlink's robots.txt."
2021-10-02 11:31:23 +03:00
} ,
"forwardQuery" : {
"type" : "boolean" ,
"description" : "Tells if this URL will forward the query params to the long URL when visited, as explained in [the docs](https://shlink.io/documentation/some-features/#query-params-forwarding)."
2016-10-23 00:44:14 +03:00
}
}
}