Skip to content

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

EndpointSchema
GET /librarylibraryResponse
GET /api/media-file/:id/prewarm-appletvprewarm
DELETE /api/media-file/:id/prewarm-appletvprewarm

Schemas

SchemaDescription
apiErrorStructured error responses from API endpoints
audioTrackInfoAudio track for in-player switching.
incompatibilityStructured incompatibility payload when media cannot be direct-played
libraryEditionSingle edition within a library movie item.
libraryMovieItemMovie item in library response with editions array.
libraryResponseGET /library response shape.
physicalCopyInfoPhysical copy binder/slot info when edition has a disc.
playbackPredictionPredictive badge for edition: what will happen when user presses play.
playbackStatusCodeStable enum for edition playback status. Unknown values → treat as unknown.
prewarmPrewarm endpoint GET and DELETE response shapes

Download

Download contract.bundle.json: deterministic, hash-verified aggregate of all schemas.

Contract version and hash embedded at build time.