POST eftl/name/channels/name

The web method POST 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 server 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://host:port/api/v1/realm/eftl/clus_name/channels/chan_name json_cmd
curl POST http://host:port/api/v1/realm/eftl/clus_name/channels/chan_name -d '{"cmd":"enable"}'