Hello everyone,
I am having issues understanding the LinkedData Notifications protocol and the best practices of using it within SOLID applications.
Assume the following use case :
Person A creates a resource (let’s say a txt file) to collaborate with Person B. Person A creates an RDF conforming to LDN and sends it to Person B’s Inbox by POST request. Person B retrieves the latest notifications and now he needs to accept/reject the notification, let’s say using Schema’s RsvpResponseYes. What are the further actions :
- Person B needs to create a new RDF file linking the Person A’s notification and Rsvp response and send it back to Person A’s inbox, and then Person A needs to somehow read the notification and identify response ?
- Person B needs to modify the initial notification in it’s inbox by appending the RsvpResponseYes and somehow notify the Person A to read this RDF file again and identify whether Person B accepted or rejected the notification ?
- Person B does not have to actually send response whether he accepts or rejects the notifications invite to collaborate on file, and Person A can just assume that Person B always accepts it and if not he will just clear inbox from that notification ?
As a side note, I was mainly re using some mechanisms from Solid-Chess
app, however it uses it for slightly different purposes and it utilises the WebRTC since node-solid-server does not support web socket listeners for changes in whole folder yet (really looking forward for having this feature implemented btw). I have also read the https://www.w3.org/TR/ldn/ description, though it is still not clear how accept/reject response should be handled by Person B in our assumed scenario.
Would really appreciate any help on this