Report bounded Player update preparation and installer status
POST
/api/v1/player/update-deployments/{deploymentId}/status
const url = 'https://example.com/api/v1/player/update-deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/status';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"state":"downloading","downloadedBytes":1,"permissionStatus":"example","installerStatus":"example","error":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/player/update-deployments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/status \ --header 'Content-Type: application/json' \ --data '{ "state": "downloading", "downloadedBytes": 1, "permissionStatus": "example", "installerStatus": "example", "error": "example" }'Requires an authenticated player credential.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”deploymentId
required
string format: uuid
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
state
required
succeeded is accepted only for a Tilecast Edge release: it is the screen’s explicit confirmation that the provisional release passed its health checks, and the only way an Edge target settles. Other families settle from the heartbeat.
downloadedBytes
integer
permissionStatus
string
installerStatus
Tilecast Edge sends provisional with reconnecting, confirmed with succeeded, and rolled_back with a failed report of a release that was activated and then rolled back.
string
error
A bounded reason code, never free text from a server response.
string
Responses
Section titled “ Responses ”Status accepted
Media typeapplication/json
object
data
required
object
state
required
string
Example
{ "data": { "state": "downloading" }}Deployment cancelled or complete
Invalid status, or succeeded for a release that is not Tilecast Edge