Skip to content

Comments

Add CloudKit Server-to-Server API Support#1

Merged
meszmate merged 2 commits intomainfrom
feature/cloudkit
Feb 4, 2026
Merged

Add CloudKit Server-to-Server API Support#1
meszmate merged 2 commits intomainfrom
feature/cloudkit

Conversation

@meszmate
Copy link
Owner

@meszmate meszmate commented Feb 4, 2026

Summary

  • Add full CloudKit server-to-server API client with support for records, zones, subscriptions, assets, users, and APNs tokens
  • Fix bug in url.go:56 where responseMode was assigned instead of responseType
  • Extract shared parseECPrivateKey() function for reuse between Apple Sign-In and CloudKit
  • Standardize HTTP client timeout to 10s in both New() and NewB64()
  • Replace deprecated io/ioutil usage with io in tests
  • Fix lint warnings (staticcheck QF1008) in mock implementations
  • Add comprehensive test suite (47 tests) with mocked HTTP clients
  • Add GitHub Actions CI with Go 1.24/1.25 matrix, race detector, coverage, and golangci-lint
  • Rewrite README with corrected examples (IDToken/Subject) and full CloudKit documentation
  • Add proper .gitignore for Go projects

@meszmate meszmate merged commit c26bd87 into main Feb 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant