{"action":"created","issue":{"url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/issues/48","repository_url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad","labels_url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/issues/48/comments","events_url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/issues/48/events","html_url":"https://github.com/academiadev-jlle/backend-suicidesquad/pull/48","id":377666296,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4NTU1NDA5","number":48,"title":"Feature/#18 pet api parametros url","user":{"login":"JCaye","id":37392115,"node_id":"MDQ6VXNlcjM3MzkyMTE1","avatar_url":"https://avatars3.githubusercontent.com/u/37392115?v=4","gravatar_id":"","url":"https://api.github.com/users/JCaye","html_url":"https://github.com/JCaye","followers_url":"https://api.github.com/users/JCaye/followers","following_url":"https://api.github.com/users/JCaye/following{/other_user}","gists_url":"https://api.github.com/users/JCaye/gists{/gist_id}","starred_url":"https://api.github.com/users/JCaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCaye/subscriptions","organizations_url":"https://api.github.com/users/JCaye/orgs","repos_url":"https://api.github.com/users/JCaye/repos","events_url":"https://api.github.com/users/JCaye/events{/privacy}","received_events_url":"https://api.github.com/users/JCaye/received_events","type":"User","site_admin":false},"labels":[{"id":1107823391,"node_id":"MDU6TGFiZWwxMTA3ODIzMzkx","url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/labels/review","name":"review","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"JCaye","id":37392115,"node_id":"MDQ6VXNlcjM3MzkyMTE1","avatar_url":"https://avatars3.githubusercontent.com/u/37392115?v=4","gravatar_id":"","url":"https://api.github.com/users/JCaye","html_url":"https://github.com/JCaye","followers_url":"https://api.github.com/users/JCaye/followers","following_url":"https://api.github.com/users/JCaye/following{/other_user}","gists_url":"https://api.github.com/users/JCaye/gists{/gist_id}","starred_url":"https://api.github.com/users/JCaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCaye/subscriptions","organizations_url":"https://api.github.com/users/JCaye/orgs","repos_url":"https://api.github.com/users/JCaye/repos","events_url":"https://api.github.com/users/JCaye/events{/privacy}","received_events_url":"https://api.github.com/users/JCaye/received_events","type":"User","site_admin":false},"assignees":[{"login":"JCaye","id":37392115,"node_id":"MDQ6VXNlcjM3MzkyMTE1","avatar_url":"https://avatars3.githubusercontent.com/u/37392115?v=4","gravatar_id":"","url":"https://api.github.com/users/JCaye","html_url":"https://github.com/JCaye","followers_url":"https://api.github.com/users/JCaye/followers","following_url":"https://api.github.com/users/JCaye/following{/other_user}","gists_url":"https://api.github.com/users/JCaye/gists{/gist_id}","starred_url":"https://api.github.com/users/JCaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCaye/subscriptions","organizations_url":"https://api.github.com/users/JCaye/orgs","repos_url":"https://api.github.com/users/JCaye/repos","events_url":"https://api.github.com/users/JCaye/events{/privacy}","received_events_url":"https://api.github.com/users/JCaye/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-11-06T02:26:12Z","updated_at":"2018-11-06T16:05:59Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/pulls/48","html_url":"https://github.com/academiadev-jlle/backend-suicidesquad/pull/48","diff_url":"https://github.com/academiadev-jlle/backend-suicidesquad/pull/48.diff","patch_url":"https://github.com/academiadev-jlle/backend-suicidesquad/pull/48.patch"},"body":"Closes #18 \r\n\r\n# O quê?\r\n* Implementação de suporte a buscas por parametros específicos dos pets como parametros de url nos endpoints da API;\r\n* Alterados os endpoints da API do pet para /v1/pet/*;\r\n* Alterados todas as classes e campos com \"comprimentopelo\" e variantes para \"pelo\".\r\n\r\n# Por quê?\r\n* Aumentar a funcionalidade da API permitindo buscas mais específicas;\r\n* Sistematizar melhor a nomenclatura dos endpoints;\r\n* ComprimentoPelo passou a ser apenas Pelo por simplificar a lógica de filtragem das requests.\r\n\r\n# Pendencias\r\n* Foram implementadas apenas as buscar por variáveis que sejam enums na database. Busca por data terá de ser implementada quando for adicionado ao modelo do pet a data de criação da postagem. Não suporta busca por cores, que precisa de uma lógica um pouco diferente na request."},"comment":{"url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/issues/comments/436307853","html_url":"https://github.com/academiadev-jlle/backend-suicidesquad/pull/48#issuecomment-436307853","issue_url":"https://api.github.com/repos/academiadev-jlle/backend-suicidesquad/issues/48","id":436307853,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjMwNzg1Mw==","user":{"login":"JCaye","id":37392115,"node_id":"MDQ6VXNlcjM3MzkyMTE1","avatar_url":"https://avatars3.githubusercontent.com/u/37392115?v=4","gravatar_id":"","url":"https://api.github.com/users/JCaye","html_url":"https://github.com/JCaye","followers_url":"https://api.github.com/users/JCaye/followers","following_url":"https://api.github.com/users/JCaye/following{/other_user}","gists_url":"https://api.github.com/users/JCaye/gists{/gist_id}","starred_url":"https://api.github.com/users/JCaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JCaye/subscriptions","organizations_url":"https://api.github.com/users/JCaye/orgs","repos_url":"https://api.github.com/users/JCaye/repos","events_url":"https://api.github.com/users/JCaye/events{/privacy}","received_events_url":"https://api.github.com/users/JCaye/received_events","type":"User","site_admin":false},"created_at":"2018-11-06T16:05:59Z","updated_at":"2018-11-06T16:05:59Z","author_association":"CONTRIBUTOR","body":"po, que TOP essas duas opções de query aí, tinha até perguntado pro bruno se ele conhecia algumjeito mais prático e ele disse que o jeito era montar no braço a query msm. Não comita não, deixa eu fazer =P.\r\nE sobre os endpoints, dei uma lida aqui, tás certo msm, a boa prática é não ter verbos no endpoint, e diferenciar as ações só pelo tipo de request mesmo, vou ajustar. Valeu pelas dicas yuri!"}}
{"actor":{"display_login":"JCaye"}}