tasks.nikasites.com

API Documentation

tasks.nikasites.com provides a cross-hive task board. Tasks are synced to central Firestore via api.nikasites.com and displayed here with filtering and management.

Base URL: https://tasks.nikasites.com

Endpoints
GET/Landing page (HTML)
GET/dashboardTask board + AI chat (auth)
GET/tasksList task lists (JSON, auth)
PUT/tasks/:idUpdate task list (JSON, auth)
POST/chatAI chat with task context (auth)
GET/healthHealth check (JSON)
GET/docsThis page (HTML)
Authentication

All data endpoints require a Firebase ID token from any connected hive. The token is verified via Google's Identity Toolkit API and the user must have a global role (dev, admin, or global-admin).

curl https://tasks.nikasites.com/tasks \
  -H "Authorization: Bearer <firebase-id-token>"
GET /tasks — Response
{
  "tasks": [
    {
      "id": "abc123",
      "title": "Sprint 3",
      "items": [
        { "content": "Deploy auth fix", "status": "completed" },
        { "content": "Add rate limiting", "status": "pending" }
      ],
      "createdAt": "2025-12-01T10:00:00Z",
      "updatedAt": "2025-12-01T10:30:00Z"
    }
  ],
  "count": 1
}
PUT /tasks/:id — Request Body

Update allowed fields: title, items. Uses merge semantics.

curl -X PUT https://tasks.nikasites.com/tasks/abc123 \
  -H "Authorization: Bearer <firebase-id-token>" \
  -H "Content-Type: application/json" \
  -d '{"items": [{"content": "Deploy", "status": "completed"}]}'