Asset Create Copy

POST {{baseUrl}}/asset/v1/create

This API is associated with creating asset on the Sunbird Platform. - The endpoint for Create Asset is /asset/v1/create - It points to knowledge-mw-service - /v1/asset/create - It is mandatory to provide values for parameters marked with * - Mandatory fields cannot be null or empty.

Request Body

{"request"=>{"asset"=>{"channel"=>"et qui officia non", "code"=>"tempor nostrud esse", "createdBy"=>"conseq", "creator"=>"in enim", "keywords"=>["hi, hello, neer"], "language"=>["English", "Telugu"], "mediaType"=>"other", "mimeType"=>"application/json", "name"=>"consequat in aute irure", "primaryCategory"=>"explanation-content-latests"}}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring(Required) 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.
Content-TypestringThe Content Type entity is the media type of the resource.Possible
x-authenticated-user-tokenstring(Required) Represents the authorized User ID to execute the API
X-Channel-IDstring(Required) Represents a physical location (e.g: state) uniquely to which the user belongs
Acceptstring

RESPONSES

status: OK

{"id":"api.asset.create","ver":"4.0","ts":"2021-12-29T09:20:03ZZ","params":{"resmsgid":"bc3f02f5-d550-42b0-904e-38eb671248ef","status":"successful"},"responseCode":"OK","result":{"identifier":"do_113441184591495168151","node_id":"do_113441184591495168151","versionKey":"1640769603462"}}