Station/id/Schedule

From Oxygen.next Wiki

Jump to: navigation, search

Returns a SMIL or RSS/MediaRSS compatible xml file of the requested station object.


URL: https://oxygennext.apigee.com/Station/{stationId}/Schedule.{format}

Formats: SMIL, MediaRSS (Click here for a list of Compatible Clients)

HTTP Method(s): GET

API rate limited (about Rate Limiting): true

Authentication: Method does require authentication depending on format! SMIL doesnt need authentication while MediaRSS needs!


Response (about return values):

XML example (truncated):

<?xml version="1.0" encoding="utf-8" ?>
<smil>
  <head>
    <layout>
      <region regionName="channel1" />
    </layout>
    <meta http-equiv="Refresh" content="900" />
    <metadata>
      <x-server xmlns="http://schemas.adfotain.org/adapi-1.0">
        <subscriptionList>
          <subscription>
            <type>PlaylogCollection</type>
            <action>https://oxygennext.apigee.com/Station/ccdf9aa4-cdf1-4ddf-a8af-dbca247f0336</action>
            <method>put</method>
          </subscription>
          <subscription>
            <type>EventlogCollection</type>
            <action>https://oxygennext.apigee.com/Station/ccdf9aa4-cdf1-4ddf-a8af-dbca247f0336</action>
            <method>put</method>
          </subscription>
        </subscriptionList>
      </x-server>
    </metadata>
  </head>
  <body>
    <par repeatCount="indefinite">
      <seq begin="0" restart="never">
        <prefetch src="https://oxygennext.apigee.com/Content/56bc3786-f3e6-4bfe-a074-7dca975b1f1e.jpg" />
        <prefetch src="https://oxygennext.apigee.com/Content/4e72d78a-2284-4236-bd52-e099e3c51e96.divx" />
        <prefetch src="https://oxygennext.apigee.com/Content/11e8c65a-8d1e-4a01-ab79-7ebd0f3a6646.jpg" />
        <prefetch src="https://oxygennext.apigee.com/Content/d5f958e8-5cde-40b2-bbd8-f2ef5853315f.jpg" />
      </seq>
      <seq repeatCount="indefinite">
        <img src="https://oxygennext.apigee.com/Content/56bc3786-f3e6-4bfe-a074-7dca975b1f1e.jpg" dur="15s" fit="meet" region="channel1">
          <param name="logContentId" value="06e27317-5ac5-40b4-802b-6169653ea492+4c978d3b-d445-4b80-ba50-da981c50a059" />
        </img>
        <video src="https://oxygennext.apigee.com/Content/4e72d78a-2284-4236-bd52-e099e3c51e96.divx" fit="meet" region="channel1">
          <param name="logContentId" value="14a8f965-b742-44df-97c0-170cbc13d737+4c978d3b-d445-4b80-ba50-da981c50a059" />
        </video>
        <img src="https://oxygennext.apigee.com/Content/11e8c65a-8d1e-4a01-ab79-7ebd0f3a6646.jpg" dur="15s" fit="meet" region="channel1">
          <param name="logContentId" value="aad5ad96-2af4-445c-8475-87332df71484+4c978d3b-d445-4b80-ba50-da981c50a059" />
        </img>
        <img src="https://oxygennext.apigee.com/Content/11e8c65a-8d1e-4a01-ab79-7ebd0f3a6646.jpg" dur="15s" fit="meet" region="channel1">
          <param name="logContentId" value="aad5ad96-2af4-445c-8475-87332df71484+4c978d3b-d445-4b80-ba50-da981c50a059" />
        </img>
        <video src="https://oxygennext.apigee.com/Content/4e72d78a-2284-4236-bd52-e099e3c51e96.divx" fit="meet" region="channel1">
          <param name="logContentId" value="14a8f965-b742-44df-97c0-170cbc13d737+4c978d3b-d445-4b80-ba50-da981c50a059" />
        </video>
    </par>
  </body>
</smil>

Usage examples:

cURL (about cURL):

curl https://api.oxygennext.com/Station/ccdf9aa4-cdf1-4ddf-a8af-dbca247f0336/Schedule.smil


Do you have an example to share in the language of your choice? Please share!

Personal tools