获取构建节点信息(扩展接口)
Request method/request path
GET /ms/openapi/api/apigw/v3/environment/projects/{projectId}/nodes/extListNodes
Resource description
Get build node information (extension interface)
Input parameter description
Path parameter
Parameter name | Parameter type | must | Parameter description | Default value |
---|---|---|---|---|
projectId | string | yes | Item ID |
response
HTTP code | description | Parameter type |
---|---|---|
200 | successful operation | Data return wrapper model List Node Information (permissions) |
Request sample
HEADER example
Return example -200
Data return wrapper model List Node Information (permissions)
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
data | List< Node information (permissions)> | no | data |
message | string | no | Error message |
status | integer | is | Status code |
Node information (permission)
Parameter name | Parameter type | must | Parameter description |
---|---|---|---|
pipelineRefCount | integer | no | Number of pipeline Job references |
nodeHashId | string | yes | Environmental HashId |
displayName | string | no | Display name |
ip | string | yes | IP |
canEdit | boolean | no | Whether it can be edited |
nodeStatus | string | yes | Node state |
nodeType | string | yes | Node type |
osName | string | no | Operating system |
agentStatus | boolean | yes | agent state |
operator | string | no | Responsible person |
canUse | boolean | no | Whether it can be used |
bakOperator | string | no | Backup owner |
lastBuildTime | string | no | Number of pipeline Job references |
lastModifyUser | string | no | Last modifier |
createTime | string | no | Creation/import time |
lastModifyTime | string | no | Last revision time |
name | string | yes | Node name |
bizId | integer | no | Owning service. The default value -1 indicates that no service is bound |
canDelete | boolean | no | Whether it can be deleted |
nodeId | string | yes | Node Id |
createdUser | string | yes | founder |
gateway | string | no | Gateway area |
agentHashId | string | no | agent hash id |
Last updated