4YouSee Player Windows/Linux API
This document provides the specification of the 4YouSee Player API, which would allow a third-party application to retrieve the status, configure and control a player.
Requests and Authentication
All API requests over the HTTP and accessed from http://localhost:48567/api domain. Player APIs allow request only locally, in future we expose api on local network. Observation: Default port on player is 48567, but is possible to configurate other value. So remember to change port on the api domain if you set other value.
Some resources need to authentication, for this we use a token automatically create by player on their configuration. For this resource use a Secret-Token header, a value must be found on your 4YouSee Manager Account on menu Players -> Players on column Operations -> 4YouSee Player Options -> Set up player
Player
GET/api/player/status
Information about player configurations and your playslist control status
GET/api/player/play
Resume a paused video content and player flow. Player status change to PLAY. If current content is html, rss feed or image, player must play next content. This occurs because is not possible to pause/resumed this type of content.