Default credentials are bober:pleasechange
. Please do what the
password asks.
Payload body is expected to be 'Content-Type': 'application/json'
with the following format:
{"kits": {"kit_name": {"releases": {"release_name": {"version": "###"}}}}}
An example:
curl -d '{"kits": {"blacksmith": {"releases": {"blacksmith": {"version": "555"}}}}}' -H "Content-Type: application/json" -u USER:PASS -X POST http://localhost:8080/update_version
No payload body expected. Calling this endpoint will refresh the latest upstream versions from GitHub.
Payload body is a YAML file (binary).
An example:
curl --data-binary @config.yml -u USER:PASS -X POST http://localhost:8080/update_config
Returns the configuration file in YAML text.