Oracle® Communications Unified Data Repository Cloud Native User's Guide Release 1.0 F16987-01 |
|
![]() Previous |
![]() Next |
User Data Repository validates the incoming request body content against the json schema stored in the RESOURCE_MAP table. User Data Repository supports change in the json schema at run time.
Pre-requisite: Login to the NDB Cluster's SQL node with configured username and password.
To change json schema, UDR supports a management API detailed below
A PUT request with body having the updated schema should be sent to UDR.
PUT http://10.75.213.231:30080 /nudr-dr-mgm/v1/policy-data/schema/am-data
{ "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "subscCats": { "type": "array", "items": { "type": "string" } }, "custom": { "type": "string" } }, "definitions": {}, "additionalProperties": false }