Skip to content
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

API Development #4

Open
anup-a opened this issue Aug 30, 2020 · 1 comment
Open

API Development #4

anup-a opened this issue Aug 30, 2020 · 1 comment

Comments

@anup-a
Copy link
Contributor

anup-a commented Aug 30, 2020

Do not close this issue

[APIs are still in development]
This is a very crude version of APIs, we need to improve them and add some more.
Let this thread be open for API developments - like if anyone wants to update api they should mention in this thread.

TODO -
None of them are tested as of now.

Post Endpoints - /api/feed

  • Get a list of all Posts [GET]- '/'
  • Create a new Post [POST] - '/'
  • Get a Post by id [GET] - /:id',
  • Update a Post by id [PUT]- '/:id'
  • Delete a Post by id [DELETE]- '/:id',

Channel Endpoints - /api/feed

  • Create a new Channel [POST] - '/:postId/channel'
  • Get a Channel by postId [GET] - '/:postId/channel'
  • Update a Channel by postId [PUT]- '/:postId/channel'
  • Delete a Channel by postId [DELETE]- '/:postId/channel'

Message Endpoints - /api/feed

  • Create a new Message [POST] - '/:postId/message/'
  • Get all Messages by postId [GET]- '/:postId/message'
  • Update a Message by postId [PUT]- '/:postId/message/:messageId'
  • Delete a Message by postId [DELETE]- '/:postId/message/:messageId'
@anup-a
Copy link
Contributor Author

anup-a commented Aug 30, 2020

Initial APIs Pull Request -- #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant