KimchiAPI/api_handler/configuration.json

25 lines
833 B
JSON

{
"name": "Example API service",
"configuration": {
"logging_enabled": true,
"root_path": "/test",
"debugging_mode": false,
"framework_signature": true,
"api_signature": true,
"khm_enabled": true,
"firewall_deny": [],
"headers": {}
},
"versions": [
{
"version": "v1",
"enabled": true,
"methods": [
{"methods": ["GET", "POST"], "path": "ping", "class": "\\Methods\\v1\\PingMethod"},
{"methods": ["GET", "POST"], "path": "parameter_test", "class": "\\Methods\\v1\\ParameterTestMethod"},
{"methods": ["GET", "POST"], "path": "auth/simple", "class": "\\Methods\\v1\\AuthenticationTestMethod"},
{"methods": ["GET", "POST"], "path": "auth/user", "class": "\\Methods\\v1\\UserAuthenticationTestMethod"}
]
}
]
}