TransferStream
Transfer a stream with archive from one server to another
The stream configuration with the same ID must be created on both the current and target nodes.
POST /api/streams/{stream-uid}/transfer/
Body | |||||||||
json |
JSON
| ||||||||
stream-uidoptional | uid | Unique identifier of the stream {@hint:uid} | |||||||
tokenrequired | string | Authorization token for API requests. see Mediaserver/Web API/Authorization/CreateApiToken | |||||||
stream_configoptional | str | ||||||||
target_primaryoptional | str | ||||||||
current_secondaryoptional | array | ||||||||
target_primaryoptional | str | ||||||||
target_secondaryoptional | array | ||||||||
is_save_currentoptional | bool |
Response | |||||||||
200 | Returns the UID of the stream | ||||||||
JSON
| |||||||||
404 | Stream with such UID not found | ||||||||
403 | Authorization error. Invalid or missing API access token. see Mediaserver/Web API/Authorization/CreateApiToken for details. |
Example | |||||||||
JSON
|