Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorRobin Bobbitt <ryehle@us.ibm.com>2017-02-16 04:44:36 +0300
committerRobin Bobbitt <ryehle@us.ibm.com>2017-04-18 21:55:32 +0300
commitddf7e6ae78cc87314d081427f00d54f203cfd60a (patch)
treea11222bc23c25204a4c5dbf91eda698ee0243e0e /doc/api
parent22c4050058cd941b3e2d1d38cd370a5a3cb99cb4 (diff)
Implement search by extern_uid in Users API
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/users.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/users.md b/doc/api/users.md
index 2ada4d09c84..604acedb4a2 100644
--- a/doc/api/users.md
+++ b/doc/api/users.md
@@ -130,6 +130,18 @@ For example:
GET /users?username=jack_smith
```
+You can also lookup users by external UID and provider:
+
+```
+GET /users?extern_uid=:extern_uid&provider=:provider
+```
+
+For example:
+
+```
+GET /users?extern_uid=1234567&provider=github
+```
+
You can search for users who are external with: `/users?external=true`
## Single user