Gitlab-使用其它API资源

1. Users: 执行下面的任务去管理用户

  • List users
  • Get, Create , edit, and delete a user
  • List SSH keys for a given user
  • Get, create, and edit SSH keys for a user


2. Sessions: 通过下面的方式可以进行管理

  • Log in with your e-mail and password to get your private token


3. Project: 管理项目的方式

  • List all the project
  • Get a single project
  • Get project events
  • Create a new project
  • Remove a project
  • List all the team members for a given project
  • Get,create,edit, and delete a team member
  • Get, add, edit , and delete project hooks
  • Get al the branches
  • Get a single branch
  • Protect and unprotect branches


4. Project snippets: 通过下列方式进行处理

  • Get, create, update,and delete code snippets for a project


5. Repositories: 可以通过下列方式进行管理

  • List all the Git tags
  • Create a new Git tag
  • Get a raw file or blob content
  • Compare branches, tags, or commits
  • List all the contributors


6. Commits:可以通过下列方式进行管理

  • List all the commits for a repository
  • Get a single commit
  • Get the difference for a single commit


7. Branches: 可以通过下列方式进行管理

  • List, get ,create ,protect, unprotect, and delete branches


8. Merge requests: 可以通过下列方式进行管理

  • List all the merge requests
  • Get, create, edit , accept , and close merge requests
  • Get all the comments for a given merge request


9. Issues: 可以通过下列方式进行管理

  • List, get ,create ,and edit issues


10. Groups: 可以通过下列方式进行管理

  • List, get and create groups
  • Transfer the project to a group
  • List all the group members
  • Add and remove group members

猜你喜欢

转载自www.cnblogs.com/zangxueyuan/p/9236398.html
今日推荐