API & developer resources
The Rust API owns its native contract. The major native path is /api/v1; the URL alone does not identify a precise contract revision. Consult the exact selected distribution manifest and API release, not a development-era version string.
Contract sources
- API repository
- OpenAPI artifact (development branch) — may change; not a release pin.
- Downstream handoff
- CLI repository
- Auth UI repository
- Admin UI repository
The website publishes a rendered native API reference generated from a verified, pinned OpenAPI artifact. The current import is contract 1.0.1 from melodee-api commit 0267c458207082337d9baf1130deeb65f43c9d4a (SHA-256 9241a9ab0606c30518d4d904d4dae1d1ea968414daf2d313c9eb9aaedf8d5281). The page is static: it makes no live API calls, needs no credentials and does not enable example mutations. The same page reports the import provenance; a missing or changed artifact fails the website build.
The component documentation records exact source revisions status and compatibility. Notably, the CLI, Admin UI and Auth UI currently declare the API 1.0.0 surface, while the API source is the 1.0.1 remediation candidate. Cross-version compatibility is not qualified.
Integration principles
- Use the exact versioned contract and generated client types where applicable. Pin the source commit and artifact SHA-256; never hand-edit the imported OpenAPI file.
- Treat required capabilities, credential scopes and supported versions as separate constraints.
- Keep interactive browser credentials within API-owned HttpOnly cookies and respect CSRF/origin checks. Native credentials follow the published native flow.
- Avoid logging tokens, private URLs, share credentials, or account data. A permission denial is not a retryable network error.
- See the API repository for the exact OpenSubsonic and Jellyfin-compatible supported surfaces and version-specific limitations.