1. 程式人生 > >Gitlab-使用其它API資源

Gitlab-使用其它API資源

enc osi get con members let e-mail AD new

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

Gitlab-使用其它API資源