Add user/list endpoint (#280)

* user list

* add paging
This commit is contained in:
Dominic Wong
2021-11-19 12:10:37 +00:00
committed by GitHub
parent d6d7577584
commit c8dca46bab
6 changed files with 359 additions and 100 deletions

View File

@@ -192,5 +192,39 @@
}
}
}
],
"list": [
{
"title": "List all users",
"run_check": false,
"request": {
"offset": 0,
"limit": 100
},
"response": {
"users": [
{
"id": "user-1",
"username": "joe",
"email": "joe@example.com",
"created": "1637322407",
"updated": "1637322407",
"verified": false,
"verificationDate": "0",
"profile": {}
},
{
"id": "user-2",
"username": "jane",
"email": "jane@example.com",
"created": "1637324407",
"updated": "1637324407",
"verified": false,
"verificationDate": "0",
"profile": {}
}
]
}
}
]
}