/config
Gets the service configuration (only the parameters listed in ConfigResult).
JWT signed with HS256 (shared secret auth_jwt_secret) and with a non-expired exp claim; if it includes nbf, it must be currently valid. Only applied if auth_enabled is true and auth_accept_authorization_header is true. The Bearer scheme is case-insensitive.
JSON object with the service configuration.
JSON object with the service configuration parameters exposed by the management endpoint. The JWT authentication parameters, logger_file_prefix and the metrics_* parameters are not included.
6982I/O threads. 0 = number of CPU cores. Without config.json the default value is 1.
1Seconds a connection stays alive without reads or writes (0 = no limit).
0Maximum requests per keep-alive connection (0 = no limit).
0Maximum body size in MB.
100Base path of the logs. Without config.json the default value is /service/config.
/service/configinfoValores possíveis: dailyValores possíveis: 0JWT authentication is enabled and the token is missing or invalid.
An error occurred in the Backend1N service.
GET /config HTTP/1.1
Host: 127.0.0.1:6982/
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"port": 6982,
"number_of_threads": 1,
"connection_timeout": 0,
"keep_alive_request_number": 0,
"client_max_body_size": 100,
"logger_path": "/service/config",
"logger_level": "info",
"logger_rotation": "daily",
"logger_max_files": 0
}Atualizado