Versions Compared

Key

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

...

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

example

URL: {{makerble}} https://makerble.com/api/v2/scale_indicator_choices?story_category_id=1390&indicator_id=2701

response

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

...

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

example

URL: https: {{makerble}}//makerble.com/api/v2/scale_indicator_choices?story_category_id=1390

response

Code Block
[
    {
        "indicator_id": 2693,
        "choice": "single_choice",
        "choice_value": ""
    },
    {
        "indicator_id": 2705,
        "choice": "single_choice",
        "choice_value": ""
    }
  ]

...