-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[V2][Backend] API endpoints changes #713
Comments
This task is now open for contributions to the API documentation ( I'll open contributions to the API itself soon). Based on the v2 branch of this repository, changes have to be made upon the OpenAPI file. You can preview changes by importing the yml file in Swagger Editor. |
Is this task still available? |
Hello, sorry for the delay. |
Is it still open |
can i solve this issue in js or only contribute if i have knowledge of ts. If i can do it in Js , assign me. thank you |
Is this still open ?? |
Is it this issue resolved if not please assign it to me |
Hi @shreycmd, thanks for your interest in this project. |
The V2 is a great opportunity to review the specs.
Here is an RFC for URL and verbs used on the backend specs:
Login user
POST
/api/users/#
Register user
POST
/api/users
Get current user
GET
/api/user
Update user
PUT
/api/user
Get profile
GET
/api/profiles/:username
Follow user
POST
/api/profiles/:username/follow
Unfollow user
DELETE
/api/profiles/:username/follow
Get articles
GET
/api/articles
Get feed articles
GET
/api/articles/feed
Get article
GET
/api/articles/:slug
Create article
POST
/api/articles
Update article
PUT
/api/articles/:slug
Delete article
DELETE
/api/articles/:slug
Add comments to an article
POST
/api/articles/:slug/comments
Get comments from an article
GET
/api/articles/:slug/comments
Delete Comment
DELETE
/api/articles/:slug/comments/:id
Favorite article
POST
/api/articles/:slug/favorite
Unfavorite article
DELETE
/api/articles/:slug/favorite
Get tags
GET
/api/tags
The text was updated successfully, but these errors were encountered: