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 4 Current »

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": "2102d188-f7b1-4d6a-a8b4-1bd10653c31b",
    "output": "abc99ad4-3a86-492d-bf88-4dce1345e04e"
    }

Response

{
    "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 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": "abc99ad4-3a86-492d-bf88-4dce1345e04e"
    }

Response

{
    "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": {}
}
  • No labels