Get project settings
Gets a list of all current project settings
Function GetProjectSettings(Val Project) Export
Parameter | CLI option | Type | Required | Description |
---|---|---|---|---|
Project | --proj | String | ✔ | Project filepath |
Returns: Structure Of KeyAndValue - Project settings list
- Bash
- CMD/Bat
melezh GetProjectSettings \
--proj "/proj.melezh"
melezh GetProjectSettings ^
--proj "/proj.melezh"
Result
{
"data": [
{
"description": "Web console login Password",
"name": "ui_password",
"type": "string",
"value": "admin"
},
{
"description": "Logs save path. To disable logging, set the value to empty",
"name": "logs_path",
"type": "string",
"value": "C:/Users/bayselonarrend/AppData/Local/Temp/Melezh/2ee7082a-6e05-4e6b-a3a8-1b7d0823f9e9"
},
{
"description": "Logging of incoming request headers",
"name": "logs_req_headers",
"type": "bool",
"value": true
},
{
"description": "Logging the body of incoming requests",
"name": "logs_req_body",
"type": "bool",
"value": true
},
{
"description": "Disable logging logs_req_body for requests over this size (in bytes). 0 - no limitation",
"name": "logs_req_max_size",
"type": "number",
"value": 104857600
},
{
"description": "Logging the body of outgoing responses",
"name": "logs_res_body",
"type": "bool",
"value": true
},
{
"description": "Disable logging logs_res_body for requests over this size (in bytes). 0 - no limitation",
"name": "logs_res_max_size",
"type": "number",
"value": 104857600
},
{
"description": "The flag for using the Melezh {'result':true, 'data': <primary response>} wrapper over the original function responses (does not affect non-JSON responses))",
"name": "res_wrapper",
"type": "bool",
"value": true
}
],
"result": true
}