Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
PUT

POST outputs/command/stream/enable

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUTPOST

Start a encoder on the desired MCM device from MCS.

Resource URL

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

Example Request

PUTPOST 

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

Body

Code Block
languagejson
    {
    "device": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b",
    "output": "abc99ad4-3a86-492d-bf88-4dce1345e04e"
    }

Response

Code Block
languagejson
{
    "data": {
        "uuid": "94c1bebb-18b2-4158-9085-0c555c89168b",
        "created": 1644386041787,
        "type": "Start Output",
        "state": "Running",
        "progress": 0,
        "attributes": {
            "device": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b",
            "output": "abc99ad4-3a86-492d-bf88-4dce1345e04e",
            "type": "Start Output",
            "silent": false
        },
        "result": null
    },
    "metadata": {}
}


PUT

POST outputs/command/stream/disable

Resource Information

Requires Authentication?

Yes

Response Formats

json

HTTP Methods

PUTPOST

Stop an encoder on the desired MCM device from EMS.

Resource URL

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

Example Request

PUTPOST 

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

Body

Code Block
languagejson
    {
    "output": "abc99ad4-3a86-492d-bf88-4dce1345e04e"
    }

Response

Code Block
languagejson
{
    "data": {
        "uuid": "8c656f30-7d8d-4979-8b2d-5e06dd624719",
        "created": 1644392126837,
        "type": "Stop Output",
        "state": "Running",
        "progress": 0,
        "attributes": {
            "output": "abc99ad4-3a86-492d-bf88-4dce1345e04e",
            "type": "Stop Output",
            "silent": false
        },
        "result": null
    },
    "metadata": {}
}