Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

# Get all TemplatesTemplates [DOES NOT WORK]
curl -i http://NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/{name}/{version}/config-template
 
# Get one Template
curl -i http://NODE_IP:30280/api/multicloud-k8s/v1/v1/rb/definition/{name}/{version}/config-template/{name}

...