Page MenuHomePhabricator

API endpoint for username autocomplete
Closed, DeclinedPublic

Description

Add an api endpoint purpose built to serve autocomplete information for usernames. We can then build a vue component for autocomplete username to use in various screens.

Related Objects

StatusSubtypeAssignedTask
Resolvedbd808
DeclinedNone

Event Timeline

I don't think a new endpoint is actually needed. Our GET /api/users/ endpoint supports ?username__startswith=... filtering. That can be combined with the page_size query string parameter to power an autocomplete widget. This will just need a vuex action to hook that up with a component.