mirror of
https://github.com/shlinkio/shlink.git
synced 2025-02-25 18:45:27 -06:00
Documented longUrl param on PATCH short URL endpoint
This commit is contained in:
parent
4e6836c605
commit
d29ebb706e
@ -112,6 +112,10 @@
|
|||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"longUrl": {
|
||||||
|
"description": "The long URL this short URL will redirect to",
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"validSince": {
|
"validSince": {
|
||||||
"description": "The date (in ISO-8601 format) from which this short code will be valid",
|
"description": "The date (in ISO-8601 format) from which this short code will be valid",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
@ -157,6 +161,7 @@
|
|||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
"longUrl",
|
||||||
"validSince",
|
"validSince",
|
||||||
"validUntil",
|
"validUntil",
|
||||||
"maxVisits"
|
"maxVisits"
|
||||||
|
Loading…
Reference in New Issue
Block a user