GET v1/livestreams

Retrieve all LiveStreams.

Request Information

Parameters

NameDescriptionAdditional information
location Filter by a specific Location ID.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "liveStreams": [
    {
      "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",
      "liveStreamConfiguration": 7,
      "views": 8
    },
    {
      "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",
      "liveStreamConfiguration": 7,
      "views": 8
    },
    {
      "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",
      "liveStreamConfiguration": 7,
      "views": 8
    }
  ],
  "liveTransactions": [
    {
      "id": 1,
      "liveStream": 2,
      "state": "sample string 3",
      "message": "sample string 4",
      "timestamp": "2017-09-20T20:17:07.7779776-05:00",
      "user": "sample string 6"
    },
    {
      "id": 1,
      "liveStream": 2,
      "state": "sample string 3",
      "message": "sample string 4",
      "timestamp": "2017-09-20T20:17:07.7779776-05:00",
      "user": "sample string 6"
    },
    {
      "id": 1,
      "liveStream": 2,
      "state": "sample string 3",
      "message": "sample string 4",
      "timestamp": "2017-09-20T20:17:07.7779776-05:00",
      "user": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <LiveStreams>
    <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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </Transactions>
      <Views>8</Views>
    </LiveStream>
    <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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </Transactions>
      <Views>8</Views>
    </LiveStream>
    <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:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
        <d4p1:int>3</d4p1:int>
      </Transactions>
      <Views>8</Views>
    </LiveStream>
  </LiveStreams>
  <LiveTransactions>
    <LiveStransaction>
      <Id>1</Id>
      <LiveStream>2</LiveStream>
      <Message>sample string 4</Message>
      <State>sample string 3</State>
      <Timestamp>2017-09-20T20:17:07.7779776-05:00</Timestamp>
      <User>sample string 6</User>
    </LiveStransaction>
    <LiveStransaction>
      <Id>1</Id>
      <LiveStream>2</LiveStream>
      <Message>sample string 4</Message>
      <State>sample string 3</State>
      <Timestamp>2017-09-20T20:17:07.7779776-05:00</Timestamp>
      <User>sample string 6</User>
    </LiveStransaction>
    <LiveStransaction>
      <Id>1</Id>
      <LiveStream>2</LiveStream>
      <Message>sample string 4</Message>
      <State>sample string 3</State>
      <Timestamp>2017-09-20T20:17:07.7779776-05:00</Timestamp>
      <User>sample string 6</User>
    </LiveStransaction>
  </LiveTransactions>
</Resources>