{"action":"created","issue":{"url":"https://api.github.com/repos/air-book/airbook-server/issues/8","labels_url":"https://api.github.com/repos/air-book/airbook-server/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/air-book/airbook-server/issues/8/comments","events_url":"https://api.github.com/repos/air-book/airbook-server/issues/8/events","html_url":"https://github.com/air-book/airbook-server/issues/8","id":60793358,"number":8,"title":"modello e api wishlist","user":{"login":"bianchimro","id":234869,"avatar_url":"https://avatars.githubusercontent.com/u/234869?v=3","gravatar_id":"","url":"https://api.github.com/users/bianchimro","html_url":"https://github.com/bianchimro","followers_url":"https://api.github.com/users/bianchimro/followers","following_url":"https://api.github.com/users/bianchimro/following{/other_user}","gists_url":"https://api.github.com/users/bianchimro/gists{/gist_id}","starred_url":"https://api.github.com/users/bianchimro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bianchimro/subscriptions","organizations_url":"https://api.github.com/users/bianchimro/orgs","repos_url":"https://api.github.com/users/bianchimro/repos","events_url":"https://api.github.com/users/bianchimro/events{/privacy}","received_events_url":"https://api.github.com/users/bianchimro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/air-book/airbook-server/labels/api","name":"api","color":"fad8c7"},{"url":"https://api.github.com/repos/air-book/airbook-server/labels/model","name":"model","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"bianchimro","id":234869,"avatar_url":"https://avatars.githubusercontent.com/u/234869?v=3","gravatar_id":"","url":"https://api.github.com/users/bianchimro","html_url":"https://github.com/bianchimro","followers_url":"https://api.github.com/users/bianchimro/followers","following_url":"https://api.github.com/users/bianchimro/following{/other_user}","gists_url":"https://api.github.com/users/bianchimro/gists{/gist_id}","starred_url":"https://api.github.com/users/bianchimro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bianchimro/subscriptions","organizations_url":"https://api.github.com/users/bianchimro/orgs","repos_url":"https://api.github.com/users/bianchimro/repos","events_url":"https://api.github.com/users/bianchimro/events{/privacy}","received_events_url":"https://api.github.com/users/bianchimro/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-12T09:46:58Z","updated_at":"2015-03-17T22:29:28Z","closed_at":null,"body":"Creare model e api rest per wishlist\r\n2 campi:\r\n- utente\r\n- libro\r\n"},"comment":{"url":"https://api.github.com/repos/air-book/airbook-server/issues/comments/82624672","html_url":"https://github.com/air-book/airbook-server/issues/8#issuecomment-82624672","issue_url":"https://api.github.com/repos/air-book/airbook-server/issues/8","id":82624672,"user":{"login":"bianchimro","id":234869,"avatar_url":"https://avatars.githubusercontent.com/u/234869?v=3","gravatar_id":"","url":"https://api.github.com/users/bianchimro","html_url":"https://github.com/bianchimro","followers_url":"https://api.github.com/users/bianchimro/followers","following_url":"https://api.github.com/users/bianchimro/following{/other_user}","gists_url":"https://api.github.com/users/bianchimro/gists{/gist_id}","starred_url":"https://api.github.com/users/bianchimro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bianchimro/subscriptions","organizations_url":"https://api.github.com/users/bianchimro/orgs","repos_url":"https://api.github.com/users/bianchimro/repos","events_url":"https://api.github.com/users/bianchimro/events{/privacy}","received_events_url":"https://api.github.com/users/bianchimro/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T22:29:28Z","updated_at":"2015-03-17T22:29:28Z","body":"model:\r\nuser = utente che desidera (fk,user)\r\nbook = libro desiderato (fk, book)\r\n\r\nAPI per l'utente:\r\n\r\nGET users/wishlist/\r\nritorna la lista di libri desiderati dall'utente\r\n\r\nPOST user/wishlist/\r\npayload : {book_id : xxx}\r\naggiunge un libro alla wishlist\r\n\r\nDELETE user/wishlist/<book_id>/\r\nrimuove un libro dalla wishlist\r\n\r\nqueste API richiedono che l'utente sia autenticato.\r\n\r\n\r\n"}}