{"action":"reopened","issue":{"url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1403","repository_url":"https://api.github.com/repos/hydroshare/hydroshare","labels_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1403/labels{/name}","comments_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1403/comments","events_url":"https://api.github.com/repos/hydroshare/hydroshare/issues/1403/events","html_url":"https://github.com/hydroshare/hydroshare/issues/1403","id":171756568,"number":1403,"title":"Relationships need to be automatically created for a collection. ","user":{"login":"dtarb","id":3456833,"avatar_url":"https://avatars.githubusercontent.com/u/3456833?v=3","gravatar_id":"","url":"https://api.github.com/users/dtarb","html_url":"https://github.com/dtarb","followers_url":"https://api.github.com/users/dtarb/followers","following_url":"https://api.github.com/users/dtarb/following{/other_user}","gists_url":"https://api.github.com/users/dtarb/gists{/gist_id}","starred_url":"https://api.github.com/users/dtarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtarb/subscriptions","organizations_url":"https://api.github.com/users/dtarb/orgs","repos_url":"https://api.github.com/users/dtarb/repos","events_url":"https://api.github.com/users/dtarb/events{/privacy}","received_events_url":"https://api.github.com/users/dtarb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/hydroshare/hydroshare/labels/Medium%20Priority","name":"Medium Priority","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"zhiyuli","id":10070599,"avatar_url":"https://avatars.githubusercontent.com/u/10070599?v=3","gravatar_id":"","url":"https://api.github.com/users/zhiyuli","html_url":"https://github.com/zhiyuli","followers_url":"https://api.github.com/users/zhiyuli/followers","following_url":"https://api.github.com/users/zhiyuli/following{/other_user}","gists_url":"https://api.github.com/users/zhiyuli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiyuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiyuli/subscriptions","organizations_url":"https://api.github.com/users/zhiyuli/orgs","repos_url":"https://api.github.com/users/zhiyuli/repos","events_url":"https://api.github.com/users/zhiyuli/events{/privacy}","received_events_url":"https://api.github.com/users/zhiyuli/received_events","type":"User","site_admin":false},"assignees":[{"login":"zhiyuli","id":10070599,"avatar_url":"https://avatars.githubusercontent.com/u/10070599?v=3","gravatar_id":"","url":"https://api.github.com/users/zhiyuli","html_url":"https://github.com/zhiyuli","followers_url":"https://api.github.com/users/zhiyuli/followers","following_url":"https://api.github.com/users/zhiyuli/following{/other_user}","gists_url":"https://api.github.com/users/zhiyuli/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiyuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiyuli/subscriptions","organizations_url":"https://api.github.com/users/zhiyuli/orgs","repos_url":"https://api.github.com/users/zhiyuli/repos","events_url":"https://api.github.com/users/zhiyuli/events{/privacy}","received_events_url":"https://api.github.com/users/zhiyuli/received_events","type":"User","site_admin":false}],"milestone":null,"comments":38,"created_at":"2016-08-17T20:48:10Z","updated_at":"2016-09-07T15:04:17Z","closed_at":null,"body":"When a resource is added to a collection the collection needs a relationship: dcterms:hasPart that points to the resource added to the collection.  (see http://purl.org/dc/terms/hasPart)\r\n\r\nThe resource being added to the collection should also have a relationship added dcterms:isPartOf.  Adding this term requires edit permissions on the resource, which the collection editor may not always have.  So, I suggest only creating this relationship automatically if permissions allow it, otherwise leaving it out, which would have the effect that the resource does not record collections it is part of.\r\n"}}
{"actor":{"display_login":"zhiyuli"}}