{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4398","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4398/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4398/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4398/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4398","id":109889154,"number":4398,"title":"[RfR] Registration links; Serializer tests","user":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-05T21:23:15Z","updated_at":"2015-10-08T18:10:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4398","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4398","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/4398.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/4398.patch"},"body":"### Purpose/Changes\r\n\r\n- Add initial unit tests for serializers \r\n- Add a few missing links and attributes to NodeSerializer and NodeRegistrationSerializer (partially addresses OSF-4436)\r\n- Change NodeSerializer.parent to a `related` link rather than a `self` link (verified with Dawn that this is correct).\r\n\r\n### Tickets\r\n\r\nhttps://openscience.atlassian.net/browse/OSF-4771\r\nPartially addresses https://openscience.atlassian.net/browse/OSF-4436"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/146641709","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4398#issuecomment-146641709","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4398","id":146641709,"user":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T18:10:00Z","updated_at":"2015-10-08T18:10:00Z","body":"> The self link does not take you to a representation that matches the view in nodes/registrations.\r\n\r\nCan you clarify which `self` link you are referring to? I didn't think I added a self link in this PR."}}