-
Notifications
You must be signed in to change notification settings - Fork 2
Button interactions, notifications, comments, edit, findById #78
Description
-ButtonFile:
Description: This is the Button post page. Inserted in this page both the creator of the button and the visitors can see the Button data and the Feeds associated with this Button.
API calls:
Button/FindByID : Receive all button data by it's id
Feeds are lists of interactions, in this case we can show different lists of interactions cards depending on predefined filters, these filters are:
-Button data changes (shows cards refered to the changes in Button Data made by the creator)
-User comments : show only posted comments of visitors and creators on the Button ordered from recent to past.
-External Notifications : shows updates from external sources like telegram.
-All interactions: shows all interactions of the Button on the feed
-ButtonNew
Description: In this page we create the Button post according to the ButtonTemplate prefered for the Network. Form fields show up according to this ButtonTemplate .
•ButtonTemplate/findById
•Button/New
API for buttons:
- /buttons/new POST
DONE. please test
- /buttons/findById/{id} GET
missing permissions for non-public readable buttons... how will this work?!
- /buttons/find GET
same as findById
- /buttons/edit/{id} PATCH
DONE. please test
- /buttons/delete/{id} DELETE
DONE. please test
- /buttons/addToNetworks/{buttonId}
DONE. please test
- /buttons/feed/{buttonId} GET
- /buttons/feed/newInteraction/{buttonId}
feed:
time, message, interaction,
-Button data changes (shows cards refered to the changes in Button Data made by the creator)
-User comments : show only posted comments of visitors and creators on the Button ordered from recent to past.
-External Notifications : shows updates from external sources like telegram.