Skip to content

downloadPackagePluginFrame

GET
/api/v1/player/packages/{packageId}/plugins/{pluginId}/frame
curl --request GET \
--url https://example.com/api/v1/player/packages/example/plugins/example/frame \
--header 'Authorization: Bearer <token>' \
--header 'Range: bytes=0-1048575'

Download the deterministically assembled frame of an installed external Plugin API v2 contribution. Requires a device credential. Players verify exact size and SHA-256 before execution. The response confines scripts to an opaque sandbox and denies network and subresource loads.

packageId
required
string
/^[a-z][a-z0-9_.:-]{0,127}$/

Store package identifier such as countdown_bar.

pluginId
required
string
/^[a-z][a-z0-9_]{0,79}$/
Range
string
Example
bytes=0-1048575
If-Range
string
If-None-Match
string

Complete external plugin frame

Media typetext/html
string format: binary

Requested byte range

Media typetext/html
string format: binary

ETag matched

Device credential invalid or revoked

Screen disabled

Package or frame unavailable

Range not satisfiable