{"action":"created","issue":{"url":"https://api.github.com/repos/scieloorg/scielo-manager/issues/440","labels_url":"https://api.github.com/repos/scieloorg/scielo-manager/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/scieloorg/scielo-manager/issues/440/comments","events_url":"https://api.github.com/repos/scieloorg/scielo-manager/issues/440/events","html_url":"https://github.com/scieloorg/scielo-manager/issues/440","id":13118229,"number":440,"title":"**MaintenanceMiddleware** não trata requisições à API","user":{"login":"gustavofonseca","id":161335,"avatar_url":"https://avatars.githubusercontent.com/u/161335?v=3","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},"labels":[{"url":"https://api.github.com/repos/scieloorg/scielo-manager/labels/Discuss%C3%A3o%20/%20Ideia","name":"Discussão / Ideia","color":"444444"},{"url":"https://api.github.com/repos/scieloorg/scielo-manager/labels/Restful%20API%20V1","name":"Restful API V1","color":"fad8c7"},{"url":"https://api.github.com/repos/scieloorg/scielo-manager/labels/Tarefa","name":"Tarefa","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-04-12T13:07:51Z","updated_at":"2015-11-30T13:46:13Z","closed_at":"2015-11-30T13:46:12Z","body":"O middleware é utilizado para realizar *logout* de usuários \"não staff\" quando a aplicação estiver em manutenção. Quando se tratar de uma requisição para a API, deve ser retornado o código 503.\r\n\r\n> 503 Service Unavailable\r\n   The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.\r\n\r\n\r\nhttp://en.wikipedia.org/wiki/List_of_HTTP_status_codes"},"comment":{"url":"https://api.github.com/repos/scieloorg/scielo-manager/issues/comments/160631361","html_url":"https://github.com/scieloorg/scielo-manager/issues/440#issuecomment-160631361","issue_url":"https://api.github.com/repos/scieloorg/scielo-manager/issues/440","id":160631361,"user":{"login":"gustavofonseca","id":161335,"avatar_url":"https://avatars.githubusercontent.com/u/161335?v=3","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},"created_at":"2015-11-30T13:46:12Z","updated_at":"2015-11-30T13:46:12Z","body":"Esforços não devem ser direcionados para a API Restful, que está sendo substituída pela interface thrift. "}}