Resources - mawalu/cat-core GitHub Wiki

A short list of resources that are provided by the core and the core plugins

Nodes

/nodes

[{ id, name, cjdnsIp, status }]

/nodes/:id

{ id, cjdnsIp, adminIp, adminPassword, adminPort, adapter, comment, name, status }

status can be "up" or "down"

Groups

/groups

[{ id, name }]

/groups/:id

{ id, name, comment, nodes[] }

Peers

/peers; /peers/node/:nodeid; /peers/group/:groupid

[{ id, name, inbound, status }]

/peers/:id

{ id, name, node/group, password, ip (if outbound), cjdnsIp (if inbound), status }

status can be: "up", "down", "disabled"