Simple semaphore lock service. PUT to create new lock. POST to update
heartbeart, supplied values igonred. DELETE to remove a lock.
Owner must match to update. A lock timeout is configurable (default to ten minutes).
Static, non-dynamic document type.
string Id
int Version
string EntityType - "Lock"
string Owner
DateTime OwnedSince
DateTime HeartBeat
Description:
This controller is responsible for creating a Really Simple Syndication feed that
conforms to the RSS 2.0 specification. The feed is obtained by Bundle slug or urn, and contains items for all programcards in the bundle.
If the programcard has media associated with it, a link to the programs presentation
site on dr.dk is included. If the "format=podcast" URL parameter is provided, an
enclosure URL to the MediaRedirector
is included in the feed.
NB: Doesn't use the query-language, but standard un-qouted mvc-parameters. id
can either be an urn or a bundle-slug. You can also use either urn
or slug to specify the feed.
Description:
This controller is used to receive information about programcards. The data can
be retrieved using ordinary search criterias.
Examples:
Get a single programcard by urn or slug, with the public media manifest inlined in the asset.
Warning: Expensive method, must NOT be cached as the media manifest must be geo-filtered ect.
Get the image for a single programcard, either by returning the image from the programcard itself, or
by iterating backwards through bundles that the programcard is a member of.
When a system takes part in exchange of URNs and data about these, it must support the "Describe Asset" Endpoint functionality and provide a meta tag in its html head section named "urn".
If a URN doesn't exist, or cannot be represented to an external system in a meaningful way, it will be excluded from the returned output. If a URN is malformed, HTTP 400 BAD REQUEST is returned.
Description:
This controller returns an oEmbed response for the requested program card according
to its asset kind (AudioResource or VideoResource). If the programcard has no assets
(or published assets) the returned HTML has a text describing this (no player reference).
See oEmbed for details.
A list of most viewed programcards within a given timespan. Paramteres are from
(a datetime starting point) and span (a timespan starting from "from").
This controller contains various specialised views. The data can be retrieved using
the ordinary controllers, but would often require multiple calls to the API.
Contains a list of all bundle types currently existing
in the database.
A list of bundles with the latest aired program card.
This is determined from all broadcast elements of the program cards related to the bundle.
Note that the program card might now have a public Audio- og VideoAsset.
Lists can be filtered by using the from and to paramters
to limit the results to bundles with programs that have been broadcasts with the
limited dates. The limits are measured against broadcastdates.
Bundles (but not the programcards in them) can be filtered using the normal query
operators, and paging can be used as well.
A list of bundles with the program card which have the highest broadcast date (AnnouncedStartTime)
and which have a public Audio- or VideoAsset attached.
Note that this broadcast might be set in the future, and the program card may not have been aired yet.
Further filtering and paging criterias can be added as well.
A list of bundles with the program card which have been aired most recently according to PrimaryBroadcast,
and which have a public Audio- or VideoAsset attached.
Further filtering and paging criterias can be added as well.
A list of most viewed programcards, order by most viewed.
Use the days parameter to specify how many days pageviews should be
counted over. Default is 7. Note that only 7 and 30 day periodes are currently indexed
No search criterias can be added, but lists can be filtered by using the Channel
and/or ChannelType parameters. The count parameter can
be used to specify how many cards is returned. Default is 5