Create a Framework

POST {{baseUrl}}/framework/v1/create

This API is associated with creating a new framework on the Sunbird Platform. - The endpoint for Create a Framework is /framework/v1/create - It points to knowledge-mw-service - /v1/framework/create - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.

Request Body

{"request"=>{"framework"=>{"name"=>"Framework Name", "code"=>"dummy_framework7", "channels"=>[{"identifier"=>"in.ekstep"}]}}}

HEADERS

KeyDatatypeRequiredDescription
X-Channel-Idstring(Required) It is the Unique Id to identify the root organisation to which the user belongs
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.framework.create","ver":"1.0","ts":"2020-12-14T09:49:06.794Z","params":{"resmsgid":"9b5d7ca0-3df1-11eb-9ff3-67c41480f6aa","msgid":"9b4a90e0-3df1-11eb-9ff3-67c41480f6aa","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"node_id":"dummy_framework","versionKey":"1607939346678"}}