feature: added parentCircle field to Circle
Adds optional parentCirlce
field to Circle. Reverse relationship accessible via children
field
example response from /circles/
:
{"@type":"ldp:Container","@id":"http://localhost:8000/circles/","ldp:contains":[
{"@type":"hd:circle","@id":"http://localhost:8000/circles/1/", "parentCircle":null,"children":{"@type":"ldp:Container","@id":"http://localhost:8000/circles/1/children/","ldp:contains":[{"@id":"http://localhost:8000/circles/2/","@type":"hd:circle"}]}},
{"@type":"hd:circle","@id":"http://localhost:8000/circles/2/","parentCircle":{"@type":"hd:circle","@id":"http://localhost:8000/circles/1/"},"children":{"@type":"ldp:Container","@id":"http://localhost:8000/circles/2/children/","ldp:contains":[]}}