6.1 Notification Events - For every resource whose state is changed as a result of an HTTP operation, there must be a corresponding notification made available describing that change.
6.2 Notification Serialization - The notification serialization must conform to the [ activitystreams-core ] specification.
- Wherever possible, data should be expressed using the [ activitystreams-vocabulary ].
- Each event described by a notification must contain:
- The IRI of the resource that was created, modified or deleted
- The event type(s) corresponding to the HTTP operation
- Each event described by a notification should contain:
- The agent(s) that caused the change to occur
- The RDF type(s) of the resource that was changed
- The location of the
ldp:inbox for the resource that was changed, if such an inbox link exists
- Notifications should not contain the entire content of repository resources.
6.3 Examples |