v1

latestOpenAPI 3.1.02026-07-17254060.5 KB
layers

Add a layer to the plan

Add a layer to the plan's configuration.

post/v1/layers

Request body

action'add'

The action to perform.

combineboolean

Whether to combine the layer with existing layers (if true) or append it (if false).

innerboolean

Whether to add the layer as an inner layer.

labelstring

The label for the layer.

format'yaml'

The format of the layer.

layerstring

The layer data in YAML format.

Response

Layer added successfully.

typestring

Response type, "sync".

status-codeinteger

HTTP response status code.

statusstring

The description of the HTTP status code.

See the IANA list.

resulttrue