POST api/v1/eftl/<clus_name>/channels/<chan_name>
Sends a command concerning a specific eFTL channel.
-
clus_name in the URI is the cluster name.
-
chan_name in the URI is the channel name.
Commands
Command
|
Description
|
{"cmd":"disable",{"args":[{"reason":"string"}]}}
|
Disable the channel so clients cannot connect to it.
The eFTL service includes the
reason string in failure responses to clients.
|
{"cmd":"enable"}
|
Enable the channel so clients can connect to it again.
|
Example Requests
curl POST http://localhost:8585/api/v1/realm/eftl/cluster5/channels/chan203 -d '{"cmd":"enable"}'
Copyright © Cloud Software Group, Inc. All rights reserved.