This is the API to register a respondent. The backend needs to have a mapping of the user signed up in the Cognito pool. The API expects an object of type RespondentRegistrationRequest as the request body and receives a response object of type RespondentRegistrationResponse if the respondent is successfully registered. The following code block shows the fragment from the swagger documentation:
"/respondent": { "post": { "summary": "Registers a respondent", "consumes": [ "application/json" ], "produces": [ "application/json" ], "parameters": [ { "in": "body", "name": "RespondentRegistrationRequest", "description": "Request body description", "required": true, "schema": { "$ref": "#/definitions/RespondentRegistrationRequest" ...