Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 547 Bytes

load-survey-result.md

File metadata and controls

13 lines (10 loc) · 547 Bytes

Survey results

Leia-me em Português (Brasil)

Success case:

  1. ⛔️ Receives a GET request from route /api/surveys/{survey_id}/results
  2. ⛔️ Validates if the request was sent with an access token
  3. ⛔️ Returns 200 with the poll result

Exceções:

  1. ⛔️ Returns 404 error code if the route is not available
  2. ⛔️ Returns 403 error code if an access token is not provided
  3. ⛔️ Returns 500 error code if something goes wrong while collecting poll data