wp-dope-api
wp-dope-api copied to clipboard
This is an example of an API implementation that could be used in WordPress
Generate Public / Private Key and use an HMAC routine to create signatures, etc which will be passed with requests for authentication.
I think there needs to be a place in the admin to do the following: 1. Choose the api slug 2. Select the authentication method ('basic' or 'shared-key' for now)...
I'm thinking this will have the following routes to start with: GET /users GET /user/:id GET /user_by/email/:email GET /user_by/username/:username POST /user POST /user/:id DELETE /user/:id
I'm thinking this controller will start with the following routes: GET /comments GET /comment/:id GET /post/:id/comments GET /user/:id/comments POST /comment POST /comment/:id DELETE /comment/:id