Skip to main content

Pushing Temporary Content to a XOGO Windows player

Updated over 3 weeks ago

API Signature: POST http://{SignageIP}:9646/api/timeline

The above API helps a client application push temporary asset content for offline playback for a predefined time interval.


API Body

{   
"Duration":15,
"ContentOverride": false,
"ContentRewind": false,
"Asset": {
"Content": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQ",
"ItemType": 1
}
}

Field Descriptions

AssetId - The unique ID of an asset to be shown on the signage.

Duration - The time interval the asset will be shown on the signage.

ContentOverride - Defines if the trigger should override the playback of another triggered content.

ContentRewind - Defines if the trigger should rewind the current playback on a device as long as the matching asset is currently playing.

Asset.Content - Byte Array

Asset.ItemType - 1 for Image and 2 for Video.


API Response

Status Code - Body - Message

201 - Created - Request received.

409 - Conflict - Signage is in real-time mode. Offline trigger requests cannot be processed.

409 - Conflict - Duration must be 15,30,45 or 60 seconds.

Did this answer your question?