Gitlab API有官方的主机uri吗?

Gitlab API有官方的主机uri吗?,gitlab,Gitlab,可以将Gitlab API用于官方Gitlab服务器吗?我的意思是www.gitlab.com。我找不到主机URI。以下是api: While确实提到了https://gitlab.example.com/api/v3/...,您仍然可以将该API应用于gitlab.com本身 您可以使用类似https://gitlab.com/api/v3/...如中所述 或(用于创建新项目): 我回家后会查清楚的。昨天一定很晚了:)。我仍然不明白为什么他们使用gitlab.example而不是官方的gitl

可以将Gitlab API用于官方Gitlab服务器吗?我的意思是
www.gitlab.com
。我找不到主机URI。以下是api: While确实提到了
https://gitlab.example.com/api/v3/...
,您仍然可以将该API应用于gitlab.com本身

您可以使用类似
https://gitlab.com/api/v3/...
如中所述

或(用于创建新项目):


我回家后会查清楚的。昨天一定很晚了:)。我仍然不明白为什么他们使用gitlab.example而不是官方的gitlab.com应该成为官方文档的一部分(至少与
gitlab.example.com
并行)。谢谢。对自托管gitlab有什么想法吗?我们有启用API的选项吗。我没有使用gitlab官方门户。@SachinSingh。。。应该可以工作(用您自己的服务器名替换
gitlab.example.com
)。
 https://gitlab.com/api/v3/projects?private_token=...
 curl --header "PRIVATE-TOKEN: my token" -d "name=test" "https://gitlab.com/api/v3/projects"