Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 430 Bytes

survey-result.md

File metadata and controls

11 lines (9 loc) · 430 Bytes

Survey results

Success case:

  1. ✅ Receives a request of type GET on route /api/surveys/{survey_id}/results
  2. ✅ Validates if the request was made by a user
  3. ✅ Returns 200 with the survey result data

Exceptions:

  1. ✅ Returns error 404 if the API does not exist
  2. ✅ Returns error 403 if not a user
  3. ✅ Returns error 500 if an error occurs when trying to list the survey results