Search users
Changed onAuthenticated paginated user search. Default scope matches handle, name, and (for q length >= 2) location. scope=mention matches handle and name only and omits users without a handle — use this from @mention typeahead so a city fragment cannot outrank a handle. limit is accepted (1–50, default 20). Each row uses profileUrl (not avatar); there is no level field. handle is nullable on the default scope and non-empty on scope=mention. location is always returned as a profile field; only the default scope uses it for matching and ranking.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Query parameters
Page size. Accepted; typeaheads should send their visible row count (e.g. 6) instead of slicing a full page client-side.
Omit for the default explore search. mention matches handle and name only.
Response
{ success, data: { users, total, page, totalPages, query } }
Changes
- breaking
the
queryrequest parameterqbecame required - breaking
for the
queryrequest parameterlimit, default value20was added - breaking
for the
queryrequest parameterpage, default value1was added
9 more changes in this revision
- breaking