This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
kits:gpio:api [2021/10/31 16:56] James Sentman created |
kits:gpio:api [2021/11/01 13:46] James Sentman |
||
---|---|---|---|
Line 2: | Line 2: | ||
It is possible to get events from and talk to the GPIO device without XTension via JSON web commands and a Server Events stream. | It is possible to get events from and talk to the GPIO device without XTension via JSON web commands and a Server Events stream. | ||
- | * GET call to /api/data for current state and available endpoints. | + | * GET call to /api/data for [[kits:gpio:api:data|current state and available endpoints]]. |
+ | * [[kits:gpio:api:gpio|Control GPIO Outputs]] via GET request to /api/gpio | ||
+ | * Get realtime updates via the [[kits:gpio:api:events|Server Events Stream]]. |