docs(api): inventory all SimAdmin operations
This commit is contained in:
Vendored
+44
@@ -0,0 +1,44 @@
|
||||
meta {
|
||||
name: set_notification_config
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://192.168.68.1:3000/api/notifications/config
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"webhook": {
|
||||
"enabled": true,
|
||||
"url": "https://example.com/webhook",
|
||||
"forward_sms": true,
|
||||
"forward_calls": true,
|
||||
"forward_ddns": true,
|
||||
"headers": {
|
||||
"Authorization": "Bearer your-token"
|
||||
},
|
||||
"secret": "your-secret-key"
|
||||
},
|
||||
"bark": {
|
||||
"enabled": false,
|
||||
"forward_sms": true,
|
||||
"forward_calls": true,
|
||||
"forward_ddns": true,
|
||||
"server_url": "https://api.day.app",
|
||||
"device_key": "",
|
||||
"group": "",
|
||||
"sound": "",
|
||||
"level": "",
|
||||
"auto_copy": true,
|
||||
"save_history": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
Reference in New Issue
Block a user