Get the runtime configuration
Returns the public view of the runtime configuration, with every value as a string. It includes the REST parameters with their default value or the one set in config.json, and any other parameter defined in config.json or sent to POST /api/v1/finger/config. It does not reflect values set through environment variables. JWT authentication settings are intentionally omitted.
HS256 JWT signed with auth_jwt_secret and carrying an exp claim, sent as Authorization: Bearer <jwt>.
Accepted while auth_accept_authorization_header is true (default). Only enforced when auth_enabled is
true.
Current configuration.
Public view of the runtime configuration. Every value is returned as a string. It contains the REST
parameters with their default value or the one set in config.json, plus any other parameter defined in
config.json or sent to POST /api/v1/finger/config. It does not reflect values set through environment
variables. JWT authentication settings (auth_*) are always omitted.
JWT authentication is enabled and the request carries no token or an invalid one. message is one of
Missing authentication token, JWT token is expired, JWT token does not include exp claim,
JWT token validation failed or, when auth_jwt_secret is empty, Authentication secret is not configured.
Unhandled internal error. exception carries the detail.
GET /api/v1/finger/config HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"port": "6982",
"number_of_threads": "1",
"connection_timeout": "60",
"keep_alive_request_number": "0",
"client_max_body_size": "100",
"logger_path": "",
"logger_level": "info",
"logger_rotation": "daily",
"logger_max_files": "7"
}Last updated