注释

支持批注域和记录及其请求和响应使用注释属性后见例子

示例:响应注释:XML

状态:200确定日期:Thu, 28Jul2011 21:5421GMT X-API-VERSION:1.0.17内容-Type:应用/xml内容-Length:3060
           
            272523
           
           
            1234
           
           
            example.com
           
           
            3600
           
           
            [email protected]
           
           
            2011-06-24T01:23:15Z
           
           
            2011-06-24T01:12:51Z
           
           
            可选域评语
           
           
            
             华体会联盟hthns.rackspace.com
            
           
           
            
             华体会联盟hthns2.rackspace.com
            
           
           
            
             6
            
            
             
              A-681754
             
             
              A级
             
             
              ftp.example.com
             
             192.0.2.8
             
              5771
             
             
              2011-05-19T08:07:08-05:00
             
             
              2011-05-18T14:53:09-05:00
             
            
            
             
              A-6822994
             
             
              A级
             
             
              example.com
             
             un.
             
              86400
             
             
              2011-06-24T01:12:52Z
             
             
              2011-06-24T01:12:52Z
             
            
            
             
              NS-6251982
             
             
              NS级
             
             
              example.com
             
             华体会联盟hthns.rackspace.com
             
              3600
             
             
              2011-06-24T01:12:51Z
             
             
              2011-06-24T01:12:51Z
             
             
              
               NS-6251983
              
              
               NS级
              
              
               example.com
              
              华体会联盟hthns2.rackspace.com
              
               3600
              
              
               2011-06-24T01:12:51Z
              
              
               2011-06-24T01:12:51Z
              
             
             
              
               MX-3151218
              
              
               MX
              
              
               example.com
              
              mail.example.com
              
               3600
              
              
               5
              
              
               2011-06-24T01:12:53Z
              
              
               2011-06-24T01:12:53Z
              
             
             
              
               CNAME-9778009
              
              
               CNNAME系统
              
              
               www.example.com
              
              example.com
              
               5400
              
              
               2011-06-24T01:12:54Z
              
              
               2011-06-24T01:12:54Z
              
              
               本节评论CNAME记录
              
             
            
           
           
            
             4
            
            
             
              27257
             
             
              sub1.example.com
             
             
              [email protected]
             
             
              2011-06-23T03:09:34Z
             
             
              2011-06-23T03:09:33Z
             
             
              第一样本子域
             
            
            
             
              27258
             
             
              sub2.example.com
             
             
              [email protected]
             
             
              2011-06-23T03:52:55Z
             
             
              2011-06-23T03:52:55Z
             
             
              第一样本子域
             
            
            
             
              2725260
             
             
              north.example.com
             
             
              [email protected]
             
             
              2011-06-23T03:53:10Z
             
             
              2011-06-23T03:53:09Z
             
            
            
             
              272561
             
             
              south.example.com
             
             
              [email protected]
             
             
              2011-06-23T03:53:14Z
             
             
              2011-06-23T03:53:14Z
             
             
              最终样本子域
             
            
           

实例:响应注释:JSON

华体会联盟hthStatus: 200 OK   Date: Thu, 28 Jul 2011 21:54:21 GMT   X-API-VERSION: 1.0.17   Content-Type: application/json   Content-Length: 3020  {     "name" : "example.com",     "id" : 2725233,     "comment" : "Optional domain comment...",     "updated" : "2011-06-24T01:23:15.000+0000",     "nameservers" : [ {       "name" : "ns.rackspace.com"     }, {       "name" : "ns2.rackspace.com"     } ],     "accountId" : 1234,     "recordsList" : {       "totalEntries" : 6,       "records" : [ {         "name" : "ftp.example.com",         "id" : "A-6817754",         "type" : "A",         "data" : "192.0.2.8",         "updated" : "2011-05-19T13:07:08.000+0000",         "ttl" : 5771,         "created" : "2011-05-18T19:53:09.000+0000"       }, {         "name" : "example.com",         "id" : "A-6822994",         "type" : "A",         "data" : "192.0.2.17",         "updated" : "2011-06-24T01:12:52.000+0000",         "ttl" : 86400,         "created" : "2011-06-24T01:12:52.000+0000"       }, {         "name" : "example.com",         "id" : "NS-6251982",         "type" : "NS",         "data" : "ns.rackspace.com",         "updated" : "2011-06-24T01:12:51.000+0000",         "ttl" : 3600,         "created" : "2011-06-24T01:12:51.000+0000"       }, {         "name" : "example.com",         "id" : "NS-6251983",         "type" : "NS",         "data" : "ns2.rackspace.com",         "updated" : "2011-06-24T01:12:51.000+0000",         "ttl" : 3600,         "created" : "2011-06-24T01:12:51.000+0000"       }, {         "name" : "example.com",         "priority" : 5,         "id" : "MX-3151218",         "type" : "MX",         "data" : "mail.example.com",         "updated" : "2011-06-24T01:12:53.000+0000",         "ttl" : 3600,         "created" : "2011-06-24T01:12:53.000+0000"       }, {         "name" : "www.example.com",         "id" : "CNAME-9778009",         "type" : "CNAME",         "comment" : "This is a comment on the CNAME record",         "data" : "example.com",         "updated" : "2011-06-24T01:12:54.000+0000",         "ttl" : 5400,         "created" : "2011-06-24T01:12:54.000+0000"       } ]     },     "subdomains" : {       "domains" : [ {         "name" : "sub1.example.com",         "id" : 2725257,         "comment" : "1st sample subdomain",         "updated" : "2011-06-23T03:09:34.000+0000",         "emailAddress" : "[email protected]33.000+00} {ibble2.example.com,id:27258[email protected]+00} {i>:norts.example.com[email protected]served域名:2011-06-23T03:53:09.000+00[email protected]ibjectriess:4},tl3600,emailaddresss[email protected]servedss:2011-0624T01:12:51.000+00

注释注释

  • 限160字符
  • 可任文本字符
  • 可选性
  • 删除注释时设置为空字符串,例如:批注="
  • 正返回获取调用域名和记录,不论调用单调或多调,也不论调用细节或非详细调用

简言之,所有创建域创建记录和所有修改域修改记录调用都可选备注注释值)换句话说,所有这些请求调用都可有可选注释属性

Baidu
map