/v1/api/list/dns (GET) - BlueCat Edge - Service Point v4.x.x

BlueCat Edge User Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v4.x.x

Gets a list of domain lists.

GET https://api-<BlueCat.edge.url>/v1/api/list/dns
Authorization: Bearer authorization token
Content-type: application/JSON

Successful response

[
  {
   "id": "662952c8-be70-4732-bd62-c9e4422fdb0a",
     "name": "Global Allow List",
     "description": "Sites to always allow",
     "domainCount": "110",
     "sourceType": "dynamic" or "user"
     "sourceConfiguration": {
       "hostName": "liszt.haus.org",
       "privateKey": "*****: '******'",
       "filePath": "/path/path",
       "port": 22,
       "tranferType": "rsyncSSH",
       "user": "SSH user",
       "publicHostKey": "public host key",
       "syncRate": 5,
       "lastSyncStatus": "SUCCESS | ERROR | IN_PROGRESS"
       "lastSyncTime": 12345
       "lastSuccessSyncTime": 12345
       "lastSyncErrorCode": "SYNC_INITIATE_ERROR"     
     }
   },
...
]
Note: If the sourceType for a domain list is "user", the dynamic option configuration information isn't returned. Dynamic option information is only returned when the sourceType is dynamic.
Possible error codes
  • UNEXPECTED_ERROR