New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routes #1
Comments
Ok these are the routes we will make. This will need converting to swagger documentation and add payloads to the post/update routes etc. PRIVATE - Create user, update, patch, delete PRIVATE - Create fiddle, GET fiddles for user PRIVATE - get single fiddle, update delete PUBLIC - Get recent fiddles PUBLIC - Get most starred PRIVATE - Toggle Starring a fiddle - jwt auth (this is how we get the user that has starred the fiddle) PRIVATE - Fork a fiddle PRIVATE - Tag a fiddle PRIVATE - Download a fiddle to zip PRIVATE - Screenshot a fiddle PRIVATE - Get code-blocks screenshot |
Ok I've finally added swagger docs so hopefully we can all get cracking on it! 💯 |
This is the complete list of API routes that we are aiming to build. Maybe we can plan all this out with swagger and then start to build it from there. I'm sure some of this will change but this is basically what we are aiming for. It's so we can use this inside the main ESFiddle app
We need routes for the following. Not sure on the names at the minute - make suggestions!
All of these will be routed with JWT authentication or possibly 0auth because we need account based logins (with Github, Google, Twitter etc)
The text was updated successfully, but these errors were encountered: