Copy Question
This API is associated with copying question on the Sunbird Platform.
This API is associated with copying question on the Sunbird Platform.
POST
/question/v2/copy/{question_id}
• The endpoint for Copy Question is /question/v2/copy • It points to inquiry-api-service (assessment service) - /question/v5/copy • You need to provide a valid Question Id value in {question_id} field of the API URL. • All parameters marked with * are mandatory. You must provide values for these parameters. • Mandatory fields cannot be null or empty.
Path Parameters
Name | Type | Description |
---|---|---|
question_id* | String | Append a valid Question ID to the Request URL |
Headers
Name | Type | Description |
---|---|---|
Content-Type* | String | The Content-Type entity is the media type of the resource. The possible media types can be: Application/json |
Authorization* | String | You require authorization to make use of the API. 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 organisation. |
Request Body
Name | Type | Description |
---|---|---|
request* | Object | The body is the representation of the resource object for importing a question set |
Sample Request
Request schema
Attribute | Description | Type |
---|---|---|
createdBy | Represents the the user who triggered the copy operation | string |
createdFor | Represents the organization on behalf the request was triggered | Object |
name | Represents the name of the Question to be copied. | string |
Success result schema
Attribute | Type | Description |
---|---|---|
node_id | Array of Object | Node Ids that were copied |
cURL
Last updated