Merge branch 'rest-api-improvements' of https://github.com/wso2/carbon-device-mgt-plugins into rest-api-improvements

revert-dabc3590
prabathabey 9 years ago
commit 640cf95528

@ -35,7 +35,7 @@
<Permission> <Permission>
<name>Lock</name> <name>Lock</name>
<path>/device-mgt/android/operations/lock</path> <path>/device-mgt/android/operations/lock</path>
<url>/operation/lock</url> <url>/admin/devices/lock-devices</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -51,7 +51,7 @@
<Permission> <Permission>
<name>Mute</name> <name>Mute</name>
<path>/device-mgt/android/operations/mute</path> <path>/device-mgt/android/operations/mute</path>
<url>/operation/mute</url> <url>/admin/devices/mute</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -59,14 +59,14 @@
<Permission> <Permission>
<name>Location</name> <name>Location</name>
<path>/device-mgt/android/operations/location</path> <path>/device-mgt/android/operations/location</path>
<url>/operation/location</url> <url>/admin/devices/location</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
<Permission> <Permission>
<name>Clear Passcode</name> <name>Clear Passcode</name>
<url>/operation/clear-password/</url> <url>/admin/devices/clear-password</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -74,7 +74,7 @@
<Permission> <Permission>
<name>Camera</name> <name>Camera</name>
<path>/device-mgt/android/operations/camera</path> <path>/device-mgt/android/operations/camera</path>
<url>/operation/camera</url> <url>/admin/devices/control-camera</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -82,7 +82,7 @@
<Permission> <Permission>
<name>Device Info</name> <name>Device Info</name>
<path>/device-mgt/android/operations/device-info</path> <path>/device-mgt/android/operations/device-info</path>
<url>/operation/device-info</url> <url>/admin/devices/info</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -90,7 +90,7 @@
<Permission> <Permission>
<name>Enterprise Wipe</name> <name>Enterprise Wipe</name>
<path>/device-mgt/android/operations/enterprise-wipe</path> <path>/device-mgt/android/operations/enterprise-wipe</path>
<url>/operation/enterprise-wipe</url> <url>/admin/devices/enterprise-wipe</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -98,7 +98,7 @@
<Permission> <Permission>
<name>Wipe Data</name> <name>Wipe Data</name>
<path>/device-mgt/android/operations/wipe-data</path> <path>/device-mgt/android/operations/wipe-data</path>
<url>/operation/wipe-data</url> <url>/admin/devices/wipe</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -106,7 +106,7 @@
<Permission> <Permission>
<name>Application List</name> <name>Application List</name>
<path>/device-mgt/android/operations/application-list</path> <path>/device-mgt/android/operations/application-list</path>
<url>/operation/application-list</url> <url>/admin/devices/applications</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -114,7 +114,7 @@
<Permission> <Permission>
<name>Ring</name> <name>Ring</name>
<path>/device-mgt/android/operations/ring-device</path> <path>/device-mgt/android/operations/ring-device</path>
<url>/operation/ring-device</url> <url>/admin/devices/ring</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -122,7 +122,7 @@
<Permission> <Permission>
<name>Reboot</name> <name>Reboot</name>
<path>/device-mgt/android/operations/reboot-device</path> <path>/device-mgt/android/operations/reboot-device</path>
<url>/operation/reboot-device</url> <url>/admin/devices/reboot</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -130,15 +130,15 @@
<Permission> <Permission>
<name>Upgrade Firmware</name> <name>Upgrade Firmware</name>
<path>/device-mgt/android/operations/upgrade-firmware</path> <path>/device-mgt/android/operations/upgrade-firmware</path>
<url>/operation/upgrade-firmware</url> <url>/admin/devices/upgrade-firmware</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin</scope>
</Permission> </Permission>
<Permission> <Permission>
<name>Configure VPN</name> <name>Configure VPN</name>
<path>/device-mgt/android/operations/vpn</path> <path>/device-mgt/android/operations/vpn</path>
<url>/operation/vpn</url> <url>/admin/devices/configure-vpn</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -154,7 +154,7 @@
<Permission> <Permission>
<name>Update Application</name> <name>Update Application</name>
<path>/device-mgt/android/operations/update-application</path> <path>/device-mgt/android/operations/update-application</path>
<url>/operation/update-application</url> <url>/admin/devices/update-application</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -162,7 +162,7 @@
<Permission> <Permission>
<name>Uninstall Application</name> <name>Uninstall Application</name>
<path>/device-mgt/android/operations/uninstall-application</path> <path>/device-mgt/android/operations/uninstall-application</path>
<url>/operation/uninstall-application</url> <url>/admin/devices/uninstall-application</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -170,7 +170,7 @@
<Permission> <Permission>
<name>Blacklist Applications</name> <name>Blacklist Applications</name>
<path>/device-mgt/android/operations/blacklist-applications</path> <path>/device-mgt/android/operations/blacklist-applications</path>
<url>/operation/blacklist-applications</url> <url>/admin/devices/blacklist-applications</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -178,7 +178,7 @@
<Permission> <Permission>
<name>Notification</name> <name>Notification</name>
<path>/device-mgt/android/operations/notification</path> <path>/device-mgt/android/operations/notification</path>
<url>/operation/notification</url> <url>/admin/devices/send-notification</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin,emm_user</scope> <scope>emm_admin,emm_user</scope>
</Permission> </Permission>
@ -186,7 +186,7 @@
<Permission> <Permission>
<name>Wifi</name> <name>Wifi</name>
<path>/device-mgt/android/operations/wifi</path> <path>/device-mgt/android/operations/wifi</path>
<url>/operation/wifi</url> <url>/admin/devices/configure-wifi</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -194,7 +194,7 @@
<Permission> <Permission>
<name>Encryption</name> <name>Encryption</name>
<path>/device-mgt/android/operations/encrypt</path> <path>/device-mgt/android/operations/encrypt</path>
<url>/operation/encrypt</url> <url>/admin/devices/encrypt-storage</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -202,7 +202,7 @@
<Permission> <Permission>
<name>Change lock code</name> <name>Change lock code</name>
<path>/device-mgt/android/operations/change-lock-code</path> <path>/device-mgt/android/operations/change-lock-code</path>
<url>/operation/change-lock-code</url> <url>/admin/devices/change-lock-code</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -210,7 +210,7 @@
<Permission> <Permission>
<name>Password Policy</name> <name>Password Policy</name>
<path>/device-mgt/android/operations/password-policy</path> <path>/device-mgt/android/operations/password-policy</path>
<url>/operation/password-policy</url> <url>/admin/devices/set-password-policy</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>
@ -218,7 +218,7 @@
<Permission> <Permission>
<name>Webclip</name> <name>Webclip</name>
<path>/device-mgt/android/operations/webclip</path> <path>/device-mgt/android/operations/webclip</path>
<url>/operation/webclip</url> <url>/admin/devices/set-webclip</url>
<method>POST</method> <method>POST</method>
<scope>emm_admin</scope> <scope>emm_admin</scope>
</Permission> </Permission>

Loading…
Cancel
Save