|
1 | 1 | { |
2 | 2 | "@context": [ |
3 | | - "https://linkedsoftwaredependencies.org/bundles/npm/@solidlab/uma/^0.0.0/components/context.jsonld" |
| 3 | + "https://linkedsoftwaredependencies.org/bundles/npm/@solidlab/uma/^0.0.0/components/context.jsonld", |
| 4 | + "https://linkedsoftwaredependencies.org/bundles/npm/@solid/community-server/^7.0.0/components/context.jsonld" |
4 | 5 | ], |
5 | 6 | "@graph": [ |
6 | 7 | { |
|
9 | 10 | "resourceStore": { "@id": "urn:uma:default:ResourceRegistrationStore" } |
10 | 11 | }, |
11 | 12 | { |
12 | | - "@id": "urn:uma:default:ResourceRegistrationRoute", |
13 | | - "@type": "HttpHandlerRoute", |
14 | | - "operations": [ |
15 | | - { |
16 | | - "@type": "HttpHandlerOperation", |
17 | | - "method": "POST", |
18 | | - "publish": true |
19 | | - } |
20 | | - ], |
21 | | - "handler": { "@id": "urn:uma:default:ResourceRegistrationHandler" }, |
22 | | - "path": "/uma/resources" |
| 13 | + "@id": "urn:uma:default:ResourceRegistrationRouteHandler", |
| 14 | + "@type": "InteractionRouterHandler", |
| 15 | + "allowedMethods": [ "POST" ], |
| 16 | + "allowedRoutes": [{ |
| 17 | + "@id": "urn:uma:default:ResourceRegistrationRoute", |
| 18 | + "@type": "RelativePathInteractionRoute", |
| 19 | + "base": { "@type": "MatchAllRoute" }, |
| 20 | + "relativePath": "/uma/resources", |
| 21 | + "ensureSlash": false |
| 22 | + }], |
| 23 | + "handler": { "@id": "urn:uma:default:ResourceRegistrationHandler" } |
23 | 24 | }, |
24 | 25 | { |
25 | | - "@id": "urn:uma:default:ResourceRegistrationOpsRoute", |
26 | | - "@type": "HttpHandlerRoute", |
27 | | - "operations": [ |
28 | | - { |
29 | | - "@type": "HttpHandlerOperation", |
30 | | - "method": "DELETE", |
31 | | - "publish": true |
32 | | - } |
33 | | - ], |
34 | | - "handler": { "@id": "urn:uma:default:ResourceRegistrationHandler" }, |
35 | | - "path": "/uma/resources/:id" |
| 26 | + "@id": "urn:uma:default:ResourceRegistrationOpsRouteHandler", |
| 27 | + "@type": "InteractionRouterHandler", |
| 28 | + "allowedMethods": [ "DELETE" ], |
| 29 | + "allowedRoutes": [{ |
| 30 | + "@id": "urn:uma:default:ResourceRegistrationOpsRoute", |
| 31 | + "@type": "IdInteractionRoute", |
| 32 | + "base": { |
| 33 | + "@type": "RelativePathInteractionRoute", |
| 34 | + "base": { "@type": "MatchAllRoute" }, |
| 35 | + "relativePath": "/uma/resources/" |
| 36 | + }, |
| 37 | + "idName": "id", |
| 38 | + "ensureSlash": false |
| 39 | + }], |
| 40 | + "handler": { "@id": "urn:uma:default:ResourceRegistrationHandler" } |
36 | 41 | } |
37 | 42 | ] |
38 | 43 | } |
0 commit comments