Is your feature request related to a problem? Please describe.
This is not an issue at all, but it will be good to just curl to edit the link.
My current use-case: I want to redirect with a permanent slug, say "current-preset" to the URL on S3 (which could be changed when I update the final file).
Describe the solution you'd likecurl -X PUT -d '{"longlink": "https://newlink.com/file.json}' chhoto-url:4567/api/edit/<shortlink>
Or something like that.
Describe alternatives you've considered
It's still possible to manually edit rows in the database.
Is your feature request related to a problem? Please describe. This is not an issue at all, but it will be good to just curl to edit the link. My current use-case: I want to redirect with a permanent slug, say "current-preset" to the URL on S3 (which could be changed when I update the final file).
Describe the solution you'd like
curl -X PUT -d '{"longlink": "https://newlink.com/file.json}' chhoto-url:4567/api/edit/<shortlink>
Or something like that.
Describe alternatives you've considered It's still possible to manually edit rows in the database.