Gets a list domain lists with names containing the search fragment, stopping with the desired result count is reached.
GET https://api-<BlueCat.edge.url>/v1/api/list/dns/search?nameContains={fragment}&desiredResultCount={100}
Authorization: Bearer authorization token
Content-type: application/JSON
Successful response
[
{
"description": "Sites to always allow",
"sourceConfiguration": null,
"sourceType": "user",
"domainCount": "110",
"name": "Global Allow List",
"id": "662952c8-be70-4732-bd62-c9e4422fdb0a"
},
...
]
Response on unsuccessful authorization
401 Unauthorized
Content-Type: application/JSON
{"code": "UNAUTHORIZED", "brief": "You are not authorized to perform this action"}
Possible error codes
- INPUT_VALIDATION_ERROR
- UNEXPECTED_ERROR