获取项目信息
Request method/request path
GET /ms/openapi/api/apigw/v3/projects/{projectId}
Resource description
Obtain project information
Input parameter description
Path parameter
Parameter name | Parameter type | must | Parameter description | Default value |
---|---|---|---|---|
projectId | string | is | Project ID English name identifier |
response
HTTP code | description | Parameter type |
---|---|---|
200 | successful operation |
Request sample
HEADER example
Return example -200
Data is returned to the wrapper model project - Display model
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
result | boolean | no | Request result |
code | integer | is | Status code |
data | no | data | |
requestId | string | no | Request ID |
message | string | no | Error message |
Project - Display model
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
deptName | string | no | Department name |
englishName | string | no | English abbreviation |
projectType | integer | no | Item type |
description | string | no | description |
remark | string | no | comment |
project_name | string | no | Old project name (soon to be invalid, use projectName instead of old field names that are referenced in compatible plug-ins) |
deployType | string | no | Deployment type |
enabled | boolean | no | enable |
createdAt | string | no | Creation time |
helmChartEnabled | boolean | no | Whether to enable chart activation |
gray | boolean | no | Grayscale or not |
dataId | integer | no | Data ID |
secrecy | boolean | no | Confidentiality or not |
projectCode | string | no | Project code |
project_id | string | no | Project ID(to be deprecated, use projectId instead of the old field being referenced in compatible plug-ins) |
useBk | boolean | no | useBK |
enableExternal | boolean | no | The builder can access the Internet |
extra | string | no | extra |
routerTag | string | no | Item route pointing |
id | integer | no | Primary key ID |
ccAppId | integer | no | cc service ID |
updatedAt | string | no | Modification time |
approvalStatus | integer | no | Approval status |
approver | string | no | approver |
pipelineLimit | integer | no | Upper limit of pipeline quantity |
centerId | string | no | Center ID |
ccAppName | string | no | cc business name |
creator | string | no | founder |
kind | integer | no | kind |
cc_app_id | integer | no | Old cc service ID(soon to be obsolete, the old field name referenced in the compatible plug-in, please use ccAppId instead) |
deptId | string | no | Department ID |
approvalTime | string | no | Approval time |
project_code | string | no | Old project code (soon to be obsolete, use projectCode instead of old field names that are referenced in compatible plug-ins) |
relationId | string | no | Associated system Id |
logoAddr | string | no | logo address |
bgId | string | no | Business group ID |
offlined | boolean | no | Offline or not |
hybridCcAppId | integer | no | ID of the hybrid cloud CC service |
bgName | string | no | Business group name |
projectName | string | no | Project name |
enableIdc | boolean | no | Supports the IDC builder |
projectId | string | no | Item ID |
cc_app_name | string | no | Old cc business name (soon to be invalid, please use ccAppName instead of old field name referenced in compatible plug-in) |
hybrid_cc_app_id | integer | no | Hybrid cloud CC business ID(to be obsolete, the old fields referenced in compatible plug-ins are named, please use hybridCcAppId instead) |
centerName | string | no | Center name |
Last updated