You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9d0ce01
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: assets/playlist-write-v2.schema.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{
2
-
"$comment": "Generated by screenrig-protocol-gen from api/openapi.yaml; sha256=5ef79df8b0c254905e5ea4aa43d8921e1c3470ced2cd440c418376d8e9d2ce0e. Shape validation for the adslot page union. Run canonical playlist-write-semantics.ts next. At most 16 adslot pages and one ordinary page with no visibility remain server checks.",
2
+
"$comment": "Generated by screenrig-protocol-gen from api/openapi.yaml; sha256=30fc492b905cf3c69f8b5972c19af58b38f04e3d5059e36fc123d62816601c93. Shape validation for the adslot page union. Run canonical playlist-write-semantics.ts next. At most 16 adslot pages and one ordinary page with no visibility remain server checks.",
Copy file name to clipboardExpand all lines: assets/playlist-write.schema.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{
2
-
"$comment": "Generated by screenrig-protocol-gen from api/openapi.yaml; sha256=5ef79df8b0c254905e5ea4aa43d8921e1c3470ced2cd440c418376d8e9d2ce0e. Shape validation only; run canonical playlist-write-semantics.ts next. Reference resolution and DNS remain server checks.",
2
+
"$comment": "Generated by screenrig-protocol-gen from api/openapi.yaml; sha256=30fc492b905cf3c69f8b5972c19af58b38f04e3d5059e36fc123d62816601c93. Shape validation only; run canonical playlist-write-semantics.ts next. Reference resolution and DNS remain server checks.",
3
3
"$defs": {
4
4
"CanvasBackground": {
5
5
"description": "Solid canonical uppercase #RRGGBBAA, or a top-to-bottom linear gradient.",
/** sent: the screen was online and its Player was handed the command at once. queued: the screen was offline; the command is sent when it comes online before expires_at. */
587
+
exporttypeScreenCommandDelivery="queued"|"sent";
588
+
586
589
exportinterfaceScreenRebootAccepted{
587
590
reboot_id: string;
588
591
expires_at: string;
592
+
state: ScreenCommandDelivery;
593
+
}
594
+
595
+
/** The optional body of POST /api/screens/{id}/reboot and /reload: how long the command stays actionable, 60 to 86400 seconds (default 86400). */
596
+
exportinterfaceScreenCommandWrite{
597
+
expires_in_s?: number;
598
+
}
599
+
600
+
/**
601
+
* One reboot or reload asked of a screen, in Screen.commands (oldest first, at
602
+
* most 10). expired is derived by the server on read for a queued command past
/** Screen.suspension: present while the screen shows a notice instead of its content. */
616
+
exportinterfaceScreenSuspension{
617
+
message: string;
618
+
since: string;
619
+
}
620
+
621
+
/** Write body for POST /api/screens/{id}/identify; duration_ms is omitted so the server can default it (60000). */
622
+
exportinterfaceScreenIdentifyWrite{
623
+
duration_ms?: number;
624
+
}
625
+
626
+
/** Accepted POST /api/screens/{id}/identify. A Player acts on one identify_id at most once and ignores it after expires_at. */
627
+
exportinterfaceScreenIdentifyAccepted{
628
+
identify_id: string;
629
+
duration_ms: number;
630
+
expires_at: string;
631
+
}
632
+
633
+
/** Write body for POST /api/screens/{id}/suspend. */
634
+
exportinterfaceScreenSuspendWrite{
635
+
message: string;
636
+
}
637
+
638
+
/** Write body for POST /api/screens/{id}/replace: the screen whose paired device takes over the screen in the path. */
639
+
exportinterfaceScreenReplaceWrite{
640
+
with: string;
589
641
}
590
642
591
643
/** Write body for POST /api/screens/{id}/play-page. */
@@ -708,14 +760,21 @@ export interface Screen {
708
760
recovery_pending?: ScreenRecoveryPending;
709
761
/**
710
762
* Present only while archived: what archived the screen. Known values are
711
-
* project, device_reset, and device_unpair; readers keep a value they do
712
-
* not know. Every reason keeps the device binding, so unarchive resumes the
713
-
* display with no re-pairing. Absent on screens archived before reasons
714
-
* were recorded. Read-only.
763
+
* project, device_reset, device_unpair, and replaced; readers keep a value
764
+
* they do not know. Every reason but replaced keeps the device binding, so
765
+
* unarchive resumes the display with no re-pairing; a replaced screen keeps
766
+
* none and is deleted, not restored. Absent on screens archived before
767
+
* reasons were recorded. Read-only.
715
768
*/
716
769
archive_reason?: string;
717
770
/** Present only while archived with archive_reason. Instant the screen was archived. Read-only. */
718
771
archived_at?: string;
772
+
/** Present when archive_reason is replaced: the screen this screen's device moved to (screen replace). Read-only. */
773
+
replaced_by?: string;
774
+
/** The reboots and reloads asked of this screen, oldest first, at most 10. Absent when it has none. Read-only: screen reboot and reload add to it, screen command cancel cancels a queued entry. */
775
+
commands?: ScreenCommand[];
776
+
/** Present while the screen shows a notice instead of its content (screen suspend). Read-only. */
777
+
suspension?: ScreenSuspension;
719
778
/**
720
779
* Present while the paired Player cannot show the application or iframe
721
780
* primitives its manifest carries. at is when the condition began. The
@@ -808,7 +867,7 @@ export type ScreenActionSelector =
808
867
/** One fleet action, discriminated by type. New action types are additive. */
0 commit comments