diff options
author | Pouria Ezzati <ezzati.upt@gmail.com> | 2018-05-19 15:26:15 +0300 |
---|---|---|
committer | Pouria Ezzati <ezzati.upt@gmail.com> | 2018-05-19 15:28:45 +0300 |
commit | 79dc27832a3a81727ba838cc0867edf4f2f92307 (patch) | |
tree | e38a611a9d98308270eb884035cc5dc6c1f1a569 /README.md | |
parent | a4d884896aad0fc9a33d77634e80d958a04fcb07 (diff) |
Add "reuse" option to the API
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -93,6 +93,9 @@ POST /api/url/submit ``` Body: * `target`: Original long URL to be shortened. + * `customurl` (optional, users only): Set a custom URL. + * `passowrd` (optional, users only): Set a password. + * `reuse` (optional, users only): If a URL with the specified target exists returns it, otherwise will send a new shortened URL. Returns: URL object |