Read Question
This API is used to read the question on the Sunbird-inQuiry Platform.
Last updated
This API is used to read the question on the Sunbird-inQuiry Platform.
Last updated
GET
/question/v2/read/{question_id}
• It points to inquiry-api-service (assessment service) - /question/v5/read
• You need to provide a valid Question Id value in {question_id} field of the API URL.
• It is mandatory to provide values for parameters marked with *.
• Mandatory fields cannot be null or empty.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
sample curl to read the metadata
Sample curl to read specific metadata
Attribute | Type | Description |
---|---|---|
question_id*
String
Append a valid Question ID To the Request URL
mode=edit
String
To fetch the latest version of node from the database for edit purpose
fields=comma separated metadata names
String
To fetch the specific fields, this query parameter can be used eg. fields=name,body,answer...
Content-Type
String
The Content-Type entity is the media type of the resource. It should be Application/json
Authorization*
String
To make use of the API, you require authorization. Raise a request to the administrator, for the use of the API. You will receive the authorization key. Specify the key received, here.
Set Bearer {{api_key}}
x-channel-id
String
Unique identification number associated with a root organization.
identifier
string
Unique Question Identifier
name
string
Question name
versionKey
string
Question versionKey
code
string
Unique Question code
lastStatusChangedOn
string
Last status changed time
visibility
string
Question visibility eg. parent
mimeType
string
Question mimeType eg. application/vnd.sunbird.question
createdOn
string
Question createdOn Time
objectType
string
Question objectType
primaryCategory
string
Type of question (Multiple Choice Question or Subjective Question)
lastUpdatedOn
string
Question lastUpdatedOn
status
string
Question status Draft/Review/Live