Skip to main content
Glama
aliyun

AlibabaCloud DevOps MCP Server

Official
by aliyun
testplan.swagger.json7.97 kB
{ "openapi": "3.0.3", "info": { "title": "API文档", "description": "这是描述信息", "version": "1.0" }, "servers": [], "tags": [ { "name": "测试计划", "description": "测试计划相关接口" } ], "paths": { "/projex/organizations/{organizationId}/testPlan/list": { "post": { "tags": [ "测试计划" ], "summary": "获取测试计划列表", "operationId": "ListTestPlan", "parameters": [ { "name": "organizationId", "in": "path", "description": "organizationId", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TestPlanDTO" } } } } } } } }, "/projex/organizations/{organizationId}/{testPlanIdentifier}/result/list/{directoryIdentifier}": { "post": { "tags": [ "测试计划" ], "summary": "获取测试计划中测试用例列表", "operationId": "GetTestResultList", "parameters": [ { "name": "organizationId", "in": "path", "description": "organizationId", "required": true, "schema": { "type": "string" } }, { "name": "testPlanIdentifier", "in": "path", "description": "测试计划id", "required": true, "schema": { "type": "string" } }, { "name": "directoryIdentifier", "in": "path", "description": "目录id", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "*/*": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/TestcaseTestResultSummary" } } } } } } } }, "/projex/organizations/{organizationId}/testPlans/{testplanId}/testcases/{id}": { "put": { "tags": [ "测试计划" ], "summary": "更新测试结果", "operationId": "UpdateTestResult", "parameters": [ { "name": "testplanId", "in": "path", "description": "测试计划唯一标识", "required": true, "schema": { "type": "string" } }, { "name": "id", "in": "path", "description": "测试用例唯一标识", "required": true, "schema": { "type": "string" } }, { "name": "organizationId", "in": "path", "description": "organizationId", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateTestResultRequest" } } }, "required": true }, "responses": { "200": { "description": "OK" } } } } }, "components": { "schemas": { "UpdateTestResultRequest": { "type": "object", "properties": { "executor": { "type": "string", "description": "执行人userId" }, "status": { "type": "string", "description": "状态,可选值为TODO, PASS,FAILURE, POSTPONE,分别对应待测试,以通过,未通过,暂缓" } } }, "TestPlanDTO": { "type": "object", "properties": { "testPlanIdentifier": { "type": "string", "description": "测试计划id" }, "name": { "type": "string", "description": "测试计划名称" }, "managers": { "type": "array", "description": "测试计划管理员id" }, "gmtCreate": { "type": "string", "format": "date-time", "description": "创建时间的时间戳" }, "spaceIdentifier": { "type": "string", "description": "关联项目id" } } }, "TestcaseTestResultSummary": { "type": "object", "properties": { "identifier": { "type": "string", "description": "测试用例 id,测试用例唯一标识" }, "gmtCreate": { "type": "string", "format": "date-time", "description": "测试用例创建时间" }, "subject": { "type": "string", "description": "测试用例标题" }, "assignedTo": { "$ref": "#/components/schemas/MiniUser", "description": "负责人信息" }, "spaceIdentifier": { "type": "string", "description": "测试用例所属的测试库 id" }, "customFields": { "$ref": "#/components/schemas/FieldValue", "description": "自定义字段数组" }, "testResultIdentifier": { "type": "string", "description": "测试结果的id" }, "testResultStatus": { "type": "string", "description": "测试结果的状态,可选值为TODO,PASS,FAILURE,POSTPONE,分别对应待测试,以通过,未通过,暂缓" }, "testResultExecutorIdentifier": { "type": "string", "description": "测试计划执行人id" }, "testResultExecutor": { "$ref": "#/components/schemas/MiniUser", "description": "测试计划执行人对象" }, "testResultGmtCreate": { "type": "string", "description": "测试结果生成时间" }, "bugCount": { "type": "integer", "description": "测试执行结果关联缺陷数量" } } }, "FieldValue": { "title": "FieldValue", "type": "object", "properties": { "fieldFormat": { "type": "string", "description": "字段格式", "example": "input" }, "fieldIdentifier": { "type": "string", "description": "字段id", "example": "943d20fe5e385a08fdd6b593fb" }, "fieldClassName": { "type": "string", "description": "字段类型", "example": "int" }, "value": { "type": "string", "description": "字段值" } } }, "MiniUser": { "title": "MiniUser", "type": "object", "properties": { "id": { "type": "string", "description": "用户id", "example": "user-id-xxx" }, "name": { "type": "string", "description": "名称", "example": "name-xxx" } } } } } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aliyun/alibabacloud-devops-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server