GET v1/channels

Retrieves all channels.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "channels": [
    {
      "id": 1,
      "name": "sample string 2",
      "primaryLocation": 1,
      "primaryOutput": 1,
      "interstitialDwell": 1,
      "liveStreams": [
        1,
        2,
        3
      ],
      "publicSite": 1,
      "channelContactInfo": 3,
      "automationOverriden": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "primaryLocation": 1,
      "primaryOutput": 1,
      "interstitialDwell": 1,
      "liveStreams": [
        1,
        2,
        3
      ],
      "publicSite": 1,
      "channelContactInfo": 3,
      "automationOverriden": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "primaryLocation": 1,
      "primaryOutput": 1,
      "interstitialDwell": 1,
      "liveStreams": [
        1,
        2,
        3
      ],
      "publicSite": 1,
      "channelContactInfo": 3,
      "automationOverriden": true
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Channels>
    <Channel>
      <AutomationOverriden>true</AutomationOverriden>
      <ChannelContactInfo>3</ChannelContactInfo>
      <Id>1</Id>
      <InterstitialDwell>1</InterstitialDwell>
      <LiveStreams 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>
      </LiveStreams>
      <Name>sample string 2</Name>
      <PrimaryLocation>1</PrimaryLocation>
      <PrimaryOutput>1</PrimaryOutput>
      <PublicSite>1</PublicSite>
    </Channel>
    <Channel>
      <AutomationOverriden>true</AutomationOverriden>
      <ChannelContactInfo>3</ChannelContactInfo>
      <Id>1</Id>
      <InterstitialDwell>1</InterstitialDwell>
      <LiveStreams 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>
      </LiveStreams>
      <Name>sample string 2</Name>
      <PrimaryLocation>1</PrimaryLocation>
      <PrimaryOutput>1</PrimaryOutput>
      <PublicSite>1</PublicSite>
    </Channel>
    <Channel>
      <AutomationOverriden>true</AutomationOverriden>
      <ChannelContactInfo>3</ChannelContactInfo>
      <Id>1</Id>
      <InterstitialDwell>1</InterstitialDwell>
      <LiveStreams 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>
      </LiveStreams>
      <Name>sample string 2</Name>
      <PrimaryLocation>1</PrimaryLocation>
      <PrimaryOutput>1</PrimaryOutput>
      <PublicSite>1</PublicSite>
    </Channel>
  </Channels>
</Resources>