Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Currently this API works in ways, depending on params. story_category_id is mandator, indicator_id is optional.

Both story_category_id & indicator_id are present

If both are present, then it returns json of single hash

...

Code Block
{
    "choice": "single_choice",
    "choice_value": ""
}

Only story_category_id is present

If only story_category_id is present, then it returns all the rows corresponding to that id

...