---
title: "从服务器获取节点基本信息"
method: GET
path: "/v2/nodes//{node}/basic"
tags: ["v2"]
---

# 从服务器获取节点基本信息

`GET /v2/nodes//{node}/basic`

## Request

- The document declares no server URL.
- Auth: none declared

get node basic info from etcd

## Path parameters

- `node` string, string, required

## Response `200`

{"code":200,"msg":"success","msgcn":"成功","body":{"list":null,"bean":{{"uuid":"757755e4-99e4-11e7-bab9-00163e020ab5","host_name":"10.0.55.73","internal_ip":"10.0.55.73","external_ip":"10.0.55.73","available_memory":16,"available_cpu":4,"role":"","status":"offline","labels":{"key1":"value1"},"unschedulable":false}}}}

## Changes

- **2017-11-07** `5e3ca7f5dfc5`: 1 info
  - endpoint added
- **2017-11-07** `7b547fba71aa`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/goodrain/apis/goodrain-cmd-api/changes/v2/nodes/:node/basic/get.md)

---

[API](https://skmtc.dev/goodrain/apis/goodrain-cmd-api.md) - [All operations](https://skmtc.dev/goodrain/apis/goodrain-cmd-api/llms.txt) - [OpenAPI document](https://skmtc.dev/goodrain/apis/goodrain-cmd-api/revisions/8c773e222448?raw)
