Distribute a next track
Deprecated. This HTTPS ingest endpoint stays available until publishers finish moving to Eventhub Connect (MQTT), then it is removed.
/events/de.ard.eventhub.v1.radio.track.nextveraltetAuthorizationBearer-Token (JWT) · headererforderlichapplication/jsonNew event to be distributed to subscribers.
The Eventhub format validation expects only a subset of these variables as minimum set. All other fields are technically optional, but highly encouraged to be included, so a best-possible metadata exchange is possible.
The subset is defined in the list of required fields of Schemas eventV1PostBody, resulting in this body:
{
"type": "music",
"start": "2020-01-19T06:00:00+01:00",
"title": "Song name",
"services": [ { ... } ],
"playlistItemId": "swr3-5678"
}
Required fields not specified in the Schema, will cause your request to fail.
The id is inserted by Eventhub as string-formatted number, but might be a true string in the future, do not expect this string to remain numbers only!
eventstringIf set, it needs to match the URL event parameter
de.ard.eventhub.v1.radio.track.playingde.ard.eventhub.v1.radio.track.nexttypestringerforderlichThe type of the element that triggered this event. See additional file in docs for details.
audiocommercialjinglelivemusicnewstrafficweatherstartstringerforderlichISO8601 compliant timestamp
lengthnumbererforderlichEstimated length of the element in seconds. Must be set to a positive number (not 0 or null). The end of the current element is defined by the start of the next element.
titlestringerforderlichRepresentative title for external use
artiststring | nullPre-formatted artist information
contributorscontributor[] | nullFull details about involved artists if available
Eigenschaften anzeigenEigenschaften ausblenden
contributornamestringerforderlichrolestringerforderlichartistauthorcomposerperformerconductorchoirleaderensembleorchestrasoloistproducerengineernormDbobject | nullReference to an entity in ARD's Norm-DB catalog
Eigenschaften anzeigenEigenschaften ausblenden
typestringerforderlichidstringerforderlichisnistring | nullISNI ID if available
urlstring | nullCan link to external reference
servicesservices[]erforderlichThe playing stations unique Service-IDs. Do not include the Service-Type suffix.
Eigenschaften anzeigenEigenschaften ausblenden
servicesidstringPreferred. Livestream URN. When absent, Eventhub creates it from type + externalId.
publisherIdstringerforderlichPublisher Core ID or URN. Ingest normalizes this to urn:ard:publisher:{hash}.
institutionIdstringOwning institution URN. Filled in by ingest from the resolved publisher.
typestringveraltetSelects the livestream URN prefix when Eventhub creates id from externalId. Deprecated; ingest still sends it when provided.
EventLivestreamPermanentLivestreamexternalIdstringveraltetCRID hashed into id when id is absent. Deprecated; ingest still sends it when provided.
referencesreference[] | nullrelated external entities
Eigenschaften anzeigenEigenschaften ausblenden
referencetypestringerforderlichEpisodeSectionPublicationBroadcastShowSeasonArticleidstringexternalIdstringerforderlichtitlestringurlstring<uri>alternateIdsstring[]playlistItemIdstringerforderlichUnique identifier (within a publisher) to connect next and playing items if needed
hfdbIdsstring[] | nullCan reference all available tracks in ARD HFDB instances. Should ideally at least include the common ZSK instance.
externalIdstring | nullCan reference the original ID in the publisher's system
isrcstring | nullAppropriate ISRC code if track is a music element
upcstring | nullCorresponding reference to an album where such ISRC was published
mpnstring | nullIf available the reference to the original delivery from MPN
mediamediaItem[] | nullCan contain an array of media files like cover, artist, etc.
Eigenschaften anzeigenEigenschaften ausblenden
mediaItemtypestringerforderlichcoverartistanchoraudiovideourlstringerforderlichtemplateUrlstring | nullveraltetDeprecated. Send a concrete url. A {width} / {height} template is still accepted.
descriptionstringerforderlichattributionstring | nullisFallbackbooleanOptional flag to mark media as fallback data that subscribers can filter out
pluginseventPlugin[] | nullHighly optional field for future third-party metadata distribution or other connected services
Eigenschaften anzeigenEigenschaften ausblenden
eventPlugintypestringidstringID gets inserted by Eventhub as string-formatted number, but might be a true string in the future, do not expect this string to remain numbers only!
Event created
Note: The first request of an event for an externalId that is not registered yet, will return the status failed: 1. This indicates that a new topic for the externalId has been created, and the request needs to be repeated:
"statuses": {
"published": 0,
"blocked": 0,
"failed": 1
}
If the request returns the status blocked: 1, it indicates that you are not allowed to publish events under the given publisherId.
statusesobjecterforderlichEigenschaften anzeigenEigenschaften ausblenden
publishedintegererforderlichblockedintegererforderlichfailedintegererforderlicheventeventV1PostBodyerforderlichPlease also note the details in the POST /events/v1 endpoint above!
Eigenschaften anzeigenEigenschaften ausblenden
eventstringIf set, it needs to match the URL event parameter
de.ard.eventhub.v1.radio.track.playingde.ard.eventhub.v1.radio.track.nexttypestringerforderlichThe type of the element that triggered this event. See additional file in docs for details.
audiocommercialjinglelivemusicnewstrafficweatherstartstringerforderlichISO8601 compliant timestamp
lengthnumbererforderlichEstimated length of the element in seconds. Must be set to a positive number (not 0 or null). The end of the current element is defined by the start of the next element.
titlestringerforderlichRepresentative title for external use
artiststring | nullPre-formatted artist information
contributorscontributor[] | nullFull details about involved artists if available
Eigenschaften anzeigenEigenschaften ausblenden
contributornamestringerforderlichrolestringerforderlichartistauthorcomposerperformerconductorchoirleaderensembleorchestrasoloistproducerengineernormDbobject | nullReference to an entity in ARD's Norm-DB catalog
Eigenschaften anzeigenEigenschaften ausblenden
typestringerforderlichidstringerforderlichisnistring | nullISNI ID if available
urlstring | nullCan link to external reference
servicesservices[]erforderlichThe playing stations unique Service-IDs. Do not include the Service-Type suffix.
Eigenschaften anzeigenEigenschaften ausblenden
servicesidstringPreferred. Livestream URN. When absent, Eventhub creates it from type + externalId.
publisherIdstringerforderlichPublisher Core ID or URN. Ingest normalizes this to urn:ard:publisher:{hash}.
institutionIdstringOwning institution URN. Filled in by ingest from the resolved publisher.
typestringveraltetSelects the livestream URN prefix when Eventhub creates id from externalId. Deprecated; ingest still sends it when provided.
EventLivestreamPermanentLivestreamexternalIdstringveraltetCRID hashed into id when id is absent. Deprecated; ingest still sends it when provided.
referencesreference[] | nullrelated external entities
Eigenschaften anzeigenEigenschaften ausblenden
referencetypestringerforderlichEpisodeSectionPublicationBroadcastShowSeasonArticleidstringexternalIdstringerforderlichtitlestringurlstring<uri>alternateIdsstring[]playlistItemIdstringerforderlichUnique identifier (within a publisher) to connect next and playing items if needed
hfdbIdsstring[] | nullCan reference all available tracks in ARD HFDB instances. Should ideally at least include the common ZSK instance.
externalIdstring | nullCan reference the original ID in the publisher's system
isrcstring | nullAppropriate ISRC code if track is a music element
upcstring | nullCorresponding reference to an album where such ISRC was published
mpnstring | nullIf available the reference to the original delivery from MPN
mediamediaItem[] | nullCan contain an array of media files like cover, artist, etc.
Eigenschaften anzeigenEigenschaften ausblenden
mediaItemtypestringerforderlichcoverartistanchoraudiovideourlstringerforderlichtemplateUrlstring | nullveraltetDeprecated. Send a concrete url. A {width} / {height} template is still accepted.
descriptionstringerforderlichattributionstring | nullisFallbackbooleanOptional flag to mark media as fallback data that subscribers can filter out
pluginseventPlugin[] | nullHighly optional field for future third-party metadata distribution or other connected services
Eigenschaften anzeigenEigenschaften ausblenden
eventPlugintypestringidstringID gets inserted by Eventhub as string-formatted number, but might be a true string in the future, do not expect this string to remain numbers only!
tracestring | nullerforderlichveraltetAlways null. Deprecated; may be removed in a future release.
Bad Request (invalid input)
messagestringerforderlicherrorsopenApiErrorItem[]erforderlichEigenschaften anzeigenEigenschaften ausblenden
openApiErrorItempathstringerforderlichmessagestringerforderlicherrorCodestringerforderlichtracestring | nullerforderlichveraltetAlways null. Deprecated; may be removed in a future release.
Missing authentication
messagestringerforderlicherrorsopenApiErrorItem[]erforderlichEigenschaften anzeigenEigenschaften ausblenden
openApiErrorItempathstringerforderlichmessagestringerforderlicherrorCodestringerforderlichtracestring | nullerforderlichveraltetAlways null. Deprecated; may be removed in a future release.
Invalid authorization
messagestringerforderlicherrorsopenApiErrorItem[]erforderlichEigenschaften anzeigenEigenschaften ausblenden
openApiErrorItempathstringerforderlichmessagestringerforderlicherrorCodestringerforderlichtracestring | nullerforderlichveraltetAlways null. Deprecated; may be removed in a future release.
Payload Too Large (JSON body exceeds 400kb limit)
messagestringerforderlicherrorsopenApiErrorItem[]erforderlichEigenschaften anzeigenEigenschaften ausblenden
openApiErrorItempathstringerforderlichmessagestringerforderlicherrorCodestringerforderlichtracestring | nullerforderlichveraltetAlways null. Deprecated; may be removed in a future release.
Internal server error
messagestringerforderlichtracestring | nullerforderlichveraltetAlways null. Deprecated; may be removed in a future release.