Changeset 8273 for trunk/ws.php


Ignore:
Timestamp:
Dec 24, 2010, 12:12:03 AM (13 years ago)
Author:
plg
Message:

feature 2084 added: new method pwg.plugins.getList and pwg.plugins.performAction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r8272 r8273  
    369369    'POST method only.'
    370370    );
     371 
     372  $service->addMethod(
     373    'pwg.plugins.getList',
     374    'ws_plugins_getList',
     375    array(),
     376    'get the list of plugin with id, name, version, state and description
     377<br>administration status required'
     378    );
     379
     380  $service->addMethod(
     381    'pwg.plugins.performAction',
     382    'ws_plugins_performAction',
     383    array(
     384      'action' => array('default' => null),
     385      'plugin' => array('default' => null),
     386      'pwg_token' => array('default' => null),
     387      ),
     388    'install/activate/deactivate/uninstall/delete a plugin
     389<br>administration status required'
     390    );
    371391}
    372392
Note: See TracChangeset for help on using the changeset viewer.