Joachim Van Herwegen 65860f77da feat: Support GET requests on subscription services
Doing a GET request on a subscription resource
will return the expected representation.
Content negotiation is supported.
2023-04-20 14:32:13 +02:00

32 lines
1.4 KiB
JSON

{
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^6.0.0/components/context.jsonld",
"@graph": [
{
"@id": "urn:solid-server:default:NotificationHttpHandler",
"@type": "RouterHandler",
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" },
"targetExtractor": { "@id": "urn:solid-server:default:TargetExtractor" },
"allowedPathNames": [ "^/.notifications/" ],
"handler": { "@id": "urn:solid-server:default:NotificationParsingHandler" }
},
{
"@id": "urn:solid-server:default:NotificationParsingHandler",
"@type": "ParsingHttpHandler",
"requestParser": { "@id": "urn:solid-server:default:RequestParser" },
"errorHandler": { "@id": "urn:solid-server:default:ErrorHandler" },
"responseWriter": { "@id": "urn:solid-server:default:ResponseWriter" },
"operationHandler": {
"comment": "Converts outgoing responses based on the user preferences",
"@type": "ConvertingOperationHttpHandler",
"converter": { "@id": "urn:solid-server:default:RepresentationConverter" },
"operationHandler": {
"comment": "New notification subscription types should be added here to allow subscriptions.",
"@id": "urn:solid-server:default:NotificationTypeHandler",
"@type": "WaterfallHandler",
"handlers": [ ]
}
}
}
]
}