This repository has been archived by the owner on May 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
no API support for full CRUD #28
Labels
Comments
I think deleting is already supported with #10 I haven't tested it though EDIT: Nevermind, you mean fully deleting, not copying a deletion link It would be a nice thing to have for say ShareX where you could have a context menu option for an upload with "Delete from Server and Locally" instead of having to go to the main site and delete it as well as remove the local file |
That should be documented then. |
Example API usage: # delete
curl -X DELETE -F key="$key" https://u.pste.pw/api
# list
curl -X GET -F key="$key" https://u.pste.pw/api
# edit
curl -X PUT -F key="$key" https://u.pste.pw/api Although the REST verbs could be replaced with specific API endpoints. Probably |
tbh I'm considering doing a full rewrite with Django where the API will be a first class citizen. Maybe even a Vue SPA for the frontend. |
I love the first-class API and SPA ideas. |
If only I knew JavaScript. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ideally, I'd hope the API would allow the user to
currently only supports the first
The text was updated successfully, but these errors were encountered: