From db98f88444979fc40ca26ca0582a5f8170738a76 Mon Sep 17 00:00:00 2001 From: Alice <alice.poggioli@hotmail.fr> Date: Mon, 18 May 2020 12:41:17 +0200 Subject: [PATCH] update container --- .../Solid-introduction.rst | 88 +++++++++++++++++-- 1 file changed, 79 insertions(+), 9 deletions(-) diff --git a/source/import_documentation/Solid-introduction.rst b/source/import_documentation/Solid-introduction.rst index 8632e23..259ef10 100644 --- a/source/import_documentation/Solid-introduction.rst +++ b/source/import_documentation/Solid-introduction.rst @@ -178,33 +178,103 @@ Let’s have a look on this part : .. code:: json { - "circles": { - "@id": "https://api.alpha.happy-dev.fr/users/alice/circles/", - "@type": "ldp:Container", - "ldp:contains": [ + "@id": "https://api.community.startinblox.com/users/alice/circles/", + "@type": "ldp:Container", + "ldp:contains": [ + { + "@id": "https://api.community.startinblox.com/circle-members/1/", + "is_admin": true, + "circle": { + "@id": "https://api.community.startinblox.com/circles/1/" + }, + "@type": "hd:circlemember", + "permissions": [ { - "@id": "https://api.alpha.happy-dev.fr/circle-members/23/" + "mode": { + "@type": "view" + } }, { - "@id": "https://api.alpha.happy-dev.fr/circle-members/54/" + "mode": { + "@type": "delete" + } + } + ] + }, + { + "@id": "https://api.community.startinblox.com/circle-members/2/", + "is_admin": true, + "circle": { + "@id": "https://api.community.startinblox.com/circles/2/" + }, + "@type": "hd:circlemember", + "permissions": [ + { + "mode": { + "@type": "view" + } }, { - "@id": "https://api.alpha.happy-dev.fr/circle-members/656/" + "mode": { + "@type": "delete" + } } - ], + ] + }, + { + "@id": "https://api.community.startinblox.com/circle-members/3/", + "is_admin": true, + "circle": { + "@id": "https://api.community.startinblox.com/circles/3/" + }, + "@type": "hd:circlemember", "permissions": [ { "mode": { - "@type": "add" + "@type": "view" } }, + { + "mode": { + "@type": "delete" + } + } + ] + }, + { + "@id": "https://api.community.startinblox.com/circle-members/4/", + "is_admin": true, + "circle": { + "@id": "https://api.community.startinblox.com/circles/4/" + }, + "@type": "hd:circlemember", + "permissions": [ { "mode": { "@type": "view" } + }, + { + "mode": { + "@type": "delete" + } } ] } + ], + "permissions": [ + { + "mode": { + "@type": "add" + } + }, + { + "mode": { + "@type": "view" + } + } + ], + "@context": "https://cdn.happy-dev.fr/owl/hdcontext.jsonld" } In web semantic language, that’s mean : -- GitLab