Skip to content

API endpoint to fetch the information using session id #13

@iwoork

Description

@iwoork

On the survey form, we are passing a random uuid (session id) to the survey. Upon completion of the survey, we are redirecting the user to a page /results?id=the-value-of-uuid-here.

We need to have an api that takes the parameters:

  • uuid: string (user_id from database)

Response:

  • symptoms that are reported (or completed by the user)
  • user info (postal_code, probability)

We need to fetch this information and load it on the /results page users can also share their results with a permalink

Sample permalink: http://findthecluster.com/result?id=4210214-bd5f-f2ef-dd4b-63bbe0152c4d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions