Prepend path prefix to generated short code or custom slug

This commit is contained in:
Alejandro Celaya
2024-02-21 18:06:06 +01:00
parent 467dbdd183
commit f30c74b987
3 changed files with 12 additions and 3 deletions

View File

@@ -303,6 +303,10 @@
"description": "A unique custom slug to be used instead of the generated short code",
"type": "string"
},
"pathPrefix": {
"description": "A prefix that will be prepended to provided custom slug or auto-generated short code",
"type": "string"
},
"findIfExists": {
"description": "Will force existing matching URL to be returned if found, instead of creating a new one",
"type": "boolean"
@@ -382,6 +386,7 @@
"validSince",
"validUntil",
"customSlug",
"pathPrefix",
"maxVisits",
"findIfExists",
"domain"