Last updated 5 months ago
Was this helpful?
Get detailed list of existing configurations
/api/v4.0/conf/configs
curl -L \ --url '/api/v4.0/conf/configs'
{ "total": 1, "items": [ { "date": "2025-02-21T18:13:29.653Z", "description": "text", "id": "text", "version": "text", "logs": [] } ] }
Retrieve a complete configuration
/api/v4.0/conf/configs/{config}
curl -L \ --url '/api/v4.0/conf/configs/{config}'
No body
Get all versions of a given configuration
/api/v4.0/conf/configs/{config}/versions
curl -L \ --url '/api/v4.0/conf/configs/{config}/versions'
{ "total": 1, "items": [ { "author": "text", "email": "hello@example.com", "message": "text", "date": "2025-02-21T18:13:29.653Z", "version": "42bcc1282349db1e5791484c3d69420b1d8a8bc1", "parents": [ "f44073242093228b45bff7eb7a065559fa9b46aa" ] } ] }
Set a previous version of a configuration to be the current one
/api/v4.0/conf/configs/{config}/versions/{version}/revert
curl -L \ --request PUT \ --url '/api/v4.0/conf/configs/{config}/versions/{version}/revert'
{ "message": "Successfully updated entry" }