GET
/
assessment
/
api
/
v1
/
component_list
/

The response of this API contains the details of all the components and request and response format of each component in the form of json schema. These json schemas can be used to validate the request and response format of each component.

The format of the response is as follows:

Response

{
    "success": true,
    "data": {
        "autosuggest": {
            "question": {}, //json_schema for I-ATSG component question
            "answer": {} // json_schema for I-ATSG component answer
        },
        "multi_select": {
            "question": {}, // json_schema for I-MULT component question
            "answer": {} // json_schema for I-MULT component answer
        },
        "radio": {
            "question": {}, // json_schema for I-RADO component question
            "answer": {} // json_schema for I-RADO component answer
        },
        "radio_group": {
            "question": {}, // json_schema for I-RADG component question
            "answer": {} // json_schema for I-RADG component answer
        }
    }
}

Headers

auth
string
required

The auth token of the user. It is used to authenticate the user.

Content-Type
string

The content type of the request. It is used to determine the type of data being sent.

Response

200 - application/json

The response contains json schema for request and response format of each component.