list configuration - GeoSmartCity-CIP/crowd-sourcing GitHub Wiki

List Configuration

Lists current service configuration. The configuration contains allowed values of the following properties: priority, status, mime_type and tag. The values should be offered to user via GUI.

Request URL: config

Response example

{
   "priorities":["normal","low","high"],
   "statuses":["submitted","assigned","solved","closed"],
   "mime_types":["image/jpeg"],
   "tags":["water rupture","sewage obstruction"]
}