Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

PUT outputs/command/stream/enable

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Start a encoder on the desired MCM device from MCS.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/outputs/command/stream/enable

Example Request

PUT 

  1. https://192.168.0.22/api/5.0/outputs/command/stream/enable

Body

    {
    "device": "f0fd7753-5843-43a3-acf7-eaf8065f8010",
    "output": "6975d102-7994-4fac-a6df-f6ca6b17d43d"
    }

Response

{
    "data": [
        {
            "uuid": "8ab531da-c817-4f89-8c94-1cc9f5dc323e",
            "created": 1632022703439,
            "type": "Start Output",
            "state": "Running",
            "progress": 0,
            "attributes": {
                "device": "f0fd7753-5843-43a3-acf7-eaf8065f8010",
                "output": "6975d102-7994-4fac-a6df-f6ca6b17d43d",
                "type": "Start Output"
            },
            "result": null
        }
    ],
    "metadata": {}
}


PUT outputs/command/stream/disable

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUT

Stop an encoder on the desired MCM device from EMS.

Resource URL

https://{{ip_address}}:{{port}}/api/{{version}}/outputs/command/stream/disable

Example Request

PUT 

  1. https://192.168.0.22/api/5.0/outputs/command/stream/disable

Body

{
    "output": "6975d102-7994-4fac-a6df-f6ca6b17d43d"
}

Response

{
    "data": [
        {
            "uuid": "136b1a80-48f2-4c03-9c5c-b6dcd6bce967",
            "created": 1632022765076,
            "type": "Stop Output",
            "state": "Running",
            "progress": 0,
            "attributes": {
                "output": "6975d102-7994-4fac-a6df-f6ca6b17d43d",
                "type": "Stop Output"
            },
            "result": null
        }
    ],
    "metadata": {}
}
  • No labels