{"action":"created","issue":{"url":"https://api.github.com/repos/plone/plone.restapi/issues/115","repository_url":"https://api.github.com/repos/plone/plone.restapi","labels_url":"https://api.github.com/repos/plone/plone.restapi/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/plone/plone.restapi/issues/115/comments","events_url":"https://api.github.com/repos/plone/plone.restapi/issues/115/events","html_url":"https://github.com/plone/plone.restapi/pull/115","id":157034207,"number":115,"title":"Change file/image field serializers to return a dict with additional metadata","user":{"login":"lukasgraf","id":405124,"avatar_url":"https://avatars.githubusercontent.com/u/405124?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasgraf","html_url":"https://github.com/lukasgraf","followers_url":"https://api.github.com/users/lukasgraf/followers","following_url":"https://api.github.com/users/lukasgraf/following{/other_user}","gists_url":"https://api.github.com/users/lukasgraf/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasgraf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasgraf/subscriptions","organizations_url":"https://api.github.com/users/lukasgraf/orgs","repos_url":"https://api.github.com/users/lukasgraf/repos","events_url":"https://api.github.com/users/lukasgraf/events{/privacy}","received_events_url":"https://api.github.com/users/lukasgraf/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/plone/plone.restapi/labels/32%20needs:%20review","name":"32 needs: review","color":"00fafa"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-26T17:15:40Z","updated_at":"2016-05-29T15:58:53Z","closed_at":"2016-05-29T13:22:39Z","pull_request":{"url":"https://api.github.com/repos/plone/plone.restapi/pulls/115","html_url":"https://github.com/plone/plone.restapi/pull/115","diff_url":"https://github.com/plone/plone.restapi/pull/115.diff","patch_url":"https://github.com/plone/plone.restapi/pull/115.patch"},"body":"The Archetypes part of this needs a thorough review, I was struggling slightly with the different File / Image field type's APIs.\r\n\r\n---\r\n\r\nThis changes the serialization format for file and image fields from returning a simple string to returning dictionaries that contain the download URL in a `download` key, according to #9 and #10.\r\n\r\nThere's also a change in behavior regarding **empty file / image fields**: Previously, those were still serialized to an URL that would have returned a 404 (or 500, not exactly sure). Now they'll be serialized to `None`.\r\n"},"comment":{"url":"https://api.github.com/repos/plone/plone.restapi/issues/comments/222368005","html_url":"https://github.com/plone/plone.restapi/pull/115#issuecomment-222368005","issue_url":"https://api.github.com/repos/plone/plone.restapi/issues/115","id":222368005,"user":{"login":"tisto","id":632105,"avatar_url":"https://avatars.githubusercontent.com/u/632105?v=3","gravatar_id":"","url":"https://api.github.com/users/tisto","html_url":"https://github.com/tisto","followers_url":"https://api.github.com/users/tisto/followers","following_url":"https://api.github.com/users/tisto/following{/other_user}","gists_url":"https://api.github.com/users/tisto/gists{/gist_id}","starred_url":"https://api.github.com/users/tisto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tisto/subscriptions","organizations_url":"https://api.github.com/users/tisto/orgs","repos_url":"https://api.github.com/users/tisto/repos","events_url":"https://api.github.com/users/tisto/events{/privacy}","received_events_url":"https://api.github.com/users/tisto/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T15:58:53Z","updated_at":"2016-05-29T15:58:53Z","body":"Wohoo! I will go over the docs one last time and do some final checks and then make a first alpha release!"}}
{"actor":{"display_login":"tisto"}}