This method returns all ideas from the "Share Idea" list based on the provided parameters.
URL
https://api.plupper.com/resources/idea?p=<adminUsername>
https://api.plupper.com/resources/idea/<id>
Formats
json
HTTP Method
GET
Requires Authentication
NO
API rate limited
No
Parameters
p:Required - Provider id = your admin username eg.john.lennon@plupper.com
Response
get all
["{\"summary\":\"Title of first idea\",\"reporter\":37990,\"id\":37991,\"created\":\"Thu Aug 27 18:05:54 UTC 2009\",\"status\":\"DONE\",\"description\":\"Great Idea - Really GREAT.\",\"votes\":13,\"uri\":\"http:\/\/www.plupper.com\/resources\/idea\/37991\"}",
"{\"summary\":\"Title of second idea\",\"reporter\":14851,\"id\":37006,\"created\":\"Mon Aug 24 21:55:15 UTC 2009\",\"status\":\"UNDER_REVIEW\",\"description\":\"Second GREAT Idea\",\"votes\":4,\"uri\":\"http:\/\/www.plupper.com\/resources\/idea\/37006\"}"]
get single
{"summary":"Title of idea","reporter":37990,"id":37991,"created":"Thu Aug 27 18:05:54 UTC 2009","status":"DONE","description":"yes, yes, this is best idea i ever had.","votes":13,"uri":"http://www.plupper.com/resources/idea/37991"}"
Example queries
- Find all ideas https://api.plupper.com/resources/idea?p=john.lennon@plupper.com
- Get idea with id=3456 https://api.plupper.com/resources/idea/3456
-
jQuery example
//get all $.getJSON( "https://api.plupper.com/resources/idea?p=john.lennon@plupper.com", function(data) { for(var i in data) { var json = eval('(' + data[i] + ')'); alert("Title: " + json.title); } }); //get single $.getJSON( "https://api.plupper.com/resources/idea/" + ideaId, function(json) { alert("Title: " + json.title); });