GET v1/blocks/{id}

Retrieves a single Block by ID.

Request Information

Parameters

NameDescriptionAdditional information
id ID of the Block

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "block": {
    "id": 1,
    "name": "sample string 2",
    "offsets": [
      1,
      2,
      3
    ],
    "location": 1,
    "defaultSourceTime": "2017-06-23T20:40:49.3493408-05: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">
  <Block>
    <DefaultSourceTime>2017-06-23T20:40:49.3493408-05:00</DefaultSourceTime>
    <Id>1</Id>
    <Location>1</Location>
    <Name>sample string 2</Name>
    <Offsets 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>
    </Offsets>
  </Block>
</Resources>