Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

Introduction

  • Stories are the main content format on Makerble

  • They are used to store text, media and progress towards goals (Changes and Indicators) whereby that progress can optionally be tagged to beneficiaries

  • Every story must belong to a single project

  • Every story must have a single author who is a user

API Documentation

Stories

Desc: Get all viewable stories

url: /stories

params: default params

...

response example: default response example (multiple records)

 

Desc: Post a single story

url: /stories

method: POST

...

response example: default response example (single record)

 

Desc: Get all stories attachments

url: /stories/attachments

...

response example: default response example (multiple records)

 

Desc: Get a single story attachments

url: /stories/:id/attachments

...

response example: default response example (multiple records)

 

Desc: Get a single story cases

Warning: this will be removed soon, use cases story join table to get story cases

url: /stories/:id/cases

params: default params

...