Contract Reference
Version: 1.0.3
Hash: sha256-b946ac78825c8b3e4168f248bdd1efbf44be782d54947a089891a6a237c54ba8
Generated: -
Majestic uses a single, coordinated contract version across server and client. Hash enforcement prevents silent drift.
Endpoint Map
| Endpoint | Schema |
|---|---|
GET /library | libraryResponse |
GET /api/media-file/:id/prewarm-appletv | prewarm |
DELETE /api/media-file/:id/prewarm-appletv | prewarm |
Schemas
| Schema | Description |
|---|---|
| apiError | Structured error responses from API endpoints |
| audioTrackInfo | Audio track for in-player switching. |
| incompatibility | Structured incompatibility payload when media cannot be direct-played |
| libraryEdition | Single edition within a library movie item. |
| libraryMovieItem | Movie item in library response with editions array. |
| libraryResponse | GET /library response shape. |
| physicalCopyInfo | Physical copy binder/slot info when edition has a disc. |
| playbackPrediction | Predictive badge for edition: what will happen when user presses play. |
| playbackStatusCode | Stable enum for edition playback status. Unknown values → treat as unknown. |
| prewarm | Prewarm endpoint GET and DELETE response shapes |
Download
Download contract.bundle.json: deterministic, hash-verified aggregate of all schemas.