POST v1/livestreams

This method requires authentication.

Create a new LiveStream

Request Information

Parameters

NameDescriptionAdditional information
resource LiveStream Resource to create.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "liveStream": {
    "liveStreamConfiguration": {
      "id": 1,
      "controlModuleSet": 1,
      "publicBaseUrl": "sample string 2",
      "reflectBaseUrl": "sample string 3",
      "cablecastBaseUrl": "sample string 4",
      "videoInput": "sample string 5",
      "audioInput": "sample string 6",
      "qualities": "sample string 7",
      "embedTemplate": "sample string 8",
      "inputResolution": "sample string 9",
      "reflectEnabled": true,
      "ipExemptPausedTemplate": "sample string 10",
      "stoppedTemplate": "sample string 11"
    },
    "id": 1,
    "location": 2,
    "name": "sample string 3",
    "channel": 1,
    "transactions": [
      1,
      2,
      3
    ],
    "state": "sample string 4",
    "embedCode": "sample string 5",
    "nonReflectEmbedCode": "sample string 6",
    "views": 8
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <LiveStream>
    <Channel>1</Channel>
    <EmbedCode>sample string 5</EmbedCode>
    <Id>1</Id>
    <LiveStreamConfiguration>7</LiveStreamConfiguration>
    <Location>2</Location>
    <Name>sample string 3</Name>
    <NonReflectEmbedCode>sample string 6</NonReflectEmbedCode>
    <State>sample string 4</State>
    <Transactions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
      <d3p1:int>3</d3p1:int>
    </Transactions>
    <Views>8</Views>
    <LiveStreamConfiguration>
      <AudioInput>sample string 6</AudioInput>
      <CablecastBaseUrl>sample string 4</CablecastBaseUrl>
      <ControlModuleSet>1</ControlModuleSet>
      <EmbedTemplate>sample string 8</EmbedTemplate>
      <Id>1</Id>
      <InputResolution>sample string 9</InputResolution>
      <IpExemptPausedTemplate>sample string 10</IpExemptPausedTemplate>
      <PublicBaseUrl>sample string 2</PublicBaseUrl>
      <Qualities>sample string 7</Qualities>
      <ReflectBaseUrl>sample string 3</ReflectBaseUrl>
      <ReflectEnabled>true</ReflectEnabled>
      <StoppedTemplate>sample string 11</StoppedTemplate>
      <VideoInput>sample string 5</VideoInput>
    </LiveStreamConfiguration>
  </LiveStream>
</Resources>