gpt4 book ai didi

gitlab - 如何在gitlab中检查项目ID

转载 作者:行者123 更新时间:2023-12-05 04:05:22 28 4
gpt4 key购买 nike

我想使用 GitLab API 来获取我项目的内容。网址是这样的:

https://gitlab.com/api/v4/projects/:id/repository/files/:file_path?private-token=xxxxx

我已经创建了私有(private) token ,但找不到我的项目 ID。

正在寻找回复!

最佳答案

自 GitLab 11.2(2018 年 8 月 22 日)起,由于 Tuğçe Nur Taş,查看一个人的项目 ID 变得更加容易。 .

参见“Show project ID on project overview”:

GitLab projects are associated with an auto-generated, unique project ID upon creation. This information is available in the General project settings and via our API.

With this release, we have added the project ID to the project overview page, so that users without Maintainer permissions also have access to this ID when needed.

https://about.gitlab.com/images/11_2/project-id-on-overview.png

关于gitlab - 如何在gitlab中检查项目ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51349236/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com