Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Rest gitlab api:获取组(带子组)的所有项目_Rest_Api_Gitlab - Fatal编程技术网

Rest gitlab api:获取组(带子组)的所有项目

Rest gitlab api:获取组(带子组)的所有项目,rest,api,gitlab,Rest,Api,Gitlab,我想使用gitlab API获取该组的所有项目和子项目,这是我在进入该组页面时获得的信息 我注意到gitlab的ui使用 https://gitlab.com/groups/<group_name>/<subgroup_name>/-/children.json https://gitlab.com/groups///-/children.json 获取组的项目和子组 我想知道是否有类似的东西,或者我必须使用组/xxx/子组和grops/xxx/projects端点递

我想使用gitlab API获取该组的所有项目和子项目,这是我在进入该组页面时获得的信息

我注意到gitlab的ui使用

https://gitlab.com/groups/<group_name>/<subgroup_name>/-/children.json
https://gitlab.com/groups///-/children.json
获取组的项目和子组

我想知道是否有类似的东西,或者我必须使用
组/xxx/子组
grops/xxx/projects
端点递归地构建它。

有一个
包含子组
属性,该属性将包含子组下列出的所有项目,这就是您要做的吗?

具有包含子组的
属性,该属性将包含子组下列出的所有项目,这就是您要做的吗