Updated Editor Runtime API (markdown)

Nick O'Leary 2018-03-20 13:03:53 +00:00
parent e92fb83b38
commit e0ec520977
1 changed files with 6 additions and 1 deletions

@ -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)