This method returns all FAQ records based on the provided parameters.
URL
https://api.plupper.com/resources/faq?p=<adminUsername>
https://api.plupper.com/resources/faq/<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
["{\"id\":39195,\"rank\":1,\"answer\":\"<p>One operator account is completely for free. There are no hidden costs. This should be enough for individuals or even for small organizations. If you would need more than one active operator, you will need to pay for it.</p>\",\"question\":\"<p><strong>Is Plupper for free?</strong></p>\",\"uri\":\"http:\/\/www.plupper.com\/resources\/faq\/39195\"}",
"{\"id\":39196,\"rank\":2,\"answer\":\"<p>No.</p>\",\"question\":\"<p><strong>Are there any hidden fees?</strong></p>\",\"uri\":\"http:\/\/www.plupper.com\/resources\/faq\/39196\"}"]
get single
{"id":39195,"rank":1,"answer":"<p>One operator account is completely for free. There are no hidden costs. This should be enough for individuals or even for small organizations. If you would need more than one active operator, you will need to pay for it.</p>","question":"<p><strong>Is Plupper for free?</strong></p>","uri":"http://www.plupper.com/resources/faq/39195"}
Example queries
- Find all FAQs https://api.plupper.com/resources/faq?p=john.lennon@plupper.com
- Get FAQ with id=3456 https://api.plupper.com/resources/faq/3456
-
jQuery example
//get all $.getJSON( "https://api.plupper.com/resources/faq", function(data) { for(var i in data) { var json = eval('(' + data[i] + ')'); alert("Question: " + json.question); } }); //get single $.getJSON( "https://api.plupper.com/resources/faq/" + faqId, function(json) { alert("Question: " + json.question); });