API Reference
API Overview
This documentation system can be extended with a REST API for programmatic access.
Authentication
API requests require authentication using session-based auth or API tokens.
Example Request
// Fetch all documentation\nfetch('/api/docs', {\n method: 'GET',\n headers: {\n 'Content-Type': 'application/json',\n 'Authorization': 'Bearer YOUR_TOKEN'\n }\n})\n.then(response => response.json())\n.then(data => console.log(data));Endpoints
Available API endpoints:
GET /api/docs- List all documentationGET /api/docs/{slug}- Get specific documentGET /api/categories- List all categoriesPOST /api/search- Search documentation
Comments (0)
Leave a Comment
Your comment will be visible after approval by a moderator.
No comments yet. Be the first to comment!