{"action":"opened","issue":{"url":"https://api.github.com/repos/wellcometrust/platform/issues/2928","repository_url":"https://api.github.com/repos/wellcometrust/platform","labels_url":"https://api.github.com/repos/wellcometrust/platform/issues/2928/labels{/name}","comments_url":"https://api.github.com/repos/wellcometrust/platform/issues/2928/comments","events_url":"https://api.github.com/repos/wellcometrust/platform/issues/2928/events","html_url":"https://github.com/wellcometrust/platform/issues/2928","id":375870725,"node_id":"MDU6SXNzdWUzNzU4NzA3MjU=","number":2928,"title":"Miro-Sierra merger isn't copying across the iiif-image location","user":{"login":"alexwlchan","id":301220,"node_id":"MDQ6VXNlcjMwMTIyMA==","avatar_url":"https://avatars0.githubusercontent.com/u/301220?v=4","gravatar_id":"","url":"https://api.github.com/users/alexwlchan","html_url":"https://github.com/alexwlchan","followers_url":"https://api.github.com/users/alexwlchan/followers","following_url":"https://api.github.com/users/alexwlchan/following{/other_user}","gists_url":"https://api.github.com/users/alexwlchan/gists{/gist_id}","starred_url":"https://api.github.com/users/alexwlchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexwlchan/subscriptions","organizations_url":"https://api.github.com/users/alexwlchan/orgs","repos_url":"https://api.github.com/users/alexwlchan/repos","events_url":"https://api.github.com/users/alexwlchan/events{/privacy}","received_events_url":"https://api.github.com/users/alexwlchan/received_events","type":"User","site_admin":false},"labels":[{"id":527145044,"node_id":"MDU6TGFiZWw1MjcxNDUwNDQ=","url":"https://api.github.com/repos/wellcometrust/platform/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-31T09:30:27Z","updated_at":"2018-10-31T09:30:27Z","closed_at":null,"author_association":"MEMBER","body":"I discovered this when adding the image locationType filters, because the number of works with a iiif-image location is wrong.\r\n\r\nExample:\r\n\r\n* The V1 work for V0050621 has ID `kxmhfg3b` and a iiif-image location. See:\r\n\r\n    https://api.wellcomecollection.org/catalogue/v1/works/kxmhfg3b?includes=identifiers,items\r\n\r\n* Getting `kxmhfg3b` from the V2 API gives you a redirect to `zyfja4rd`\r\n\r\n    ```console\r\n    $ curl -v \"https://api.wellcomecollection.org/catalogue/v2/works/kxmhfg3b\"\r\n    < HTTP/1.1 302 Found\r\n    < Location: /catalogue/v2/works/zyfja4rd\r\n    ```\r\n\r\n* The V2 work `kxmhfg3b` has the V0050621 Miro identifier, but no iiid-image location. See:\r\n\r\n    https://api.wellcomecollection.org/catalogue/v2/works/zyfja4rd?include=identifiers,items"}}
{"actor":{"display_login":"alexwlchan"}}