获取用户列表API

获取用户列表,使用GET发起请求,请求地址为/api/v1/users

  1. GET /api/v1/users HTTP/1.1

请求 URI

参数名 位置 类型 必填 说明
apiKey query 字符串 API 密钥,请参考身份认证

返回

名称 类型 说明
200 OK User 列表 用户列表
401 Unauthorized Error 认证错误

示例

请求示例

  1. GET /api/v1/users HTTP/1.1
  2. X-SS-API-KEY: 7cd22002-27a7-4c5d-ba4d-a1c108a20eaf

返回示例

  1. {
  2. "value": [
  3. {
  4. "id": 1,
  5. "userName": "test",
  6. "password": "lv1rrYR9puM=",
  7. "passwordFormat": "Encrypted",
  8. "passwordSalt": "jfIlKnu47L+Sbj0bgQ63pw==",
  9. "createDate": "2018-02-05 08:31:22",
  10. "lastResetPasswordDate": "2018-05-30 09:14:54",
  11. "lastActivityDate": "2018-05-30 09:15:04",
  12. "countOfLogin": 16,
  13. "countOfFailedLogin": 0,
  14. "countOfWriting": 0,
  15. "isChecked": true,
  16. "isLockedOut": false,
  17. "displayName": "testxx",
  18. "email": "dd@dd.com",
  19. "mobile": "13333333333",
  20. "avatarUrl": "",
  21. "organization": "",
  22. "department": "",
  23. "position": "",
  24. "gender": "",
  25. "birthday": "",
  26. "education": "",
  27. "graduation": "",
  28. "address": "",
  29. "weiXin": "",
  30. "qq": "",
  31. "weiBo": "",
  32. "interests": "",
  33. "signature": ""
  34. },
  35. {
  36. "id": 2,
  37. "userName": "dd",
  38. "password": "2jHR55FWosc=",
  39. "passwordFormat": "Encrypted",
  40. "passwordSalt": "OOYSJw70PD761TYwgjxxmQ==",
  41. "createDate": "2018-02-05 09:26:23",
  42. "lastResetPasswordDate": "1754-01-01 00:00:00",
  43. "lastActivityDate": "2018-02-05 09:45:27",
  44. "countOfLogin": 2,
  45. "countOfFailedLogin": 0,
  46. "countOfWriting": 0,
  47. "isChecked": true,
  48. "isLockedOut": false,
  49. "displayName": "ddd",
  50. "email": "dd@dd.co",
  51. "mobile": "13999999999",
  52. "avatarUrl": "",
  53. "organization": "",
  54. "department": "",
  55. "position": "",
  56. "gender": "",
  57. "birthday": "",
  58. "education": "",
  59. "graduation": "",
  60. "address": "",
  61. "weiXin": "",
  62. "qq": "",
  63. "weiBo": "",
  64. "interests": "",
  65. "signature": ""
  66. }
  67. ]
  68. }