Task: Subscription Route #6
Labels
Difficulty:Easy
some issue that needs just some random guy and few minutes to fix
Function:Subscription
Subscription related issue
Priority:Moderate 🟡
Something that is needed to be done in schedule
Range:Backend
Backend related stuff like server functionalities
State:Done
its completed but maybe requires some review
Task:New Feature
there is a API layer so no need for actual logic, just process the params
prefix is /subscription
This shall contain serveral routes for subscription, and typing models for params
/
POST for posting a subscribe request to a specific hub with a specific topic
DELETE for unsubscribing
/callback
this is for a hub to callback
GET is for validating subscription
POST is for the hub to post updates
remember there may be different hub, so there could be various updates or validation coming in
/hub
contains a GET for all the hubs in a list
/hub/{ID}
follows restapi
has ability to crud hubs, that is , checking a hub,adding a new hub, deleting a existing hub, editing a hub's info
The text was updated successfully, but these errors were encountered: