Create Object Category
POST {{baseUrl}}/object/category/v1/create
This API is associated with creating Object Category on the Sunbird Platform.
- The endpoint for Create Object Category is /object/category/v1/create
- It points to taxonomy-service - /object/category/v4/create
- It is mandatory to provide values for parameters marked with *.
- Mandatory fields cannot be null or empty.
Request Body
{"request"=>{"objectCategory"=>{"name"=>"Explanation Content", "description"=>"Content that can be used to Explain"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"api.object.category.create","ver":"3.0","ts":"2020-12-10T20:24:45ZZ","params":{"resmsgid":"3be02c4b-3324-41a3-afd8-60f6be0584d2","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"obj-cat:classroom-teaching-video"}}