Skip to content

Commit

Permalink
add example response
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Jan 10, 2024
1 parent dbb4e85 commit fe6ef5e
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,57 @@ This API will return all results in JSON format

Returns a list of users from LDAP. List might be truncated if LDAP server limits response size

Example Response:

```json
[
{
"uid": "NEBELUNg",
"manager": {
"rdns": [
{
"uid": "oJosazuLEs"
},
{
"ou": "People"
},
{
"dc": "kittens"
},
{
"dc": "net"
}
]
},
"mail": "NEBELUNg@kittens.net",
"employeenumber": "000001",
"uidnumber": 20244
},
{
"uid": "pixiebob",
"manager": {
"rdns": [
{
"uid": "balinese"
},
{
"ou": "People"
},
{
"dc": "kittens"
},
{
"dc": "net"
}
]
},
"mail": "pixiebob@kittens.net",
"employeenumber": "000002",
"uidnumber": 20245
}
]
```

### Users List Parameters

This service only receives one parameter named *filter* which will be used to filter users by specified attributes in config file, using special character * (asterisk) as wildcard character
Expand Down

0 comments on commit fe6ef5e

Please sign in to comment.