Dynamically feeding frontend with the knowledge graph
Backend should send 2-levels of descendants from the node requested.
Endpoints
Nodes requesting
Request node's descendants:
Sends 2 layers of descendants from requested node The frontend may provide a list of nodes that it already has and doesn't need to load.
Request node's ancestors
Sends 2 ancestors of the node, and 2 layers of descendants from them. The frontend may provide a list of nodes that it already has and doesn't need to load.
Request tree root
Sends the main tree node and 2 layers of descendants
Editing
Edit node
The frontend sends new data for certain nodes. As a result:
The change might be added to a queue of actions awaiting moderator's acceptance
If user has certain privileges the change might be accepted immediately.
Delete node
The frontend sends new data for certain nodes. As a result:
The change might be added to a queue of actions awaiting moderator's acceptance
If the user has certain privileges the change might be accepted immediately.
Overview
Endpoints
Nodes requesting
Editing