Expand description
VCS command implementations (init, add, commit, status, diff, merge, etc.) Self-Describing API (JSON-LD / Hydra)
Adds hypermedia links and JSON-LD context to lit’s API responses, making the API discoverable and self-documenting for agents.
Structs§
- ApiEnvelope
- Self-describing API envelope that wraps any response with JSON-LD context
- ApiLink
- A hypermedia link (Hydra-style)
Constants§
- LIT_
CONTEXT - JSON-LD context for lit API responses
Functions§
- api_
root_ links - API root entry point with all discoverable endpoints
- commit_
links - Generate links for a commit resource
- identity_
links - Generate links for a DID identity resource
- repo_
links - Generate standard links for a repository resource