Dits REST API
Programmatic access to Dits repositories, users, and metadata through a comprehensive REST API.
API Overview
The Dits REST API provides full programmatic access to repository management, user administration, and metadata operations. Built for integrations with CI/CD, project management tools, and custom workflows.
100+
API Endpoints
REST
Architecture
JSON
Data Format
Authentication
Bearer Tokens
For session-based authentication
Authorization: Bearer <session_token>
Content-Type: application/json
# Token expires after 24 hours
# Obtained via POST /auth/loginUse for interactive applications and short-lived sessions.
API Tokens
For programmatic access
Authorization: Bearer dits_<api_token>
Content-Type: application/json
# Scoped permissions available
# Created in user settingsUse for CI/CD, integrations, and long-running processes.
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
Rate Limits
Authenticated requests
5,000/hour
Unauthenticated requests
60/hour
Search requests
30/minute
Best Practices
API Versioning
The Dits API is versioned with the
v1 prefix. Breaking changes will be communicated in advance with migration guides provided.