GET v1/media/{id}

Retrieve a specific Media by ID.

Request Information

Parameters

NameDescriptionAdditional information
id ID of Media to retrieve.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "media": {
    "id": 1,
    "creationDate": "2017-03-30T07:40:51.5320459-05:00",
    "dispositionDate": "2017-03-30T07:40:51.5320459-05:00",
    "disposition": 1,
    "format": 1,
    "location": 1,
    "mediaName": "sample string 2",
    "preAssignedDevice": 1,
    "preAssignedDeviceSlot": 1,
    "overrideAspectRatio": 1
  }
}

application/xml, text/xml

Sample:
<Resources xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CablecastAPI.DTOs">
  <Media>
    <CreationDate>2017-03-30T07:40:51.5320459-05:00</CreationDate>
    <Disposition>1</Disposition>
    <DispositionDate>2017-03-30T07:40:51.5320459-05:00</DispositionDate>
    <Format>1</Format>
    <Id>1</Id>
    <Location>1</Location>
    <MediaName>sample string 2</MediaName>
    <OverrideAspectRatio>1</OverrideAspectRatio>
    <PreAssignedDevice>1</PreAssignedDevice>
    <PreAssignedDeviceSlot>1</PreAssignedDeviceSlot>
  </Media>
</Resources>