调整gitlink相关接口用例

This commit is contained in:
floraachy
2024-01-09 13:49:07 +08:00
parent 9ee23cbc11
commit 40decc5349
32 changed files with 285 additions and 203 deletions

View File

@@ -14,7 +14,7 @@ case_info:
title: 获取项目分支列表
severity:
run: True
url: /api/v1/${env_project_url}/branches.json
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches.json
method: GET
headers:
Content-Type: application/json; charset=utf-8;

View File

@@ -14,7 +14,7 @@ case_info:
title: 获取项目分支列表(无分页)
severity:
run: True
url: /api/v1/${env_project_url}/branches/all.json
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches/all.json
method: GET
headers:
Content-Type: application/json; charset=utf-8;

View File

@@ -15,7 +15,7 @@ case_info:
title: 删除一个项目分支
severity:
run: True
url: /api/v1/${env_project_url}/branches/${branch}.json
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches/${branch}.json
method: DELETE
headers:
Content-Type: application/json; charset=utf-8;

View File

@@ -15,7 +15,7 @@ case_info:
title: 创建一个项目分支
severity:
run: True
url: /api/v1/${env_project_url}/branches.json
url: /api/v1/${env_repo_owner}/${env_repo_identifier}/branches.json
method: POST
headers:
Content-Type: application/json; charset=utf-8;

View File

@@ -15,7 +15,7 @@ case_info:
title: 更新项目默认分支
severity:
run: True
url: /api/${env_project_url}.json
url: /api/${env_repo_owner}/${env_repo_identifier}.json
method: PUT
headers:
Content-Type: application/json; charset=utf-8;