{"action":"closed","issue":{"url":"https://api.github.com/repos/univedo/api2go/issues/80","labels_url":"https://api.github.com/repos/univedo/api2go/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/univedo/api2go/issues/80/comments","events_url":"https://api.github.com/repos/univedo/api2go/issues/80/events","html_url":"https://github.com/univedo/api2go/issues/80","id":62417203,"number":80,"title":"Routes to manipulate Relationships","user":{"login":"wwwdata","id":818880,"avatar_url":"https://avatars.githubusercontent.com/u/818880?v=3","gravatar_id":"","url":"https://api.github.com/users/wwwdata","html_url":"https://github.com/wwwdata","followers_url":"https://api.github.com/users/wwwdata/followers","following_url":"https://api.github.com/users/wwwdata/following{/other_user}","gists_url":"https://api.github.com/users/wwwdata/gists{/gist_id}","starred_url":"https://api.github.com/users/wwwdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwwdata/subscriptions","organizations_url":"https://api.github.com/users/wwwdata/orgs","repos_url":"https://api.github.com/users/wwwdata/repos","events_url":"https://api.github.com/users/wwwdata/events{/privacy}","received_events_url":"https://api.github.com/users/wwwdata/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/univedo/api2go/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"wwwdata","id":818880,"avatar_url":"https://avatars.githubusercontent.com/u/818880?v=3","gravatar_id":"","url":"https://api.github.com/users/wwwdata","html_url":"https://github.com/wwwdata","followers_url":"https://api.github.com/users/wwwdata/followers","following_url":"https://api.github.com/users/wwwdata/following{/other_user}","gists_url":"https://api.github.com/users/wwwdata/gists{/gist_id}","starred_url":"https://api.github.com/users/wwwdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwwdata/subscriptions","organizations_url":"https://api.github.com/users/wwwdata/orgs","repos_url":"https://api.github.com/users/wwwdata/repos","events_url":"https://api.github.com/users/wwwdata/events{/privacy}","received_events_url":"https://api.github.com/users/wwwdata/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/univedo/api2go/milestones/1","html_url":"https://github.com/univedo/api2go/milestones/RC3","labels_url":"https://api.github.com/repos/univedo/api2go/milestones/1/labels","id":1025545,"number":1,"title":"RC3","description":null,"creator":{"login":"wwwdata","id":818880,"avatar_url":"https://avatars.githubusercontent.com/u/818880?v=3","gravatar_id":"","url":"https://api.github.com/users/wwwdata","html_url":"https://github.com/wwwdata","followers_url":"https://api.github.com/users/wwwdata/followers","following_url":"https://api.github.com/users/wwwdata/following{/other_user}","gists_url":"https://api.github.com/users/wwwdata/gists{/gist_id}","starred_url":"https://api.github.com/users/wwwdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwwdata/subscriptions","organizations_url":"https://api.github.com/users/wwwdata/orgs","repos_url":"https://api.github.com/users/wwwdata/repos","events_url":"https://api.github.com/users/wwwdata/events{/privacy}","received_events_url":"https://api.github.com/users/wwwdata/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":9,"state":"open","created_at":"2015-03-17T14:42:56Z","updated_at":"2015-04-20T18:23:41Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-03-17T14:45:42Z","updated_at":"2015-04-20T18:23:41Z","closed_at":"2015-04-20T18:23:41Z","body":"See http://jsonapi.org/format/#crud-updating-to-one-relationships\r\n\r\nto one example\r\n\r\n```\r\nPATCH /articles/1/links/author\r\nContent-Type: application/vnd.api+json\r\nAccept: application/vnd.api+json\r\n\r\n{\r\n  \"data\": { \"type\": \"people\", \"id\": \"12\" }\r\n}\r\n```\r\n\r\nto many example\r\n\r\n```\r\nPATCH /articles/1/links/tags\r\nContent-Type: application/vnd.api+json\r\nAccept: application/vnd.api+json\r\n\r\n{\r\n  \"data\": [\r\n    { \"type\": \"tags\", \"id\": \"2\" },\r\n    { \"type\": \"tags\", \"id\": \"3\" }\r\n  ]\r\n}\r\n```"}}