mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-24 16:10:38 -06:00
49 lines
1.8 KiB
JSON
49 lines
1.8 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"longUrl": {
|
|
"description": "The long URL this short URL will redirect to",
|
|
"type": "string"
|
|
},
|
|
"deviceLongUrls": {
|
|
"$ref": "./DeviceLongUrlsEdit.json"
|
|
},
|
|
"validSince": {
|
|
"description": "The date (in ISO-8601 format) from which this short code will be valid",
|
|
"type": ["string", "null"]
|
|
},
|
|
"validUntil": {
|
|
"description": "The date (in ISO-8601 format) until which this short code will be valid",
|
|
"type": ["string", "null"]
|
|
},
|
|
"maxVisits": {
|
|
"description": "The maximum number of allowed visits for this short code",
|
|
"type": ["number", "null"]
|
|
},
|
|
"validateUrl": {
|
|
"deprecated": true,
|
|
"description": "**[DEPRECATED]** Tells if the long URL should or should not be validated as a reachable URL. Defaults to `false`",
|
|
"type": "boolean"
|
|
},
|
|
"tags": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The list of tags to set to the short URL."
|
|
},
|
|
"title": {
|
|
"type": ["string", "null"],
|
|
"description": "A descriptive title of the short URL."
|
|
},
|
|
"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)."
|
|
}
|
|
}
|
|
}
|