获取构建节点信息(扩展接口)

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 nameParameter typemustParameter descriptionDefault value

projectId

string

yes

Item ID

response

HTTP codedescriptionParameter type

200

successful operation

Data return wrapper model List Node Information (permissions)

Request sample

curl -X GET '[Please replace API address bar request address]' 

HEADER example

accept: application/json Content-Type: application/json 

Return example -200

{
  "data" : [ {
    "pipelineRefCount" : 0,
    "nodeHashId" : "String",
    "displayName" : "String",
    "ip" : "String",
    "canEdit" : true,
    "nodeStatus" : "String",
    "nodeType" : "String",
    "osName" : "String",
    "agentStatus" : true,
    "operator" : "String",
    "canUse" : true,
    "bakOperator" : "String",
    "lastBuildTime" : "String",
    "lastModifyUser" : "String",
    "createTime" : "String",
    "lastModifyTime" : "String",
    "name" : "String",
    "bizId" : 0,
    "canDelete" : true,
    "nodeId" : "String",
    "createdUser" : "String",
    "gateway" : "String",
    "agentHashId" : "String"
  } ],
  "message" : "String",
  "status" : 0
}

Data return wrapper model List Node Information (permissions)

Parameter nameParameter typemustParameter description

data

List< Node information (permissions)>

no

data

message

string

no

Error message

status

integer

is

Status code

Node information (permission)

Parameter nameParameter typemustParameter 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