1. Methods of authentication

1, create personal TOKEN: https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html 2, in the request header to add “PRIVATE – TOKEN:


2. Obtain all projects under Group

https://gitlab.ziroom.com/api/v4/groups/${groupsId}/projects?per_page=100

3. Obtain the commit information of the project

https://gitlab.ziroom.com//api/v4/projects/${id}/repository/commits