2021-10-02 03:02:43 -05:00
{
"type" : "object" ,
"properties" : {
"longUrl" : {
"description" : "The long URL this short URL will redirect to" ,
"type" : "string"
} ,
"validSince" : {
"description" : "The date (in ISO-8601 format) from which this short code will be valid" ,
2023-07-01 10:04:24 -05:00
"type" : [ "string" , "null" ]
2021-10-02 03:02:43 -05:00
} ,
"validUntil" : {
"description" : "The date (in ISO-8601 format) until which this short code will be valid" ,
2023-07-01 10:04:24 -05:00
"type" : [ "string" , "null" ]
2021-10-02 03:02:43 -05:00
} ,
"maxVisits" : {
"description" : "The maximum number of allowed visits for this short code" ,
2023-07-01 10:04:24 -05:00
"type" : [ "number" , "null" ]
2021-10-02 03:02:43 -05:00
} ,
"tags" : {
"type" : "array" ,
"items" : {
"type" : "string"
} ,
"description" : "The list of tags to set to the short URL."
} ,
"title" : {
2023-07-01 10:04:24 -05:00
"type" : [ "string" , "null" ] ,
"description" : "A descriptive title of the short URL."
2021-10-02 03:02:43 -05:00
} ,
"crawlable" : {
"type" : "boolean" ,
"description" : "Tells if this URL will be included as 'Allow' in Shlink's robots.txt."
} ,
"forwardQuery" : {
"type" : "boolean" ,
"description" : "Tells if the query params should be forwarded from the short URL to the long one, as explained in [the docs](https://shlink.io/documentation/some-features/#query-params-forwarding)."
}
}
}