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": "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
},
{
"description": "The maximum allowed request body size (in bytes). Requests exceeding this limit will be rejected. 0 - no limitation",
"name": "req_max_size",
"type": "number",
"value": 209715200
},
{
"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/5fef3fc7-5544-4258-a6dc-41efd80ce5cc"
},
{
"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": "Base path of the API. All routes will be available with the specified prefix. For example: /melezh",
"name": "base_path",
"type": "string",
"value": ""
},
{
"description": "Additional extensions directory (requires restart to apply)",
"name": "ext_path",
"type": "string",
"value": ""
}
],
"result": true
}