{"action":"closed","issue":{"url":"https://api.github.com/repos/creativecommons/list/issues/204","labels_url":"https://api.github.com/repos/creativecommons/list/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/creativecommons/list/issues/204/comments","events_url":"https://api.github.com/repos/creativecommons/list/issues/204/events","html_url":"https://github.com/creativecommons/list/issues/204","id":63788114,"number":204,"title":"Item Suggestion endpoint","user":{"login":"perpetuatingcuriosity","id":6563209,"avatar_url":"https://avatars.githubusercontent.com/u/6563209?v=3","gravatar_id":"","url":"https://api.github.com/users/perpetuatingcuriosity","html_url":"https://github.com/perpetuatingcuriosity","followers_url":"https://api.github.com/users/perpetuatingcuriosity/followers","following_url":"https://api.github.com/users/perpetuatingcuriosity/following{/other_user}","gists_url":"https://api.github.com/users/perpetuatingcuriosity/gists{/gist_id}","starred_url":"https://api.github.com/users/perpetuatingcuriosity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perpetuatingcuriosity/subscriptions","organizations_url":"https://api.github.com/users/perpetuatingcuriosity/orgs","repos_url":"https://api.github.com/users/perpetuatingcuriosity/repos","events_url":"https://api.github.com/users/perpetuatingcuriosity/events{/privacy}","received_events_url":"https://api.github.com/users/perpetuatingcuriosity/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/creativecommons/list/labels/API","name":"API","color":"fef2c0"},{"url":"https://api.github.com/repos/creativecommons/list/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"mattl","id":33296,"avatar_url":"https://avatars.githubusercontent.com/u/33296?v=3","gravatar_id":"","url":"https://api.github.com/users/mattl","html_url":"https://github.com/mattl","followers_url":"https://api.github.com/users/mattl/followers","following_url":"https://api.github.com/users/mattl/following{/other_user}","gists_url":"https://api.github.com/users/mattl/gists{/gist_id}","starred_url":"https://api.github.com/users/mattl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattl/subscriptions","organizations_url":"https://api.github.com/users/mattl/orgs","repos_url":"https://api.github.com/users/mattl/repos","events_url":"https://api.github.com/users/mattl/events{/privacy}","received_events_url":"https://api.github.com/users/mattl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/creativecommons/list/milestones/12","html_url":"https://github.com/creativecommons/list/milestones/Version%201.0%20(demo%20day%20edition)","labels_url":"https://api.github.com/repos/creativecommons/list/milestones/12/labels","id":991758,"number":12,"title":"Version 1.0 (demo day edition)","description":"","creator":{"login":"mattl","id":33296,"avatar_url":"https://avatars.githubusercontent.com/u/33296?v=3","gravatar_id":"","url":"https://api.github.com/users/mattl","html_url":"https://github.com/mattl","followers_url":"https://api.github.com/users/mattl/followers","following_url":"https://api.github.com/users/mattl/following{/other_user}","gists_url":"https://api.github.com/users/mattl/gists{/gist_id}","starred_url":"https://api.github.com/users/mattl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattl/subscriptions","organizations_url":"https://api.github.com/users/mattl/orgs","repos_url":"https://api.github.com/users/mattl/repos","events_url":"https://api.github.com/users/mattl/events{/privacy}","received_events_url":"https://api.github.com/users/mattl/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":27,"state":"open","created_at":"2015-02-23T18:20:21Z","updated_at":"2015-04-14T21:46:46Z","due_on":"2015-04-10T04:00:00Z","closed_at":null},"comments":0,"created_at":"2015-03-23T17:46:17Z","updated_at":"2015-04-14T21:46:46Z","closed_at":"2015-04-14T21:46:46Z","body":"POST request\r\n\r\nI would send:\r\n- item name\r\n- item category\r\n- optional example image\r\n(eventually there’s could be a description option as well?)\r\n(+ user token)\r\n\r\nThis should add the item to a separate suggestions list (*not* the user’s userlist), i.e.: suggestions belonging to the user. We’ll need a GET endpoint to retrieve this suggestion list.\r\n\r\nreturn:\r\n- new list item object, e.g.:\r\n\r\n``` {\r\n\"id\": \"2\",\r\n\"makerid\": \"1\",\r\n\"title\": \"Sipping coffee\",\r\n\"description\": null,\r\n\"uri\": \"http://mattl.us\",\r\n\"approved\": \"1\",\r\n\"category\": \"1\",\r\n\"name\": \"Matt Lee Foundation\"\r\n}```\r\n\r\nNot sure what this endpoint would be?\r\nPOST users/:userid/items ?\r\nPOST items/:userid/add ? \r\nOr does it need to be a :makerid? Or do we even need a makerid if everyone is able to post?\r\n"}}