specification icon indicating copy to clipboard operation
specification copied to clipboard

[New Work Item Proposal] Solid-PREP

Open CxRes opened this issue 2 years ago • 1 comments

[Introduction copied from the Draft] Per Resource Events is a minimal protocol built on top of HTTP that allows clients to receive notifications directly from a resource of interest. Unlike other HTTP based solutions, Per Resource Events Protocol supports the use of arbitrary media-types for notifications, which can be negotiated just like representations; thus giving implementers a lot of flexibility to customize notifications according to the needs of their application.

PREP will compliment Solid Notifications Protocol (SNP) by providing a lightweight alternative with identical notification semantics where a client wishes to receive notifications directly from a resource, say on a Solid POD, using Fetch. SNP will continue to serve the more general cases, such as, where clients wish to receive notifications from many resources over a single connection, and/or prefer other protocols such as WebSockets and Webhooks.

I plan on submitting an Internet Draft of PREP to IETF (hopefully, this week itself). Therefore, I want to propose a Solid-PREP work item with the following agenda items:

  • Define semantics for RDF patches when used with PREP as a specification (This is largely similar to solid/notifications#183). This will be a new draft along the lines of Appendix A of PREP
  • Aid Solid implementers adopt PREP and Solid-PREP. (This particularly targets server implementations, as PREP on the client side just involves Fetch with one extra header).
  • Develop tests for use of PREP with Solid.

The aim is that the Solid-CG will incubate these deliverables till they are ready to be adopted by the imminent Solid-WG.

CxRes avatar Oct 04 '23 15:10 CxRes

Internet Draft version of PREP can be found here https://github.com/Cxres/prep. This will replace the W3C draft while the specification is under consideration of IETF.

The only change (of relevance to Solid-PREP) is that Appendix A is now Section 10.

CxRes avatar Oct 11 '23 01:10 CxRes

I should have mentioned here that I already have my own Draft of Solid-PREP already available here: https://github.com/Cxres/solid-prep

CxRes avatar Mar 12 '24 13:03 CxRes

I will add myself as a co-author, so this work item will have two active participants.

elf-pavlik avatar Mar 12 '24 13:03 elf-pavlik

Accepted as a work item by Solid-CG!

CxRes avatar Mar 16 '24 18:03 CxRes