Currently, the backend component of a user feedback system has been implemented.
A new API endpoint: api/feedback/\<id> has been implemented which accepts POST requests and uploaded both the form of the request as well as the current state of the game and uploads those to S3. The endpoint returns status codes:
200 - A successful dry run occurred. If the posted form data contains the field "DRY_RUN" with a boolean value of true, the endpoint will run but will not actually upload to S3, useful for testing. The returned body contains the data that would have been uploaded.
201 - The data was successfully uploaded. The returned body contains the data that was uploaded.
404 - The requested game does not exist.
500 - An exception was thrown during the upload process. The returned body contains the error that was thrown.
Closes #34
Currently, the backend component of a user feedback system has been implemented.
A new API endpoint: api/feedback/\<id> has been implemented which accepts POST requests and uploaded both the form of the request as well as the current state of the game and uploads those to S3. The endpoint returns status codes: