cURL
curl --request GET \ --url http://127.0.0.1:22100/v1/status \ --header 'Authorization: Bearer <token>'
{ "generation": 123, "node_id": "<string>", "role": "standalone" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
当前代际与节点角色
standalone
leader
follower