...
Run the following command to insert a new yang resource into the yang_resource table with a checksum generated.
Note |
---|
Application must be deployed from before running this command. |
Code Block | ||
---|---|---|
| ||
curl --location --request POST 'http://localhost:8080/cps/api/v1/dataspaces/*dataspacename*/schema-sets' --header 'Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=' --form 'file=*PATH-TO-YANG-FILE*' --form 'schema-set-name='*NAME-OF-SCEHMA-SET-DEFINED-IN-YANG_RESOURCE*' |
...