From e0ec520977c80809242a87ec2d4f4625ec5d6a66 Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 20 Mar 2018 13:03:53 +0000 Subject: [PATCH] Updated Editor Runtime API (markdown) --- Editor-Runtime-API.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Editor-Runtime-API.md b/Editor-Runtime-API.md index 4a5da30..2b31514 100644 --- a/Editor-Runtime-API.md +++ b/Editor-Runtime-API.md @@ -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) + +
+ | | | | |------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | api/admin/flow.js | `GET /flow/:id`
`POST /flow`
`DELETE /flow/:id`
`PUT /flow/:id` | runtime.log.audit
runtime.nodes.getFlow(id)
runtime.nodes.addFlow(flow)
runtime.nodes.updateFlow(id,flow)
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`
`POST /auth/token`
`POST /auth/revoke` | api/auth/strategies.js
runtime.settings.adminAuth
runtime.settings.httpAdminRoot
runtime.settings.editorTheme
runtime.log.audit | | api/auth/tokens.js | | runtime.storage.getSessions
runtime.storage.saveSessions | -![](images/runtime-api/nr-api-runtime-map-1.png) +
![](images/runtime-api/nr-api-runtime-map-2.png) \ No newline at end of file