MCPcopy Create free account
hub / github.com/OpenSN-Library/OpenSN-Library / GetNodeList

Function GetNodeList

ui/src/Request/node.js:4–10  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

2import { UrlBase } from './base';
3
4export function GetNodeList(callback) {
5 axios.get(UrlBase+`/node/`).then(function (response) {
6 callback(response);
7 }).catch(function (error) {
8 console.error(error);
9 });
10}
11
12export function GetNodeDetail(index,callback) {
13 axios.get(UrlBase+`/node/${index}`).then(function (response) {

Callers 2

NodeListFunction · 0.90
OverviewPage.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected