Queue a bounded Presentation Network connection test
POST
/api/v1/presentation-networks/{id}/test
const url = 'https://example.com/api/v1/presentation-networks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"screenId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}'};
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/presentation-networks/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test \ --header 'Content-Type: application/json' \ --data '{ "screenId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'The selected assigned Linux player joins and leaves the network without starting AirPlay. The durable command contains only the network ID and timeout; credentials are fetched separately by the authenticated player.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Header Parameters
Section titled “Header Parameters”X-CSRF-Token
string
Cookie-backed browser requests only, and only on unsafe methods. Bearer grants never send it.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
screenId
required
string format: uuid
Examplegenerated
{ "screenId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}Responses
Section titled “ Responses ”Connection test command queued
Media typeapplication/json
object
data
required
object
commandId
required
string format: uuid
screenId
required
string format: uuid
timeoutSeconds
required
integer
Examplegenerated
{ "data": { "commandId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "screenId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "timeoutSeconds": 1 }}Insufficient role, CSRF failure, or screen outside scope
Presentation Network or screen not found
Encryption key unavailable or AirPlay is active on the screen
Screen is not the assigned Linux player