GET /stages/<story name> returns information about all of the stages for the given story
GET /stage-states/<student ID>/<story name> returns all of the given student's stage states for the given story
The response object here is of the form { "stage_name": "stage_state", ... }
This PR also contains setup infrastructure for the new Stages table which contains information about all of the stages for a given story. We need to add these stages to this table ourselves - there isn't any process to autogenerate these from e.g. story code.
This PR adds the following endpoints:
GET /stages/<story name>
returns information about all of the stages for the given storyGET /stage-states/<student ID>/<story name>
returns all of the given student's stage states for the given storyThis PR also contains setup infrastructure for the new
Stages
table which contains information about all of the stages for a given story. We need to add these stages to this table ourselves - there isn't any process to autogenerate these from e.g. story code.