Flow API - update gateway (#357)

* Altered API to incorporate Flow IDs, refactored for dynamic start/stop of flows
* Gateway: Split endpoint / dispatcher for maintainability
This commit is contained in:
cybermaggedon 2025-05-02 21:11:50 +01:00 committed by GitHub
parent 450f664b1b
commit a70ae9793a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 1206 additions and 907 deletions

View file

@ -5,7 +5,7 @@ import json
import sys
import base64
url = "http://localhost:8088/api/v1/"
url = "http://localhost:8088/api/v1/flow/0000/document-load"
############################################################################
@ -88,10 +88,7 @@ input = {
}
resp = requests.post(
f"{url}load/document",
json=input,
)
resp = requests.post(url, json=input)
resp = resp.json()