Awkwardness in the User REST API

Overall I’m pretty happy with the Nexus REST API. The built in swagger is very useful, and most of the API is pretty decent. Unfortunately, /v1/security/users is just plain awkward. There is no GET to get a single user, only a GET which takes an optional source and an optional userId as parameters, but the userId doesn’t perform an exact match? It’s a fuzzy search which can return multiple results.

So as a feature request, I’d really like to see a GET /v1/security/users/{userId} which simply returns the user matching that userId (or 404).

Unfortunately user management isn’t that simple as Nexus allows the configuration of multiple identify providers which may have overlapping users. There are also unfortunate issues as the system supports multiple LDAP servers which can also overlap.