Skip to content

Add domain ownership record - #153

Open
JoaoFSCruz wants to merge 1 commit into
mainfrom
feature/add-domain-ownership-record
Open

JoaoFSCruz wants to merge 1 commit into
mainfrom
feature/add-domain-ownership-record

Conversation

@JoaoFSCruz

Copy link
Copy Markdown
Contributor

Changelist

  • DomainDnsRecords.ownership for the ownership TXT record returned by GET /v1/domains/{domain_id}/dns-records
  • DomainVerificationAttributes.ownership for the ownership status returned by GET /v1/domains/{domain_id}/verify
  • DomainsTest and its recorded responses include ownership
  • README "Get DNS records" example prints the ownership record

Risks

None.

@JoaoFSCruz JoaoFSCruz self-assigned this Nov 27, 2026
@mailerlite-kritika

Copy link
Copy Markdown

Re-runViewConfidence Score: 4/5

[Low risk] The new ownership fields (a TXT record in DomainDnsRecords and a boolean in DomainVerificationAttributes) rest on MailerSend API field names and shapes that the review did not check against any upstream source; its account lists no sources read beyond the repository. The test fixtures were hand-edited to contain the new fields, so the assertions only confirm that the SDK parses the fixture, not that the live API returns ownership. The change is additive and moves no dependency, so the risk …

Summary

Adds domain ownership record and status fields to the domains SDK

  • DomainDnsRecords.ownership and DomainVerificationAttributes.ownership are now deserialized from the DNS-records and verify responses.
  • The README "Get DNS records" example and DomainsTest now print or assert the ownership data.

What's good

  • The new fields follow the existing @SerializedName pattern, and the added ownership property is additive, so existing callers are unaffected.
Review context · 0/5 commands
  • Commands run: none

Reviews (1) · Last reviewed commit: "feat(domains): expose ownership DNS reco..." · claude-sonnet-5-5

@JoaoFSCruz
JoaoFSCruz requested review from a team and odunayoogungbure-rgb and removed request for a team November 27, 2026 11:30
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.

2 participants