Skip to main content

UserSearchParams

UserSearchParams interface.

Extends

Properties

PropertyTypeDescriptionInherited from
age?stringFilter using age ranges. Possible values: -30, 30-45, 45+. The value 45+ must be encoded in the request url: 45%2B.-
category?numberFilter using category ID.-
description?stringFilter using field description.-
gender?stringFilter using field gender type.-
is_staff?booleanFilter the users that belong to the staff.-
lat_lng?stringFilter using coordinates lat,lng.-
limit?numberNumber of results to return per page.BaseGetParams.limit
location?stringFilter using field location.-
offset?numberThe initial index from which to return the results.BaseGetParams.offset
ordering?stringOrdering fields (eg?: ?ordering=username). Minus char is used for descending ordering, eg. -username.-
real_name?stringFilter using field real_name.-
tag?numberFilter using tag ID.-
user?stringA search term. Search in fields: username, real_name. If this parameter is used username & real_name will be ignored.-
user_position?stringUse the coordinates (position_lat_lng or location_lat_lng) of the authenticated user.-
username?stringFilter using field username.-