-
Notifications
You must be signed in to change notification settings - Fork 1
API Documentation
Kristy Zhang edited this page Sep 17, 2021
·
8 revisions
- add questions:
POST /questions - update a question:
PUT /questions/:id - delete a question:
DELETE /questions/:id - search question:
POST /questions/search(return json data)
- answer a question:
POST /questions/:questionId/answers - update an answer:
PUT /answers/:id" - delete an answer:
DELETE /answers/:id
- comments on an answer:
POST /answers/:answerId/comments - update comments on an answer:
PUT /comments/:id - delete comments on an answer:
DELETE /comments/:id
-
upvote on a question:
POST /question/:questionId/votes -
delete upvote on a question:
DELETE /question/:questionId/votes -
upvote on a comment:
POST /comment/:commentId/votes -
delete upvote on a comment:
DELETE /comment/:commentId/votes