8 Commits
Author SHA1 Message Date
Stevan Freeborn ce85b08fbc feat: implement field endpoints 2026-03-25 16:36:53 -05:00
Stevan Freeborn e032d0927c tests: fix errcheck violations 2026-03-23 16:45:57 -05:00
Stevan Freeborn bd3b84db32 tests: fix errcheck violations 2026-03-23 16:42:12 -05:00
Stevan Freeborn a543de60db feat: add get by id method for apps endpoint 2026-03-23 16:30:52 -05:00
Stevan Freeborn 6361e41cf3 refactor: correct method names 2026-03-23 10:30:35 -05:00
Stevan Freeborn 02351d89db feat: finish implementing GetAll and GetBatch for apps endpoint 2026-03-23 10:15:12 -05:00
Stevan Freeborn 126b027a81 fix: correct paging parameter logic and add paging options
- fix bug where `pageNumber` and `pageSize` were swapped during default
initialization in `apps.go`.
- fix bug in `pagingRequest.go` where `ToParams` mapped keys to the
incorrect struct fields.
- add `ForPageNumber` and `WithPageSize` functional options to allow
custom paging configuration.
- enhance `Apps` endpoint tests to verify that `pageNumber` and
`pageSize` query parameters are correctly passed to the API.
- add test case for verifying non-default paging options.
2026-01-15 17:03:59 -06:00
Stevan Freeborn 1f6218416c feat: add Apps endpoint and query parameter support
- add `Apps` endpoint to the `Client` struct and initialize it in
`NewClient`
- implement `doWithJsonResponse` helper to handle request execution and
JSON decoding in one step
- update `newRequest` to support passing and encoding query parameters
via `net/url`
- rename `Option` to `ClientOption` for better clarity in the
`NewClient` signature
- refactor `Ping` tests to use a more structured nested layout
- remove `option.go` and `option_test.go` as part of the configuration
refactor
2026-01-15 16:38:47 -06:00