域名相关服务找到 15 个接口
获取域名验证信息
findNSDomainVerifyingInfo
POST/NSDomainService/findNSDomainVerifyingInfo
- 定义文件
service_ns_domain.proto- 可用角色
- 管理员用户
rpc findNSDomainVerifyingInfo(FindNSDomainVerifyingInfoRequest) returns (FindNSDomainVerifyingInfoResponse);
请求消息
FindNSDomainVerifyingInfoRequest获取域名验证信息
message FindNSDomainVerifyingInfoRequest {
int64 nsDomainId = 1; // 要验证的域名ID
}
响应消息
FindNSDomainVerifyingInfoResponsemessage FindNSDomainVerifyingInfoResponse {
bool requireTXT = 4; // 是否需要TXT验证,如果不需要(值false),则表示用户不需要手动设置TXT,此时 txt 字段内容可能为空
string txt = 1; // TXT记录
int64 expiresAt = 2; // TXT过期时间
string status = 3; // 当前状态
}