Base URL: https://makerble.com/api/v2/scale_indicator_choices
Description: based on story_category_ids & indicator_id, or get paginated records based on page & per_page values.
Get a specific record
Request: To get a specific record, provide the story_category_id and indicator_id in URL
Code Block |
---|
GET /?story_category_id=1390&indicator_id=2701 |
Response
Code Block |
---|
[
{
"choice": "single_choice",
"choice_value": ""
}
] |
Get Paginated Records
Request: To get paginated records, provide the page
and per_page
URL. Default values are page=1
and per_page=10
.
Code Block |
---|
GET /?page=2&per_page=3 |
Response
Code Block |
---|
[
{
"indicator_id": 2669,
"choice": "single_choice",
"choice_value": ""
},
{
"indicator_id": 2667,
"choice": "single_choice",
"choice_value": ""
},
{
"indicator_id": 2670,
"choice": "single_choice",
"choice_value": ""
}
] |
Video of usage
...