mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
42 lines
1.7 KiB
JSON
42 lines
1.7 KiB
JSON
{
|
|
"@context": "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^5.0.0/components/context.jsonld",
|
|
"@graph": [
|
|
{
|
|
"comment": "Handles the subscriptions targeting a WebSocketSubscription2021.",
|
|
"@id": "urn:solid-server:default:WebSocket2021Subscriber",
|
|
"@type": "OperationRouterHandler",
|
|
"baseUrl": { "@id": "urn:solid-server:default:variable:baseUrl" },
|
|
"allowedMethods": [ "POST" ],
|
|
"allowedPathNames": [ "/WebSocketSubscription2021/" ],
|
|
"handler": {
|
|
"@type": "NotificationSubscriber",
|
|
"subscriptionType": { "@id": "urn:solid-server:default:WebSocketSubscription2021" },
|
|
"credentialsExtractor": { "@id": "urn:solid-server:default:CredentialsExtractor" },
|
|
"permissionReader": { "@id": "urn:solid-server:default:PermissionReader" },
|
|
"authorizer": { "@id": "urn:solid-server:default:Authorizer" }
|
|
}
|
|
},
|
|
{
|
|
"@id": "urn:solid-server:default:WebSocket2021Route",
|
|
"@type": "RelativePathInteractionRoute",
|
|
"base": { "@id": "urn:solid-server:default:NotificationRoute" },
|
|
"relativePath": "/WebSocketSubscription2021/"
|
|
},
|
|
{
|
|
"comment": "Contains all the metadata relevant for a WebSocketSubscription2021.",
|
|
"@id": "urn:solid-server:default:WebSocketSubscription2021",
|
|
"@type": "WebSocketSubscription2021",
|
|
"storage": { "@id": "urn:solid-server:default:SubscriptionStorage" },
|
|
"route": { "@id": "urn:solid-server:default:WebSocket2021Route" }
|
|
},
|
|
|
|
{
|
|
"@id": "urn:solid-server:default:NotificationTypeHandler",
|
|
"@type": "WaterfallHandler",
|
|
"handlers": [
|
|
{ "@id": "urn:solid-server:default:WebSocket2021Subscriber" }
|
|
]
|
|
}
|
|
]
|
|
}
|