mirror of
https://github.com/minio/minio.git
synced 2025-02-07 03:38:09 -05:00
This PR adds two new admin APIs in Minio server and madmin package: - GetConfigKeys(keys []string) ([]byte, error) - SetConfigKeys(params map[string]string) (err error) A key is a path in Minio configuration file, (e.g. notify.webhook.1) The user will always send a string value when setting it in the config file, the API will know how to convert the value to the appropriate type. The user is also able to set a raw json. Before setting a new config, Minio will validate all fields and try to connect to notification targets if available.
16 KiB
1034x339px
16 KiB
1034x339px
![](/MyFavMirrors/minio/raw/commit/19c10cb4d00bfa25184c36088e64a3d421ae30e8/vendor/github.com/tidwall/sjson/logo.png)