{"action":"created","issue":{"url":"https://api.github.com/repos/scieloorg/catalogmanager/issues/118","repository_url":"https://api.github.com/repos/scieloorg/catalogmanager","labels_url":"https://api.github.com/repos/scieloorg/catalogmanager/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/scieloorg/catalogmanager/issues/118/comments","events_url":"https://api.github.com/repos/scieloorg/catalogmanager/issues/118/events","html_url":"https://github.com/scieloorg/catalogmanager/issues/118","id":332776103,"node_id":"MDU6SXNzdWUzMzI3NzYxMDM=","number":118,"title":"Novo tratamento no recuperar artigo considerando os artigos apagados","user":{"login":"patymori","id":18053487,"node_id":"MDQ6VXNlcjE4MDUzNDg3","avatar_url":"https://avatars0.githubusercontent.com/u/18053487?v=4","gravatar_id":"","url":"https://api.github.com/users/patymori","html_url":"https://github.com/patymori","followers_url":"https://api.github.com/users/patymori/followers","following_url":"https://api.github.com/users/patymori/following{/other_user}","gists_url":"https://api.github.com/users/patymori/gists{/gist_id}","starred_url":"https://api.github.com/users/patymori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patymori/subscriptions","organizations_url":"https://api.github.com/users/patymori/orgs","repos_url":"https://api.github.com/users/patymori/repos","events_url":"https://api.github.com/users/patymori/events{/privacy}","received_events_url":"https://api.github.com/users/patymori/received_events","type":"User","site_admin":false},"labels":[{"id":859419583,"node_id":"MDU6TGFiZWw4NTk0MTk1ODM=","url":"https://api.github.com/repos/scieloorg/catalogmanager/labels/feature","name":"feature","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/scieloorg/catalogmanager/milestones/2","html_url":"https://github.com/scieloorg/catalogmanager/milestone/2","labels_url":"https://api.github.com/repos/scieloorg/catalogmanager/milestones/2/labels","id":3169480,"node_id":"MDk6TWlsZXN0b25lMzE2OTQ4MA==","number":2,"title":"MVP 1","description":"","creator":{"login":"gustavofonseca","id":161335,"node_id":"MDQ6VXNlcjE2MTMzNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/161335?v=4","gravatar_id":"","url":"https://api.github.com/users/gustavofonseca","html_url":"https://github.com/gustavofonseca","followers_url":"https://api.github.com/users/gustavofonseca/followers","following_url":"https://api.github.com/users/gustavofonseca/following{/other_user}","gists_url":"https://api.github.com/users/gustavofonseca/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavofonseca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavofonseca/subscriptions","organizations_url":"https://api.github.com/users/gustavofonseca/orgs","repos_url":"https://api.github.com/users/gustavofonseca/repos","events_url":"https://api.github.com/users/gustavofonseca/events{/privacy}","received_events_url":"https://api.github.com/users/gustavofonseca/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":13,"state":"open","created_at":"2018-03-07T17:39:45Z","updated_at":"2018-06-15T13:37:00Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-06-15T13:37:00Z","updated_at":"2018-06-15T13:56:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Quando um artigo é apagado, ao tentar recuperá-lo, os seguintes retornos precisam ser considerados:\r\n\r\n- `GET /articles/_manifest`: retorna manifesto com flag is_removed = True\r\n- `GET /articles/{id}`: HTTP 40x - Document removed\r\n- `GET /articles/{id}/{version}`: versão do XML\r\n\r\nAjustar a API de artigo para os retornos esperados.\r\n"},"comment":{"url":"https://api.github.com/repos/scieloorg/catalogmanager/issues/comments/397628946","html_url":"https://github.com/scieloorg/catalogmanager/issues/118#issuecomment-397628946","issue_url":"https://api.github.com/repos/scieloorg/catalogmanager/issues/118","id":397628946,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzYyODk0Ng==","user":{"login":"robertatakenaka","id":505143,"node_id":"MDQ6VXNlcjUwNTE0Mw==","avatar_url":"https://avatars1.githubusercontent.com/u/505143?v=4","gravatar_id":"","url":"https://api.github.com/users/robertatakenaka","html_url":"https://github.com/robertatakenaka","followers_url":"https://api.github.com/users/robertatakenaka/followers","following_url":"https://api.github.com/users/robertatakenaka/following{/other_user}","gists_url":"https://api.github.com/users/robertatakenaka/gists{/gist_id}","starred_url":"https://api.github.com/users/robertatakenaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertatakenaka/subscriptions","organizations_url":"https://api.github.com/users/robertatakenaka/orgs","repos_url":"https://api.github.com/users/robertatakenaka/repos","events_url":"https://api.github.com/users/robertatakenaka/events{/privacy}","received_events_url":"https://api.github.com/users/robertatakenaka/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T13:56:08Z","updated_at":"2018-06-15T13:56:08Z","author_association":"MEMBER","body":"@patymori @gustavofonseca podemos considerar que fica:\r\n\r\n```\r\n{\r\n  \"id\": \"0034-8910-rsp-48-2-0275\",\r\n  \"is_removed\": \"true\",\r\n  \"versions\": [\r\n    {\"data\": \"/rawfiles/7ca9f9b2687cb/0034-8910-rsp-48-2-0275.xml\",\r\n     \"assets\": [\r\n       {\"0034-8910-rsp-48-2-0275-gf01.gif\": [\r\n         \"/rawfiles/8e644999a8fa4/0034-8910-rsp-48-2-0275-gf01.gif\",\r\n         \"/rawfiles/bf139b9aa3066/0034-8910-rsp-48-2-0275-gf01.gif\"]},\r\n    {\"data\": \"/rawfiles/2d3ad9c6bc656/0034-8910-rsp-48-2-0275.xml\",\r\n     \"assets\": [\r\n       {\"0034-8910-rsp-48-2-0275-gf01.gif\": [\r\n         \"/rawfiles/bf139b9aa3066/0034-8910-rsp-48-2-0275-gf01.gif\"]}\r\n     ]}\r\n  ]\r\n}\r\n```"}}
{"actor":{"display_login":"robertatakenaka"}}