...
curl -i -d @create_config_template.json -X POST http: // NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/ {name}/{version} / config-template/
|
With the following JSON content (create_config_template.json )
1 2 3 4 | {
"template-name" : "kafka_token",
"description" : "testing Kafka Day 2 config configuration" ,
}
|
Command to UPLOAD Template:
...
Command to GET Templates:
curl -i http: // NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/ {name}/{version} / config-template
curl -i http: // NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/ {name}/{version} / config-template/ {name}
|
...