Skip to content

Sync Go SDK with current licensing API - #1

Merged
catsika merged 1 commit into
mainfrom
codex/sync-go-contracts
Sep 9, 2026
Merged

Sync Go SDK with current licensing API#1
catsika merged 1 commit into
mainfrom
codex/sync-go-contracts

Conversation

@catsika

@catsika catsika commented Sep 9, 2026

Copy link
Copy Markdown
Member

Contract parity with the current API (verified against live prod behavior on sibling SDKs):

  • GetKey sends the license key via x-license-key header, never the query string
  • CreateKeyResponse supports the bulk keys array; DeactivateKeyResponse exposes devicesRemoved
  • FloatingCheckoutParams carries session-renewal timestamp/signature
  • ApiError surfaces the nested envelope message + HTTP status
  • ToggleCustomerStatusResponse matches the current envelope
  • Corrects the stale hostless-activation doc (shared N/A slot)

Tests: mock-server contract suite (CI, all PRs) + env-gated live end-to-end (license/floating/sign/customer CRUD) running on main pushes and manual dispatch.

- GetKey sends license key via x-license-key header (never query string)
- CreateKeyResponse supports bulk keys array
- DeactivateKeyResponse exposes devicesRemoved
- FloatingCheckoutParams carries session-renewal timestamp/signature
- ApiError surfaces nested error envelope message + HTTP status
- ToggleCustomerStatusResponse matches current envelope (optional message/code, customerName/active)
- Correct stale hostless-activation doc (shared N/A slot)
- Contract tests (mock server) + env-gated live suite; CI runs contracts on PRs, live on main/dispatch
@catsika
catsika merged commit 9fea10e into main Sep 9, 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