# Get a plugin's public settings

`GET /api/v1/plugins/{npmName}/public-settings`

Authentication: no security requirement declared for this operation.

Parameters:

- `npmName` (path, string, required) - name of the plugin/theme on npmjs.com or in its package.json
  Type: string
  
  Example:
  
  ```json
  "peertube-plugin-auth-ldap"
  ```

Responses:

- 200: successful operation

Content type: application/json

Type: object

Additional properties: true

- 404: plugin not found

## Examples

### cURL

```bash
curl -X GET 'https://peertube2.cpy.re/api/v1/plugins/peertube-plugin-auth-ldap/public-settings'
```

### JavaScript

```javascript
const response = await fetch('https://peertube2.cpy.re/api/v1/plugins/peertube-plugin-auth-ldap/public-settings', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('https://peertube2.cpy.re/api/v1/plugins/peertube-plugin-auth-ldap/public-settings')
print(response.text)
```
