Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Button interactions, notifications, comments, edit, findById  #78

@albjeremias

Description

@albjeremias

-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions