thor icon indicating copy to clipboard operation
thor copied to clipboard

Add enpoint to get node information

Open CruiseMan opened this issue 4 years ago • 1 comments

Currently ( at least i did no found) no way to get node information. How i can tell what version of thor i run over REST ?

@qianbin Can you advise here ?

CruiseMan avatar Apr 20 '20 20:04 CruiseMan

You are right. There's no way to get node version. However, the version of REST API can be found in the field X-Thorest-Ver of response headers.

curl -I  http://localhost:8669/blocks/best 
HTTP/1.1 405 Method Not Allowed
X-Genesis-Id: 0x00000000851caf3cfdb6e899cf5958bfb1ac3413d346d43539627e6be7ec1b4a
X-Thorest-Ver: 1.3.2
Date: Tue, 21 Apr 2020 02:33:29 GMT

qianbin avatar Apr 21 '20 02:04 qianbin

This issue has been marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 09 '24 01:01 github-actions[bot]

Closing as it's marked as stale and without activity

darrenvechain avatar Jan 31 '24 18:01 darrenvechain