Update 04. Prototyp – Vorgehen & Implementierung authored by Philipp Straub's avatar Philipp Straub
...@@ -55,10 +55,10 @@ Sobald Node-RED einsatzbereit ist, kann die Web-App standardmäßig über den Po ...@@ -55,10 +55,10 @@ Sobald Node-RED einsatzbereit ist, kann die Web-App standardmäßig über den Po
Wurde ein **Secondary Device** erstellt, sind folgende Adressen über den Browser zu erreichen:```{IP-Adresse:Port}``` Wurde ein **Secondary Device** erstellt, sind folgende Adressen über den Browser zu erreichen:```{IP-Adresse:Port}```
- ```/reactor``` [HTTP GET], sucht nach neuen Interactoren, routet bei Erfolg auf ```/reactor/umleitung?uuid={Interactor UUID}``` - ```/reactor``` [HTTP GET], sucht nach neuen Interactoren, routet bei Erfolg auf ```/reactor/umleitung?uuid={Interactor UUID}```
- ```/reactor/topic``` [HTTP GET] - ```/reactor/topic``` [HTTP GET], liefert Topic, unter dem ausgewählter Intactor publiziert, ```Content-Type: application/json```
- ```/reactor/name``` [HTTP GET] - ```/reactor/name``` [HTTP GET], liefert angegebenen Namen von ausgewähltem Interactor, ```Content-Type: application/json```
- ```/reactor/umleitung?uuid={Interactor UUID}``` [HTTP GET] - ```/reactor/umleitung?uuid={Interactor UUID}``` [HTTP GET], liefert Webpage zur Darstellung der Reaktionen eines Interactors, , ```Content-Type: text/html```
- ```/reactor/reaction?uuid={Interactor UUID}``` [HTTP GET] - ```/reactor/reaction?uuid={Interactor UUID}``` [HTTP GET], liefert zuletzt gesendete Reaktion(en) eines Interactors, ```Content-Type: application/json```
- ```/reactor/files/script.js``` [HTTP GET], liefert Javascript für ```/reactor/umleitung?uuid={Interactor UUID}```, ```Content-Type: application/javascript``` - ```/reactor/files/script.js``` [HTTP GET], liefert Javascript für ```/reactor/umleitung?uuid={Interactor UUID}```, ```Content-Type: application/javascript```
- ```/reactor/files/stylesheet.css``` [HTTP GET], liefert CSS für ```/reactor/umleitung?uuid={Interactor UUID}```, ```Content-Type: text/css``` - ```/reactor/files/stylesheet.css``` [HTTP GET], liefert CSS für ```/reactor/umleitung?uuid={Interactor UUID}```, ```Content-Type: text/css```
... ...
......