mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 15:29:26 +00:00
Update to api: WIP device access
This commit is contained in:
parent
e9e6f9e798
commit
22f4fecce2
5 changed files with 46 additions and 5 deletions
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue