Update all APIv2 docs

This commit is contained in:
JonnyWong16 2016-05-08 11:42:53 -07:00
parent 2d10b0748c
commit e1b61214b7
9 changed files with 3218 additions and 487 deletions

View file

@ -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();

View file

@ -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,