# Get a dynamic WoT validation config section by scopeId

`GET /devops/wot/config/dynamicConfigs/{scopeId}`

Authentication (security requirement alternatives):

```json
[
  {
    "DevOpsBasic": []
  },
  {
    "DevOpsBearer": []
  }
]
```

- DevOpsBasic: http (basic). Eclipse Ditto devops user (devops) + password (foobar)
- DevOpsBearer: http (bearer). A JSON Web Token issued by a supported OAuth 2.0 Identity Provider for the Eclipse Ditto devops user.

Parameters:

- `scopeId` (path, string, required)
  Type: string

Responses:

- 200: The dynamic WoT validation configuration.

Content type: application/json

Type: DynamicValidationConfig

Dynamic config section for request/response.

Schema: [DynamicValidationConfig](https://sourcey-ditto.pages.dev/http-api-doc/models/dynamicvalidationconfig.md)

- `scope-id` (required)
  Type: string

- `validation-context` (required)
  Reference: [ValidationContext](https://sourcey-ditto.pages.dev/http-api-doc/models/validationcontext.md); Type: ValidationContext
  
  Validation context for dynamic config section.

- `config-overrides` (required)
  Reference: [ConfigOverrides](https://sourcey-ditto.pages.dev/http-api-doc/models/configoverrides.md); Type: ConfigOverrides
  
  Config overrides for a dynamic config section.

- 404: Not found

## Examples

### cURL

```bash
curl -X GET 'https://ditto.eclipseprojects.io/devops/wot/config/dynamicConfigs/string' \
  -H 'Authorization: Basic WU9VUl9VU0VSTkFNRTpZT1VSX1BBU1NXT1JE'
```

### JavaScript

```javascript
const response = await fetch('https://ditto.eclipseprojects.io/devops/wot/config/dynamicConfigs/string', {
  method: 'GET',
  headers: {
    'Authorization': 'Basic WU9VUl9VU0VSTkFNRTpZT1VSX1BBU1NXT1JE',
  },
});

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

### Python

```python
import requests

response = requests.get(
    'https://ditto.eclipseprojects.io/devops/wot/config/dynamicConfigs/string',
    headers={
        'Authorization': 'Basic WU9VUl9VU0VSTkFNRTpZT1VSX1BBU1NXT1JE',
    },
)
print(response.text)
```
