Replace a configuration validation with given id
PUThttps://localhost:8900/config/:config_id/validation
Experimental: This API is not stable and might be subject of change.
Replace a configuration validation identified by id with provided value.
Request​
Path Parameters
the identifier of the configuration validation to replace.
- application/json
Body
The identifier of the related configuration.
True, if an external entity should validate a config change. In this case fixcore is emitting a task on the task queue of type validate_config. It expectes a listener to pickup this task and report back, if the configuration is valid or not.
Responses​
- 200
The configuration validation.
- application/json
- Schema
- Example (from schema)
Schema
The identifier of the related configuration.
True, if an external entity should validate a config change. In this case fixcore is emitting a task on the task queue of type validate_config. It expectes a listener to pickup this task and report back, if the configuration is valid or not.
{
"id": "string",
"external_validation": true
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X PUT 'https://localhost:8900/config/:config_id/validation' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"id": "string",
"external_validation": true
}'