代码托管 CODEARTS REPO-创建项目并fork仓库:请求示例

时间:2024-11-30 15:28:36

请求示例

POST https://{endpoint}/v2/projects/{project_uuid}/repositories/fork

{
  "project_name" : "testworld",
  "repo_name" : "demotest1",
  "template_id" : 453489,
  "import_members" : 0,
  "visibility_level" : 20,
  "type" : "normal"
}
support.huaweicloud.com/api-codeartsrepo/CreateProjectAndforkRepositories.html