Update all APIv2 docs
This commit is contained in:
@@ -194,7 +194,7 @@
|
||||
var r = confirm("Are you sure you want to clear the PlexPy notification log?");
|
||||
if (r == true) {
|
||||
$.ajax({
|
||||
url: 'clearNotifyLogs',
|
||||
url: 'delete_notification_log',
|
||||
type: 'POST',
|
||||
success: function (data) {
|
||||
notification_log_table.draw();
|
||||
|
@@ -200,13 +200,14 @@
|
||||
function sendTestNotification() {
|
||||
if ('${agent["id"]}' != '17') {
|
||||
$.ajax({
|
||||
url: 'test_notifier',
|
||||
url: 'send_notification',
|
||||
data: {
|
||||
agent_id: '${agent["id"]}',
|
||||
subject: $('#test_subject').val(),
|
||||
body: $('#test_body').val(),
|
||||
script: $('#test_script').val(),
|
||||
script_args: $('#test_script_args').val()
|
||||
script_args: $('#test_script_args').val(),
|
||||
notify_action: 'test'
|
||||
},
|
||||
cache: false,
|
||||
async: true,
|
||||
|
Reference in New Issue
Block a user