Skip to main content

display_manifest

Function display_manifest 

Source
pub async fn display_manifest(
    __arg0: State<HardwareCtx>,
    __arg1: Path<String>,
    headers: HeaderMap,
) -> Response
Expand description

GET /api/hardware/display/:device_id — the display manifest. Returns the content hash (rev), the poll interval, the screen geometry, and the image URL the device should fetch. The device skips re-downloading when rev is unchanged.