Get Object Category Definition
POST {{baseUrl}}/object/category/definition/v1/read
This API is associated with creating Object Category Definition on the Sunbird Platform.
- The endpoint for Create Object Category Definition is /object/category/definition/v1/read
- It points to taxonomy-service - /object/category/definition/v4/read
- It is mandatory to provide values for parameters marked with *.
- Mandatory fields cannot be null or empty.
Request Body
{"request"=>{"objectCategoryDefinition"=>{"name"=>"learning resource", "objectType"=>"Content", "channel"=>"013085024460783616158023"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"api.object.category.definition.read","ver":"3.0","ts":"2020-12-14T14:01:36ZZ","params":{"resmsgid":"8c94cbfa-7bb9-4d81-97f5-6cd1bdbe0ed6","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"objectCategoryDefinition":{"identifier":"obj-cat:learning-resource_content_013085024460783616158023","objectMetadata":{"config":{},"schema":{}},"languageCode":[],"forms":{}}}}