Can batch add resolution records to domain names
/api/resolution/add/bulk
POST
Field | Parameter | Type | Required | Description |
---|---|---|---|---|
APPID | appid | String | Yes | Application Client Id |
Timestamp | gntime | String | Yes | The current UNIX timestamp |
Signature | gntoken | String | Yes | Signature string. For details, please refer to the Signature Method page. |
domain list | ymlb | String | Yes | Domain name resolution format, multiple resolutions separated by [\n], [format: domain name | host record | record type | record value | MX value | TTL value] |
is clear | isqk | Integer | No | clear existing records 1=Yes, 0=No (default) |
clear time | qksj | String | No | 2021-11-01 12:34:56 ,When isqk=1, clear the parsing records before this time |
{ "appid": "1xxxxxxxxxxx", "gntime": 1636499415, "ymlb": "gnames.cn|aa|A|127.0.0.1|0|600\ngname.com|a|A|127.1.1.1|0|600", "isqk": "1", "qksj": "2021-11-01 12:34:56", "gntoken": "2F3594A5B8210E0810D6A6C76695AC2B" }
Field | Parameter | Type | Description |
---|---|---|---|
返回码 | code | Integer | 1:返回成功 -1:返回失败 |
返回说明 | msg | String | 返回请求操作的说明 |
返回数据 | data | Object | 返回请求操作结果数据 |
Field | Parameter | Description |
---|---|---|
解析成功集合 | ok | |
解析失败集合 | err |
{ "code": 1, "msg": "This operation was successful for 1 domain name and failed for 1 domain name.", "data": { "ok": [ { "ym": "gname.com|aa|A|127.0.0.1|0|600", "msg": "Successfully", "jxid": 8xxxx7 } ], "err": [ { "ym": "gname.com|a|A|127.1.1.1|0|600", "msg": "Sorry,Existence of the same host value and the same record value." } ] } }
Current system time:2024-12-27 04:30:34(UTC+8) Privacy PolicyRegistrants' Benefits And Responsibilities SpecificationRegistrant Educational Information
Copyright© 2024 GNAME.COM. All rights reserved.