{"action":"created","issue":{"url":"https://api.github.com/repos/Arlanet/CopernicaNET/issues/12","repository_url":"https://api.github.com/repos/Arlanet/CopernicaNET","labels_url":"https://api.github.com/repos/Arlanet/CopernicaNET/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Arlanet/CopernicaNET/issues/12/comments","events_url":"https://api.github.com/repos/Arlanet/CopernicaNET/issues/12/events","html_url":"https://github.com/Arlanet/CopernicaNET/issues/12","id":184216483,"number":12,"title":"Update subprofile (collection)","user":{"login":"jbreuer","id":5444597,"avatar_url":"https://avatars.githubusercontent.com/u/5444597?v=3","gravatar_id":"","url":"https://api.github.com/users/jbreuer","html_url":"https://github.com/jbreuer","followers_url":"https://api.github.com/users/jbreuer/followers","following_url":"https://api.github.com/users/jbreuer/following{/other_user}","gists_url":"https://api.github.com/users/jbreuer/gists{/gist_id}","starred_url":"https://api.github.com/users/jbreuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbreuer/subscriptions","organizations_url":"https://api.github.com/users/jbreuer/orgs","repos_url":"https://api.github.com/users/jbreuer/repos","events_url":"https://api.github.com/users/jbreuer/events{/privacy}","received_events_url":"https://api.github.com/users/jbreuer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T12:31:41Z","updated_at":"2016-10-21T10:01:51Z","closed_at":null,"body":"I don't think it's currently possible to update a subprofile (collection). You can only update a profile by passing the DatabaseId. I could create a PR for this, but I'm not sure how to do it.\r\n\r\nI already found the following:\r\nUpdating subprofile: https://www.copernica.com/en/support/rest/subprofile-fields\r\nBut for this I need the real subprofile id. I'm not sure if there is an easy way to get it. \r\n\r\nWith this we can get all the subprofiles: https://www.copernica.com/en/support/rest/collection-subprofiles.\r\n\r\nWhen we want to get a profile you can search the fields: https://www.copernica.com/en/support/rest/database-profiles. \r\nCan we do something like that for a subprofile?"},"comment":{"url":"https://api.github.com/repos/Arlanet/CopernicaNET/issues/comments/255342942","html_url":"https://github.com/Arlanet/CopernicaNET/issues/12#issuecomment-255342942","issue_url":"https://api.github.com/repos/Arlanet/CopernicaNET/issues/12","id":255342942,"user":{"login":"jbreuer","id":5444597,"avatar_url":"https://avatars.githubusercontent.com/u/5444597?v=3","gravatar_id":"","url":"https://api.github.com/users/jbreuer","html_url":"https://github.com/jbreuer","followers_url":"https://api.github.com/users/jbreuer/followers","following_url":"https://api.github.com/users/jbreuer/following{/other_user}","gists_url":"https://api.github.com/users/jbreuer/gists{/gist_id}","starred_url":"https://api.github.com/users/jbreuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbreuer/subscriptions","organizations_url":"https://api.github.com/users/jbreuer/orgs","repos_url":"https://api.github.com/users/jbreuer/repos","events_url":"https://api.github.com/users/jbreuer/events{/privacy}","received_events_url":"https://api.github.com/users/jbreuer/received_events","type":"User","site_admin":false},"created_at":"2016-10-21T10:01:51Z","updated_at":"2016-10-21T10:01:51Z","body":"I've contacted Copernica yesterday. It's also possible to search on https://api.copernica.com/collection/$collectionID/subprofiles with the fields[] parameter. It's just not documented yet. https://www.copernica.com/en/support/rest/collection-subprofiles"}}
{"actor":{"display_login":"jbreuer"}}