Gitlab用户信息遍历


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
}


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM