User selection component with autocompletion

Hi everyone,

Is there any API, component or something I could use to add user autocompletion into my plugin? I need functionality similar to that of Assignee field when creating/editing an issue. The original component is making use of endpoint, but I can’t use it due to CORS restrictions.

I could find APIs to get a list of members in a team, but what about an individual repository?


Hi Igor,

Your best bet is this API:{username}/permissions/repositories/{repo_slug}

Even though it says “teams” it works for user accounts as well. This gives you a list of effective repository permissions for a given repository.

Thank you very much! That looks exactly what I need!