Description: Gets a node based on node Id.
Security: Requires a valid user
Usage: GET api/v1/nodes/:nodeId
Produces: application/json
URL parameters:
Parameter | Data Type | Description |
|---|---|---|
| Integer | The numeric id of thenodebeing requested |
Sample Response:
GET /pipelines/api/v1/nodes/2
[
{
"instanceInfo": null,
"providerMetadataPropertyBag": null,
"initPropertyBag": {
"insecureDockerRegistries": [
"146.148.104.158:8082"
]
},
"systemPropertyBag": {
"token": "e772f6f5-54ff-44e6-adfc-76b2b4a65610"
},
"id": 2,
"projectId": 1,
"statusCode": 4002,
"friendlyName": "test",
"currentBuildPlaneVersion": "1.7.9",
"intendedBuildPlaneVersion": "1.7.9",
"isOnDemand": false,
"isAutoInitialized": true,
"isDebug": null,
"isSwapEnabled": false,
"IPAddress": "34.122.216.34",
"sshPort": 22,
"sshUser": "root",
"instanceId": null,
"stepId": null,
"statusLastUpdatedAt": "2021-03-31T20:02:06.112Z",
"lastInitializedAt": "2021-02-10T07:12:03.000Z",
"provisionedAt": null,
"projectIntegrationId": null,
"nodePoolId": 1,
"stopRequested": false,
"createdBy": "3",
"updatedBy": "5",
"createdAt": "2021-02-10T07:11:56.557Z",
"updatedAt": "2021-03-31T20:02:06.112Z"
}
]Response Codes:
200: Success