Create License

POST {{baseUrl}}/license/v3/create

This API is associated with creating License on the Sunbird Platform. - The endpoint for Create License is /license/v3/create - It points to content-service - /license/v3/create - It is mandatory to provide values for parameters marked with *. - Mandatory fields cannot be null or empty.

Request Body

{"request"=>{"license"=>{"name"=>"CC BY 4.1.1", "url"=>"www.url.com"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.license.create","ver":"3.0","ts":"2020-12-18T06:48:10ZZ","params":{"resmsgid":"5eb2e0f9-e27c-4d38-8353-e1720b0ed78a","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"cc-by-4.0","node_id":"cc-by-4.0"}}