Commit Graph
7 Commits
Author SHA1 Message Date
Stevan Freeborn 1161c645bf feat: add files endpoint with info, download, upload, and delete
Implement FileInfo, FileResponse, SaveFileRequest, and
CreatedWithIdResponse models. Add get_file_info, get_file (binary
download), upload_file (multipart), and delete_file methods. Tests
cover metadata retrieval, binary content download with headers, file
upload, deletion, and not-found error with message extraction.
2026-03-25 13:44:03 -05:00
Stevan Freeborn f7050506d2 feat: add records endpoint with all CRUD and query methods
Implement Record, RecordFieldValue, SaveRecordRequest,
QueryRecordsRequest, BatchGetRecordsRequest, and BatchDeleteRecordsRequest
models. Add 7 endpoint methods: list_records, get_record, save_record,
delete_record, batch_get_records, query_records, batch_delete_records.
Add 9 tests covering all methods including parameterized queries.
2026-03-25 13:42:24 -05:00
Stevan Freeborn 46c54b4589 feat: add fields endpoint with get, batch-get, and list methods
Implement Field model supporting base fields and polymorphic variants
(list, formula, reference fields via optional properties). Add get_field,
batch_get_fields, and list_fields endpoint methods with tests covering
basic fields, list-type fields, batch retrieval, pagination, and
not-found scenarios.
2026-03-25 13:40:11 -05:00
Stevan Freeborn fe883a9dd2 feat: add apps endpoint with list, get, and batch-get methods
Implement App model and three endpoint methods: list_apps (paginated),
get_app (by ID), and batch_get_apps (up to 100 by IDs). Add
comprehensive tests for success, pagination, not-found, and batch
scenarios.
2026-03-25 13:37:55 -05:00
Stevan Freeborn 6735bca09f feat: add ping endpoint with test infrastructure
Implement ping() method on OnspringClient. Set up wiremock-based test
infrastructure with shared setup helper. Add tests for success and
unauthorized scenarios verifying correct headers are sent.
2026-03-25 13:35:52 -05:00
Stevan Freeborn 7f2209af1c feat: add project scaffold with core client, error types, and models
Set up Cargo.toml with dependencies (reqwest, serde, thiserror, tokio,
uuid, chrono). Implement OnspringClient with builder pattern and HTTP
helper methods. Define error types, enums, and paging models.
2026-03-25 13:34:02 -05:00
Stevan Freeborn 31d7659d1c chore: initial commit with README 2026-03-25 13:33:37 -05:00