Gitlab使用者資訊遍歷
阿新 • • 發佈:2021-08-09
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 }