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-09 10:29:06 +00:00
parent 90245c8e0b
commit 73a2cc1270

@ -86,9 +86,9 @@ All URLs are relative to `settings.httpAdminRoot`, which defaults to `/`.
| | | | | | | |
|------------------------------|-------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 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\/((@[^\/]+\/)?[^\/]+)$/ | runtime.nodes.enableNode<br/>PUT /\/nodes\/((@[^\/]+\/)?[^\/]+)$/ | runtime.nodes.getModuleInfo<br/>DELETE /\/nodes\/((@[^\/]+\/)?[^\/]+)$/ | runtime.nodes.getNodeConfig<br/>GET /\/nodes\/((@[^\/]+\/)?[^\/]+)\/([^\/]+)$/ | runtime.nodes.getNodeConfigs<br/>PUT /\/nodes\/((@[^\/]+\/)?[^\/]+)\/([^\/]+)$/ | 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/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\/((@[^\/]+\/)?[^\/]+)$/` | runtime.nodes.enableNode<br/>PUT /\/nodes\/((@[^\/]+\/)?[^\/]+)$/ | runtime.nodes.getModuleInfo<br/>DELETE /\/nodes\/((@[^\/]+\/)?[^\/]+)$/ | runtime.nodes.getNodeConfig<br/>GET /\/nodes\/((@[^\/]+\/)?[^\/]+)\/([^\/]+)$/ | runtime.nodes.getNodeConfigs<br/>PUT /\/nodes\/((@[^\/]+\/)?[^\/]+)\/([^\/]+)$/ | 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 | | | | |
| api/editor/credentials.js | GET /credentials/:type/:id | runtime.log.audit<br/>runtime.nodes.getCredentials<br/>runtime.nodes.getCredentialDefinition | | | | |
| api/editor/index.js | | runtime.isStarted<br/>runtime.i18n.registerMessageCatalogs<br/>runtime.log.error | | | | |