Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ab659da6
Commit
ab659da6
authored
Jul 16, 2018
by
Daniel Fernau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc/api/users.md
Move "search by email or username" block to "for normal users" section
parent
fabf6a56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
doc/api/users.md
doc/api/users.md
+15
-15
No files found.
doc/api/users.md
View file @
ab659da6
...
...
@@ -33,6 +33,20 @@ GET /users
]
```
You can also search for users by email or username with:
`/users?search=John`
In addition, you can lookup users by username:
```
GET /users?username=:username
```
For example:
```
GET /users?username=jack_smith
```
In addition, you can filter users based on states eg.
`blocked`
,
`active`
This works only to filter users who are
`blocked`
or
`active`
.
It does not support
`active=false`
or
`blocked=false`
.
...
...
@@ -126,21 +140,7 @@ GET /users
]
```
You can search for users by email or username with:
`/users?search=John`
In addition, you can lookup users by username:
```
GET /users?username=:username
```
For example:
```
GET /users?username=jack_smith
```
You can also lookup users by external UID and provider:
You can lookup users by external UID and provider:
```
GET /users?extern_uid=:extern_uid&provider=:provider
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment