IdaSearchNativeClient::getSuggestionListContents($user, $password, $domain, $url)
HTTP Status: 200
Response:
array(2) {
[0] =>
array(5) {
'link' =>
string(37) "http://teszt.idasearch.com/index.html"
'title' =>
string(5) "Index"
'description' =>
string(5) "Index"
'image' =>
string(36) "http://teszt.idasearch.com/index.jpg"
'disabled' =>
bool(false)
}
[1] =>
array(5) {
'link' =>
string(38) "http://teszt.idasearch.com/index2.html"
'title' =>
string(6) "Index2"
'description' =>
string(7) "Index 2"
'image' =>
string(37) "http://teszt.idasearch.com/index2.jpg"
'disabled' =>
bool(false)
}
}
Olyan domain használata, amihez nincs a felhasználónak joga
HTTP Status: 403
Response:
array(1) {
[0] =>
string(42) "Access denied on domain test.idasearch.com"
}
Olyan lista használata, ami nem létezik
HTTP Status: 410
Response:
string(2) "/*"
HTTP Status: 401