创建项目

请求方法/请求路径

POST /ms/openapi/api/apigw/v3/projects

资源描述

创建项目

输入参数说明

Body参数

参数名称参数类型必须参数说明默认值

body

项目信息

Path参数

响应

HTTP代码说明参数类型

200

successful operation

请求样例

curl -X POST '[请替换为API地址栏请求地址]' \
-H 'X-DEVOPS-UID:xxx'

HEADER样例

accept: application/json
Content-Type: application/json
X-DEVOPS-UID:xxx

返回样例-200

{
  "data" : true,
  "message" : "String",
  "status" : 0
}

项目-新增模型

参数名称参数类型必须参数说明

englishName

string

英文缩写

deptName

string

二级部门名称

centerId

integer

三级部门ID

secrecy

boolean

是否保密

kind

integer

kind

projectType

integer

项目类型

deptId

integer

二级部门ID

description

string

描述

bgName

string

一级部门名字

projectName

string

项目名称

bgId

integer

一级部门ID

centerName

string

三级部门名称

数据返回包装模型Boolean

参数名称参数类型必须参数说明

data

boolean

数据

message

string

错误信息

status

integer

状态码

最后更新于