API & Integration
Dits REST API
A planned REST API for programmatic access to Dits repositories, users, and metadata.
Important
Planned — not yet available. The hosted Dits REST API described on this page is part of the roadmap and has not been built. There is no
api.dits.io service to call today. Dits today is a local-first Rust CLI; everything below is illustrative of the intended design and may change. Do not depend on it yet.API Overview (Planned)
The planned Dits REST API would provide programmatic access to repository management, user administration, and metadata operations — intended for integrations with CI/CD, project management tools, and custom workflows. None of these endpoints exist yet.
Planned
API Endpoints
REST
Architecture
JSON
Data Format
Authentication
Authentication Endpoints
| Method | Endpoint | Description |
|---|---|---|
POST | /auth/login | Login with username/password |
POST | /auth/refresh | Refresh session token |
POST | /auth/logout | Invalidate session |
Rate Limits & Best Practices
API Versioning
The Dits API is versioned with the
v1 prefix. Breaking changes will be communicated in advance with migration guides provided.