User Tools

Site Tools


club:projekte:spaceapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
club:projekte:spaceapi [2023-11-05 14:56 UTC] – [Data entry] jtbxclub:projekte:spaceapi [2023-11-10 23:46 UTC] (current) – Update SpaceAPI project page bendodroid
Line 1: Line 1:
-====== SpaceAPI Service ======+====== SpaceAPI Daemon ======
 ---- dataentry project ---- ---- dataentry project ----
 status_state    : active status_state    : active
 maintainers     : bendodroid maintainers     : bendodroid
-duration_effort : weekend+duration_effort : multiple long evenings
 ---- ----
  
 +{{ :club:projekte:spaceapid_logo.png?250|}}
  
-Aktuell wird das [[https://spaceapi.io|SpaceAPI]] JSON von einem PHP-Script aktualisiert. +Aktuell wird das [[https://spaceapi.io|SpaceAPI]] JSON noch von einem PHP-Script aktualisiert. 
-Hier wäre ein kleiner Webservice mit ordentlicher Config eine bessere Lösung.+Der in Go entwickelte ''spaceapid''-Daemon soll dieses PHP-Skript auf absehbare Zeit ersetzen.
  
-Featureset:+Bereits implementiertes Featureset:
   * SpaceAPI JSON aus Datei/ Template lesen   * SpaceAPI JSON aus Datei/ Template lesen
-  * Raumstatus per "API" aktualisieren (open/close per Auth-Token) +  * Raumstatus per HTTP PUT aktualisieren, momentan mit HTTP BasicAuth 
-    Dooris ruft eine URL per curl o.äauf+  Türstatus wird zwischen Neustarts persistiert 
 + 
 +Momentan läuft der neue Daemon bereits auf [[https://spaceapi.hamburg.ccc.de]] und wird auch vom Dooris aktualisiert.
  
-Das kann dann auch unter einer separaten Domain (z.B. spaceapi.hamburg.ccc.de) gehostet werden. 
club/projekte/spaceapi.txt · Last modified: 2023-11-10 23:46 UTC by bendodroid

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki