Versions Compared

Key

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

You can use the API to get all the story categories which are viewable by the requesting user.

API Documentation

  • Endpoint: GET /api/v2/scale_indicator_choices?page=2&per_page=2

  • Authentication: Requires valid authentication token

  • Response format: JSON

  • Query Parameters:

    • page (integer, optional): The page number for pagination (default is 1).

    • per_page (integer, optional): The number of choices per page (default is 10).

...

  • page (integer): The current page number.

  • page_size (integer): The number of choices per page.

  • page_count (integer): The total number of pages.

  • total_count (integer): The total number of scale indicator choices.

  • data (array of objects): List of scale indicator choices.

    • id (integer): The unique identifier for the choice.

    • resource_choice_id (integer): The ID of the associated resource choice.

    • resource_choice_type (string): The type of resource choice (e.g., "StoryCategory").

    • indicator_id (integer): The ID of the associated scale indicator.

    • choice (string): The type of choice (e.g., "single_choice").

    • choice_value (string): The value associated with the choice.

    • updated_at (string, ISO 8601 datetime): The timestamp when the choice was last updated.

    • created_at (string, ISO 8601 datetime): The timestamp when the choice was created.

 

Example

GET https://makerble.com/api/v2/story_categories?page=2&per_page=2

...