1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Updated Editor Runtime API (markdown)

Nick O'Leary 2018-03-20 10:47:01 +00:00
parent dcb6b971e5
commit e1c6a17a80

@ -99,7 +99,7 @@ This is a snapshot of how the api is split across source files, and how each of
| | | |
|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| api/admin/flow.js | `GET /flow/:id`<br/>`POST /flow`<br/>`DELETE /flow/:id`<br/>`PUT /flow/:id` | "runtime.log.audit<br/>runtime.nodes.getFlow(id)<br/>runtime.nodes.addFlow(flow)<br/>runtime.nodes.updateFlow(id,flow)<br/>runtime.nodes.removeFlow(id)" |
| api/admin/flow.js | `GET /flow/:id`<br/>`POST /flow`<br/>`DELETE /flow/:id`<br/>`PUT /flow/:id` | runtime.log.audit<br/>runtime.nodes.getFlow(id)<br/>runtime.nodes.addFlow(flow)<br/>runtime.nodes.updateFlow(id,flow)<br/>runtime.nodes.removeFlow(id) |
| api/admin/flows.js | `GET /flows`<br/>`POST /flows` | runtime.log.audit<br/>runtime.log.warn<br/>runtime.nodes.loadFlows<br/>runtime.nodes.getFlows<br/>runtime.nodes.setFlows |
| api/admin/nodes.js | `GET /nodes`<br/>`POST /nodes`<br/>`GET /\/nodes\/((@[^\/]+\/)?[^\/]+)$/`<br/>`PUT /\/nodes\/((@[^\/]+\/)?[^\/]+)$/`<br/>`DELETE /\/nodes\/((@[^\/]+\/)?[^\/]+)$/`<br/>`GET /\/nodes\/((@[^\/]+\/)?[^\/]+)\/([^\/]+)$/`<br/>`PUT /\/nodes\/((@[^\/]+\/)?[^\/]+)\/([^\/]+)$/` | runtime.nodes.enableNode<br/>runtime.nodes.getModuleInfo<br/>runtime.nodes.getNodeConfig<br/>runtime.nodes.getNodeConfigs<br/>runtime.nodes.getNodeIcons<br/>runtime.log.audit<br/>runtime.nodes.disableNode<br/>runtime.nodes.getNodeInfo<br/>runtime.nodes.getNodeList<br/>runtime.nodes.installModule<br/>runtime.nodes.uninstallModule |
| api/editor/comms.js | `WS /comms` | runtime.log.audit<br/>runtime.log.trace<br/>runtime.log.warn<br/>runtime.settings.adminAuth<br/>runtime.settings.disableEditor<br/>runtime.settings.httpAdminRoot<br/>runtime.settings.webSocketKeepAliveTime<br/>runtime.events.on<br/>runtime.events.removeListener |