1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/md/Addons/Melezh/Console-Interface/Projects-setup/Get-project-settings.mdx
Vitaly the Alpaca (bot) 626ac1c614 Main build (Jenkins)
2025-10-27 16:23:35 +03:00

132 lines
3.4 KiB
Plaintext
Vendored

---
sidebar_position: 3
description: Get project settings and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
---
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
# 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
<br/>
<Tabs>
<TabItem value="bash" label="Bash" default>
```bash
melezh GetProjectSettings \
--proj "/proj.melezh"
```
</TabItem>
<TabItem value="bat" label="CMD/Bat" default>
```batch
melezh GetProjectSettings ^
--proj "/proj.melezh"
```
</TabItem>
</Tabs>
```json title="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/16c79410-9ed0-43b3-aa89-4f8cea8fdde2"
},
{
"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 or cache update to apply)",
"name": "ext_path",
"type": "string",
"value": ""
},
{
"description": "Enables and disables the availability of the Web Console",
"name": "ui_show",
"type": "bool",
"value": true
},
{
"description": "Replaces the output of the title (root) page of Melezh with a redirect to the specified path",
"name": "index_redirect",
"type": "string",
"value": ""
}
],
"result": true
}
```