You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cf email-domains changes drops the API response's required top-level platform data when unwrapping the Cloudflare response envelope. Callers receive the result payload but cannot access this additional response metadata.
At main commit a0eed39e2e506c3a55060060f0871460015434b0, unwrapEnvelope() returns only { result, result_info } for array results, or the result with separately retained result_info for object results. Other top-level fields, including platform, are discarded before formatting.
The affected command calls GET /accounts/{account_id}/email/domain-changes; see its generated operation.
Expected behavior
Preserve and expose the top-level platform data so callers of cf email-domains changes can access the response information defined by the API. Account for existing JSON stdout compatibility when choosing how to expose it, and add regression coverage for retaining the field through envelope unwrapping and CLI formatting.
Scope
Pagination metadata is already addressed by #478, merged as f3ebc1e. It exposes result_info, including next_cursor, has_more, and page counts, on stderr while preserving stdout payloads. This issue tracks the remaining loss of top-level platform data; automatic pagination is outside its scope.
Activity
petebacondarwin commentedon Nov 16, 2026
Closing as this command was removed and so the problem has gone away (for now...)