sights.search

Описание

Search over all sights

Параметры

string query (optional)
Keywords
int offset (optional)
Result shift
int count (optional)
Desired count
int cityId (optional)
ID of city where need search (list in cities.get)
int[] markIds (optional)
IDs of marks in which need search (list in marks.get)
int visitState (optional)
Visit state for current user (if authKey is specified). -1 or not specified - all, 0 - not visited, 1 - visited, 2 - desired
int order (optional)
1/-1 - by date of creating; 2/-2 - by date of modified; 3 - by rating. Negative value means reverse order.
boolean isVerified (optional)
true if need only verified sights
boolean isArchived (optional)
true if need only archived sights
boolean onlyWithPhotos (optional)
true if need sights with photos only

Пример

query
offset
count
cityId
markIds
visitState
order
isVerified
isArchived
onlyWithPhotos