API

VERB PATH DESCRIPTION AUTH OWNER
POST /api/token?username=:username&password=:password Get API Token for use with API
GET /api/profile Get your tokened user
GET /api/users/:user_id/questions Get questions asked by specified user
GET /api/users/:user_id/questions/:id Get specific question from specified user
GET /api/users Get all users
POST /api/users Create a new user
GET /api/users/:id Get specified user
PATCH /api/users/:id Update Password
DELETE /api/users/:id Delete your user
PATCH /api/questions/:question_id/answers/:answer_id/accept Accept the specified answer for a specified question which you own
PATCH /api/questions/:question_id/answers/:answer_id/reject Reject the specified answer for a specified question which you own
GET /api/questions/:question_id/answers Get list of answers for specifed question
POST /api/questions/:question_id/answers Submit answer to specified question
GET /api/questions/:question_id/answers/:id Get specific answer to specified question
PATCH /api/questions/:question_id/answers/:id Edit answer which you own
PUT /api/questions/:question_id/answers/:id Edit answer which you own
DELETE /api/questions/:question_id/answers/:id Delete answer which you own
POST /api/questions/:question_id/answers/:answer_id/upvote Upvote an answer
POST /api/questions/:question_id/answers/:answer_id/downvote Downvote an answer
GET /api/questions Get a list of all questions
POST /api/questions Post a question
GET /api/questions/:id Get a specific question
PATCH /api/questions/:id Update a question which you own
PUT /api/questions/:id Update a question which you own
DELETE /api/questions/:id Delete a question which you own
POST /api/questions/:question_id/upvote Upvote a question
POST /api/questions/:question_id/downvote Downvote a question