LiquidFeedback API suggestion

To request the preliminary suggestion api, call <BASEURL>/api/suggestion.html with the following arguments as HTTP GET parameters. For example call
http://example.com/liquidfeedback/api/suggestion.html?key=MYSECRETAPIKEYFORLQFB&api_engine=json&initiative_id=23 to get all suggestions for initiative number 23 in json encoding.

Request parameters (HTTP GET parameters)

key [MANDATORY]

Your personal API key, request it under "Settings" → "Developer settings" in LiquidFeedback.

api_engine

The format for encoding the answer of the request. Valid options are "json" and "xml". Defaults to "xml".

id

Return only suggestion matching this id

min_id

Return only suggestions with id >= min_id

max_id

Return only suggestions with id ⇐ max_id

initiative_id

Return only suggestion for specific initiative

limit

Limit how many results should be delivered.

order

How to order the result set. Currently per default by "id", other valid option is "id_desc".

Attributes of the resulting initiatives

id [integer]

Id of the suggestion.

initiative_id [integer]

Id of the initiative.

name [string]

Title of the suggestion.

description [string]

Description of the suggestion.

minus2_unfulfilled_count [integer]

minus2_fulfilled_count [integer]

minus1_unfulfilled_count [integer]

minus1_fulfilled_count [integer]

plus1_unfulfilled_count [integer]

plus1_fulfilled_count [integer]

plus2_unfulfilled_count [integer]

plus2_fulfilled_count [integer]