Duplicate Channel

post/api/channels/:channel_id/duplicate/

Create a new channel as a copy of channel_id.

overrides is a complete channel in the create schema: metadata.name names the copy and spec is its whole spec (typically the source's, edited). The copy keeps the source's service configs, including settings the spec doesn't model; internal addresses, service ids and names are regenerated. It is created Stopped unless spec.state is Running. Returns the new channel like create does, with a Location header; provisioning continues in the background.

Path parameters

channel_idstringRequired

Request

This endpoint expects an object.

Loading schema details…

Response

201Successful Response

Loading schema details…

Errors

422Validation Error

Loading schema details…

503Service unavailable

No response body.