Versions Compared

Key

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

Introduction

  • Story Categories are called Surveys in the front-end

  • A survey can only be used once it has been added to a project

  • Once a Survey has been added to a project, the Project Story Category is referred to in the front-end as a Survey Campaign

  • A Survey Campaign page allows the user to deploy the survey (to beneficiaries in that particular project) and view results (i.e. see the stories that were created using that Story Category)

...

Project Story Categories (aka Survey campaign) (Not merged)

  • Endpoint: GET /api/v2/project_story_categories?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 project story categories per page.

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

  • total_count (integer): The total number of project story categories.

  • data (array of objects): List of project story categories.

Example

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

...