Skip to content

Add support for domain research endpoint#96

Merged
juankuquintana merged 4 commits into
mainfrom
change/domain-research
Feb 26, 2026
Merged

Add support for domain research endpoint#96
juankuquintana merged 4 commits into
mainfrom
change/domain-research

Conversation

@juankuquintana

@juankuquintana juankuquintana commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Belongs to https://github.com/dnsimple/dnsimple-business/issues/2442
Fixes https://github.com/dnsimple/dnsimple-app/issues/33909

Add support for domain research endpoint

🔍 QA

  1. Run cargo run --bin test_domain_research
use dnsimple::dnsimple::{new_client, Client};

fn main() {
    let account_id = 2u64;
    let domain = "example.com";
    let token = "dnsimpletest_a_FSYtfYn7p74jfPd3GBUUsnLoOXia8hkR";

    // Create client pointing to local API
    let mut client = new_client(false, String::from(token));
    client.set_base_url("http://api.localhost:5000");

    println!("Testing domain research for: {}", domain);

    match client.domains().domain_research_status(account_id, String::from(domain)) {
        Ok(response) => {
            if let Some(research) = response.data {
                println!("Request ID: {}", research.request_id);
                println!("Domain: {}", research.domain);
                println!("Availability: {}", research.availability);
                println!("Errors: {:?}", research.errors);
            } else {
                println!("Error: No data in response");
            }
        }
        Err(error) => {
            println!("Error: {:?}", error);
        }
    }
}

📋 Deployment Pre/Post tasks

:shipit: Deployment Verification

  • QAd

@juankuquintana juankuquintana self-assigned this Feb 19, 2026
@juankuquintana juankuquintana added the enhancement New feature, enhancement or code changes, not related to defects label Feb 19, 2026
@juankuquintana juankuquintana merged commit 108114f into main Feb 26, 2026
5 checks passed
@juankuquintana juankuquintana deleted the change/domain-research branch February 26, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, enhancement or code changes, not related to defects

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants