PostDynamicConfig creates/updates dynamic configuration based on the provided request.
PostDynamicConfig creates/updates dynamic configuration based on the provided request.
Path Parameters
- policy_name string required
- application/json
Request Body required
- dynamic_config object
Responses
- 200
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
- object
{}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
- code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
details object[]
- message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
POST /v1/dynamic-configs/:policy_name
Request
Request
curl / cURL
curl -L -X POST 'https://aperture-controller/v1/dynamic-configs/:policy_name' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dynamic_config": {}
}'
python / requests
curl -L -X POST 'https://aperture-controller/v1/dynamic-configs/:policy_name' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dynamic_config": {}
}'
go / native
curl -L -X POST 'https://aperture-controller/v1/dynamic-configs/:policy_name' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"dynamic_config": {}
}'