Update to api: WIP device access

This commit is contained in:
Jesse Malotaux 2025-03-23 18:22:36 +01:00
parent e9e6f9e798
commit 22f4fecce2
5 changed files with 46 additions and 5 deletions

View file

@ -13,10 +13,13 @@ var Endpoints = Allowed{
"/macro/delete",
"/macro/play",
"/device/list",
"/device/access/check",
"/device/access/request",
},
Remote: []string{
"/macro/list",
"/device/access",
"/device/access/check",
"/device/access/request",
"/device/auth",
},
Auth: []string{

View file

@ -4,3 +4,8 @@ type Settings struct {
Name string `json:"name"`
Type string `json:"type"`
}
type RemoteWebhook struct {
Event string `json:"event"`
Data string `json:"data"`
}