﻿---
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 | &#x2714; | 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/a5079f4d-e730-42fb-9565-75e14795390c"
  },
  {
   "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": ""
  }
 ],
 "result": true
}
```
