{"action":"created","issue":{"url":"https://api.github.com/repos/thalles-ab/wscarona/issues/1","repository_url":"https://api.github.com/repos/thalles-ab/wscarona","labels_url":"https://api.github.com/repos/thalles-ab/wscarona/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/thalles-ab/wscarona/issues/1/comments","events_url":"https://api.github.com/repos/thalles-ab/wscarona/issues/1/events","html_url":"https://github.com/thalles-ab/wscarona/issues/1","id":144423917,"number":1,"title":"CRUD Local","user":{"login":"thalles-ab","id":5165791,"avatar_url":"https://avatars.githubusercontent.com/u/5165791?v=3","gravatar_id":"","url":"https://api.github.com/users/thalles-ab","html_url":"https://github.com/thalles-ab","followers_url":"https://api.github.com/users/thalles-ab/followers","following_url":"https://api.github.com/users/thalles-ab/following{/other_user}","gists_url":"https://api.github.com/users/thalles-ab/gists{/gist_id}","starred_url":"https://api.github.com/users/thalles-ab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thalles-ab/subscriptions","organizations_url":"https://api.github.com/users/thalles-ab/orgs","repos_url":"https://api.github.com/users/thalles-ab/repos","events_url":"https://api.github.com/users/thalles-ab/events{/privacy}","received_events_url":"https://api.github.com/users/thalles-ab/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T00:11:51Z","updated_at":"2016-04-25T12:35:05Z","closed_at":"2016-04-25T12:35:05Z","body":"será necessário a implementação de um CRUD de locais.\r\nPOST: criar e editar\r\nGET: buscar\r\nDELETE: excluir\r\n\r\nTodo conteúdo irá trafegar em formato json UTF-8(já implementado).\r\nPara acessar o usuário referente a solicitação utilize a variável userContext do BaseService.(Este usuário já é carregado através do token informado na requisição).\r\n\r\nPara conseguir um token válido é necessário efetuar login(a implementação feita atualmente é por usuário e não por dispositivo, por tanto não utilize o usuário do amiguinho).\r\n\r\nGuilherme:\r\ncode: 12345\r\npassword: 827ccb0eea8a706c4c34a16891f84e7b\r\n\r\nGabriel:\r\ncode: 54321\r\npassword: e10adc3949ba59abbe56e057f20f883e\r\n\r\nEx: de chamada de login. \r\nCom o retorno dessa chamada deve ser preenchido a propriedade Authorization do cabeçalho HTTP em cada uma das outras chamadas.\r\n\r\n![captura de tela de 2016-03-29 21 14 00](https://cloud.githubusercontent.com/assets/5165791/14128439/5b2f18d8-f5f7-11e5-9882-49a4dcaa7608.png)"},"comment":{"url":"https://api.github.com/repos/thalles-ab/wscarona/issues/comments/214296486","html_url":"https://github.com/thalles-ab/wscarona/issues/1#issuecomment-214296486","issue_url":"https://api.github.com/repos/thalles-ab/wscarona/issues/1","id":214296486,"user":{"login":"GabrielMarques89","id":13836150,"avatar_url":"https://avatars.githubusercontent.com/u/13836150?v=3","gravatar_id":"","url":"https://api.github.com/users/GabrielMarques89","html_url":"https://github.com/GabrielMarques89","followers_url":"https://api.github.com/users/GabrielMarques89/followers","following_url":"https://api.github.com/users/GabrielMarques89/following{/other_user}","gists_url":"https://api.github.com/users/GabrielMarques89/gists{/gist_id}","starred_url":"https://api.github.com/users/GabrielMarques89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GabrielMarques89/subscriptions","organizations_url":"https://api.github.com/users/GabrielMarques89/orgs","repos_url":"https://api.github.com/users/GabrielMarques89/repos","events_url":"https://api.github.com/users/GabrielMarques89/events{/privacy}","received_events_url":"https://api.github.com/users/GabrielMarques89/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T12:35:05Z","updated_at":"2016-04-25T12:35:05Z","body":"Implementado (De maneira BEM simples.)\r\n* Busca por id (place/{id})\r\n* Busca por geoLocalization (place/search/{geo})\r\n* Busca por todos os places do usuário em contexto (/place)\r\n* Save (@Post)\r\n* Delete (@Get - /place/delete/{id})\r\n\r\nProblemas: \r\n* Delete - Qual a resposta para o caso de sucesso ... retornar 200 + O quê ?\r\n* Delete - Qualquer usuário pode deletar qualquer lugar ? (Implementado: Pode deletar apenas os locais do usuário em contexto - Passado pelo token)\r\n* Precisamos de uma UK para local (que não seja sua id burra - no momento, o update não funciona pois o ID não é serializado pelo json)\r\n"}}