如何使用pygithub按团队id列出子团队

2024-04-20 13:28:06 发布

您现在位置:Python中文网/ 问答频道 /正文

如何使用pygithub通过父团队id获取子团队

我找不到与以下请求对应的任何API对象

GET /teams/:team_id/teams

Tags: 对象apiidget团队teampygithubteams
1条回答
网友
1楼 · 发布于 2024-04-20 13:28:06

尚不支持,请参见https://github.com/PyGithub/PyGithub/issues/1054#issuecomment-468543429

Nested Teams is still in beta, we don't current use the custom media type of hellcat-preview anywhere, so our API responses won't include them.

从github文档https://developer.github.com/v3/teams/#list-child-teams

At this time, the hellcat-preview media type is required to use this endpoint.

GET /teams/:team_id/teams

相关问题 更多 >