kanboard-api is a type-safe, idiomatic Go client library for the Kanboard (https://kanboard.org) API.
Find a file
Oliver Jakoubek a38e62e77a Implement entity structs for Kanboard API responses
Add all entity structs matching Kanboard's JSON-RPC API format:

Entity structs:
- Project, Task, Column, Category, Comment
- TaskLink, TaskFile, Tag
- TaskStatus enum (StatusActive, StatusInactive)

Request structs:
- CreateTaskRequest with omitempty for optional fields
- UpdateTaskRequest with pointer fields for zero-value distinction

Custom JSON types for Kanboard's string-encoded values:
- StringBool - handles "0"/"1" string booleans
- StringInt - handles string-encoded integers
- StringInt64 - handles string-encoded int64 values

All structs properly handle Kanboard's quirky JSON format where
numeric fields are often returned as quoted strings.

Closes: kanboard-api-cyc
2026-01-15 18:18:47 +01:00
.beads Implement entity structs for Kanboard API responses 2026-01-15 18:18:47 +01:00
.gitattributes Initial commit 2026-01-15 17:48:46 +01:00
.gitignore Initial commit 2026-01-15 17:48:46 +01:00
AGENTS.md Initial commit 2026-01-15 17:48:46 +01:00
auth.go Implement JSON-RPC client foundation 2026-01-15 18:10:35 +01:00
auth_test.go Add authentication system tests 2026-01-15 18:11:48 +01:00
client.go Complete Client struct with fluent configuration 2026-01-15 18:14:22 +01:00
client_test.go Complete Client struct with fluent configuration 2026-01-15 18:14:22 +01:00
errors.go Implement comprehensive error types and handling 2026-01-15 18:13:09 +01:00
errors_test.go Implement comprehensive error types and handling 2026-01-15 18:13:09 +01:00
go.mod Initial commit 2026-01-15 17:48:46 +01:00
jsonrpc.go Implement JSON-RPC client foundation 2026-01-15 18:10:35 +01:00
jsonrpc_test.go Implement JSON-RPC client foundation 2026-01-15 18:10:35 +01:00
timestamp.go Implement Timestamp type for Unix timestamp JSON handling 2026-01-15 18:15:33 +01:00
timestamp_test.go Implement Timestamp type for Unix timestamp JSON handling 2026-01-15 18:15:33 +01:00
types.go Implement entity structs for Kanboard API responses 2026-01-15 18:18:47 +01:00
types_test.go Implement entity structs for Kanboard API responses 2026-01-15 18:18:47 +01:00