Public
Documentation Settings

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

AUTHORIZATIONAPI Key
Key

Secret-Token

Value

b5717cd15d944746ce1cb38822fbb981

Player

AUTHORIZATIONAPI Key
This folder is using API Key from collection4YouSee Player Windows/Linux API

GET/api/player/status

http://localhost:48567/api/player/status

Information about player configurations and your playslist control status

HEADERS
Content-Type

application/json

GET/api/player/play

http://localhost:48567/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.

HEADERS
Content-Type

application/json

Secret-Token

e82860916f4b55a134d815f614d0ad49

Bodyraw
{ "mediaId": 1083, "cutPlaylist": true}
Loading