GET v1/blocks

Retrieve all blocks. This resource is not paginated.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "blocks": [
    {
      "id": 1,
      "name": "sample string 2",
      "offsets": [
        1,
        2,
        3
      ],
      "location": 1,
      "defaultSourceTime": "2017-12-11T13:06:29.1601735-06:00"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "offsets": [
        1,
        2,
        3
      ],
      "location": 1,
      "defaultSourceTime": "2017-12-11T13:06:29.1601735-06:00"
    },
    {
      "id": 1,
      "name": "sample string 2",
      "offsets": [
        1,
        2,
        3
      ],
      "location": 1,
      "defaultSourceTime": "2017-12-11T13:06:29.1601735-06:00"
    }
  ]
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Blocks>
    <Block>
      <DefaultSourceTime>2017-12-11T13:06:29.1601735-06:00</DefaultSourceTime>
      <Id>1</Id>
      <Location>1</Location>
      <Name>sample string 2</Name>
      <Offsets 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>
      </Offsets>
    </Block>
    <Block>
      <DefaultSourceTime>2017-12-11T13:06:29.1601735-06:00</DefaultSourceTime>
      <Id>1</Id>
      <Location>1</Location>
      <Name>sample string 2</Name>
      <Offsets 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>
      </Offsets>
    </Block>
    <Block>
      <DefaultSourceTime>2017-12-11T13:06:29.1601735-06:00</DefaultSourceTime>
      <Id>1</Id>
      <Location>1</Location>
      <Name>sample string 2</Name>
      <Offsets 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>
      </Offsets>
    </Block>
  </Blocks>
</Resources>