1. API Endpoint
https://openapi.dns.com/api/domain/getView/
2. Input Parameters
Parameter |
Name |
Type |
Description |
domain |
Domain or Domain ID |
string |
Required |
3. Output Parameters
Parameter |
Name |
Type |
Description |
code |
Return Code |
int |
0 means success; non-zero refers to error codes |
message |
Message |
string |
If the operation succeeds, this may be empty; if it fails, an error message will be returned |
data |
Response Data |
array |
If the API returns data, it will be in an array. If no data, it will be empty |
4. Data Field (data) Description
Parameter |
Name |
Type |
Description |
data |
Line Array |
array |
The array of lines returned on success |
data.id |
Line ID |
int |
- |
data.parent_id |
Parent Line ID |
string |
- |
data.view_name |
Line Name |
int |
- |
data.view_name_en |
Line Name (EN) |
string |
- |
data.sort |
Sort Order |
string |
- |
data.enable |
Enabled |
string |
- |