triage

Submit a completed questionnaire

Changed on

Keeps only the answers of questions actually asked; 422 lists what is missing (missing_items). A retired version is scored with the rules it was retired with; 409 {"message", "active_version"} when there are none: reload the definition and send again on active_version. 403 for new answers while the onboarding is switched off.

post/api/triage/submissions

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/triage/submissions
  • Auth: HTTP bearer

Request body

privacy_notice_versionstring nullable

Version of the notice accepted

privacy_accepted_atstring date-time nullable

When it was accepted, device time

anonymous_idstring uuid nullable

Install id; required without an access token

attempt_idstring uuid nullable
questionnaire_key'self' | 'loved_one' required
questionnaire_versioninteger required
answersobject required

Keyed by item id, at most 150

gender'masculine' | 'feminine' | 'neutral' nullable

Grammatical gender the app read from the name

platformstring nullable
app_versionstring nullable
qa_variantstring nullable

Forces a variant outside production; marked qa

Response

Successful Response

submission_idstring uuid required

Changes

    • ●

      removed the optional property / from the response with the status

    • ○

      added the optional property / to the response with the status

    • ○

      added the optional property / to the response with the status