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": "f0fd77532102d188-5843f7b1-43a34d6a-acf7a8b4-eaf8065f80101bd10653c31b",
    "output": "6975d102abc99ad4-79943a86-4fac492d-a6dfbf88-f6ca6b17d43d4dce1345e04e"
    }

Response

Code Block
languagejson
{
    "data": [
        {
  
         "uuid": "8ab531da94c1bebb-c81718b2-4f894158-8c949085-1cc9f5dc323e0c555c89168b",
            "created": 16320227034391644386041787,
            "type": "Start Output",
  
         "state": "Running",
            "progress": 0,
            "attributes": {
                "device": "f0fd77532102d188-5843f7b1-43a34d6a-acf7a8b4-eaf8065f80101bd10653c31b",
                "output": "6975d102abc99ad4-79943a86-4fac492d-a6dfbf88-f6ca6b17d43d4dce1345e04e",
                "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": "6975d102abc99ad4-79943a86-4fac492d-a6dfbf88-f6ca6b17d43d4dce1345e04e"
    }

Response

Code Block
languagejson
{
    "data": [
        {
            "uuid": "136b1a808c656f30-48f27d8d-4c034979-9c5c8b2d-b6dcd6bce9675e06dd624719",
            "created": 16320227650761644392126837,
   
        "type": "Stop Output",

           "state": "Running",
 
          "progress": 0,
            "attributes": {
                "output": "6975d102abc99ad4-79943a86-4fac492d-a6dfbf88-f6ca6b17d43d4dce1345e04e",
                "type": "Stop Output",
            },"silent": false
        },
        "result": null
 
      }
    ],
    "metadata": {}
}