API Reference
REST API
Dockero provides a REST API for managing your documentation programmatically.
Authentication
curl -H "Authorization: Bearer YOUR_TOKEN" \
https://api.dockero.co/projects
Endpoints
List Projects
GET /api/projects
Get Project
GET /api/projects/:slug
Create Page
POST /api/projects/:slug/pages
Content-Type: application/json
{
"title": "New Page",
"content": "# Hello World",
"order": 0
}