API Reference
RepoDocs REST API documentation
API Reference
RepoDocs provides a REST API for programmatic access.
Authentication
All API requests require authentication via session cookie or API key.
Endpoints
Projects
List Projects
Response:
Create Project
Response:
Cache
Refresh Cache
Fetches latest docs from GitHub and updates cache.
Response: Redirects to docs page.
Webhook
GitHub Webhook
Automatically triggered by GitHub on push events.
Error Responses
| Status | Description |
|---|---|
| 400 | Bad request - invalid input |
| 401 | Unauthorized - not logged in |
| 404 | Not found - resource doesn't exist |
| 500 | Server error |
Rate Limits
| Plan | Requests/hour |
|---|---|
| Hobby | 100 |
| Pro | 1,000 |
| Team | 10,000 |