Gitlab-使用其它API资源
Posted 大牛不会太遥远
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于Gitlab-使用其它API资源的主要内容,如果未能解决你的问题,请参考以下文章
Gitlab使用Axios或Curl请求发布/放入节点 - 无法写入资源 - 400错误
在 OpenShift 上安装 Tekton Triggers EventListener (for GitLab) 会导致:错误配置映射被禁止:无法在 API 中获取资源配置映射