Versions Compared

Key

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

...

Code Block
languagejs
titleProfile JSON Body
{
   "rb-name":"kafka",
   "rb-version":"kafka-config-1",
   "profile-name":"1234567890",
   "template-name": "kafka-token"
   "config-name": "kafka_token_1"
   "config-version":"1.0"
   }
}

Command to GET Configuration Values

Code Block
languagebash
# Get all Values
curl -i http://localhost:8081/v1/rb/definition/{name}/{version}/profile/{name}/config

# Get one Value with config versionname
curl -i http://localhost:8081/v1/rb/definition/{name}/{version}/profile/{name}/config/{name}

...


Command to ROLLBACK   configuration Values 

Rollbacks to the config version

Code Block
languagebash
curl -i -d @values.json -X POST http://localhost:8081/v1/rb/definition/{name}/{version}/profile/{name}/rollback

...

Command to TAG  configuration Values 

This will add the tag name to the current config version

Code Block
languagebash
curl -i  -d @values.json -X POST http://localhost:8081/v1/rb/definition/{name}/{version}/profile/{name}/tagit

...