首页 > 其他 > 详细

Gitlab用户信息遍历

时间:2021-08-09 23:29:21      阅读:50      评论:0      收藏:0      [点我收藏+]

gitlab

curl -s https://git.huoxian.cn/api/v4/users/{userid} | jq

╰─ curl -s http://xx.xx.xx.xx:8800//api/v4/users/1 | jq                                                                                                                                                                      ─╯
{
  "id": 1,
  "name": "Administrator",
  "username": "root",
  "state": "active",
  "avatar_url": "http://192.168.50.10:8800/uploads/-/system/user/avatar/1/avatar.png",
  "web_url": "http://192.168.50.10:8800/root",
  "created_at": "2020-12-29T09:41:51.761Z",
  "bio": "",
  "bio_html": "",
  "location": "",
  "public_email": "",
  "skype": "",
  "linkedin": "",
  "twitter": "",
  "website_url": "",
  "organization": "",
  "job_title": "",
  "work_information": null
}
╰─ curl -s http://xx.xx.xx.xx:8800//api/v4/users/2 | jq                                                                                                                                                                      ─╯
{
  "id": 2,
  "name": "xxxxxx",
  "username": "xiaoxiaoMao",
  "state": "active",
  "avatar_url": "http://192.168.50.10:8800/uploads/-/system/user/avatar/2/avatar.png",
  "web_url": "http://192.168.50.10:8800/xiaoxiaoMao",
  "created_at": "2020-12-29T10:04:18.729Z",
  "bio": "",
  "bio_html": "",
  "location": "",
  "public_email": "",
  "skype": "",
  "linkedin": "",
  "twitter": "",
  "website_url": "",
  "organization": "",
  "job_title": "",
  "work_information": null
}

Gitlab用户信息遍历

原文:https://www.cnblogs.com/suyu7/p/15120488.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!