Update Term

PATCH {{baseUrl}}/framework/v1/term/update{{code}}?framework=Ut enim offici&category=Ut enim offici

This API is associated with updating a term under a category in a framework on Sunbird Platform - The endpoint for Update Term is /framework/v1/term/update{code} - It points to knowledge-mw-service - /v1/framework/term/update/{code} - The fields marked with an asterisk (*) are mandatory. They cannot be null or empty.

Request Params

KeyDatatypeRequiredDescription
frameworkstring(Required) Represents the framework in which the terms is to be updated
categorystring(Required) Represents the category in which the term is to be updated

Request Body

{"request"=>{"term"=>{"name"=>"English", "description"=>"English"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"id":"api.term.update","ver":"1.0","ts":"2020-12-14T19:48:19.754Z","params":{"resmsgid":"50ffd0a0-3e45-11eb-9ff3-67c41480f6aa","msgid":"50f04040-3e45-11eb-9ff3-67c41480f6aa","status":"successful","err":null,"errmsg":null},"responseCode":"OK","result":{"node_id":"dummy_framework_subject_english","versionKey":"1607975299669"}}