Update Object Category Definition
PATCH {{baseUrl}}/object/category/definition/v1/update/:ObjectCategoryDefinition_Id
This API is associated with updating object category on the Sunbird Platform .
- /Update/ endpoint executes the Update Object Category Definition
request based on parameters provided as metadata in the request body.
- The endpoint for Update Object Category Definition is /object/category/definition/v1/update/{ID}
- It points to taxonomy-service - /object/category/definition/v4/update/{ID}
- {...}refers to a section of review endpoint URL path that needs to be replaced by appropriate Id.
- It is mandatory to provide values for parameters marked with *.
- Mandatory fields cannot be null or empty.
Request Body
{"request"=>{"content"=>{"description"=>"Updated description"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"api.object.category.definition.update","ver":"4.0","ts":"2020-12-10T20:26:07ZZ","params":{"resmsgid":"80aa9310-b749-411c-a13b-8d9f25af389f","msgid":null,"err":null,"status":"successful","errmsg":null},"responseCode":"OK","result":{"identifier":"obj-cat:explanation-content_content_all"}}