github PanSalut/Koffan v1.3.0
v1.3.0 - REST API

latest releases: v2.13.0, v2.12.3, v2.12.2...
7 months ago

New Features

REST API

  • Token-based authentication - Enable API by setting API_TOKEN environment variable
  • Full CRUD endpoints for lists, sections, and items at /api/v1/
  • Batch creation - Create complex structures (list + sections + items) in a single request
  • Reordering support - Move items up/down via API
  • History/suggestions management - Add, view, and delete item suggestions

API Endpoints

Resource Endpoints
Lists GET, POST, PUT, DELETE /api/v1/lists
Sections GET, POST, PUT, DELETE /api/v1/sections
Items GET, POST, PUT, DELETE /api/v1/items
Batch POST /api/v1/batch
History GET, POST, DELETE /api/v1/history

Usage

# Enable API
export API_TOKEN="your-secure-token"

# Example request
curl -H "Authorization: Bearer your-secure-token" \
  http://localhost:3000/api/v1/lists

Bug Fixes

  • Fixed list_id not being returned in section responses

Don't miss a new Koffan release

NewReleases is sending notifications on new releases.