mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Updated Editor Runtime API (markdown)
parent
e92fb83b38
commit
e0ec520977
@ -97,6 +97,11 @@ All URLs are relative to `settings.httpAdminRoot`, which defaults to `/`.
|
||||
|
||||
This is a snapshot of how the api is split across source files, and how each of those files reaches into the runtime api. This is a pain to manually generate, so there may be omissions and could likely fall out of sync with reality as things are rationalised.
|
||||
|
||||
|
||||
![](images/runtime-api/nr-api-runtime-map-1.png)
|
||||
|
||||
<details>
|
||||
|
||||
| | | |
|
||||
|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| 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) |
|
||||
@ -115,6 +120,6 @@ This is a snapshot of how the api is split across source files, and how each of
|
||||
| api/auth/index.js | `GET /auth/login`<br/>`POST /auth/token`<br/>`POST /auth/revoke` | api/auth/strategies.js<br/>runtime.settings.adminAuth<br/>runtime.settings.httpAdminRoot<br/>runtime.settings.editorTheme<br/>runtime.log.audit |
|
||||
| api/auth/tokens.js | | runtime.storage.getSessions<br/>runtime.storage.saveSessions |
|
||||
|
||||
![](images/runtime-api/nr-api-runtime-map-1.png)
|
||||
</details>
|
||||
|
||||
![](images/runtime-api/nr-api-runtime-map-2.png)
|
Loading…
Reference in New Issue
Block a user