...
Code Block | ||||
---|---|---|---|---|
| ||||
show apps show apps -d |
add app
Used to add a new app to the system. By default a new app belongs to the user who created it. If the user who created the application belongs to the supergroup, he can specify another user as the owner of the app. Parameters:
...
Code Block | ||||
---|---|---|---|---|
| ||||
add app MyApp myNewUniqueKey "http://localhost/my_app" add app -u rest_http_user -p rest_password MyApp2 myNewKey2 "http://localhost/my_app2" add app -o alice MyApp3 myNewKey3 "http://localhost/my_app3" |
...
update app
The command is used to modify an existing app in the system. A user can modify only applications he or she owns. If a user is a member of the supergroup he can change any applications. Only a supergroup member can change the owner of an app. Parameters:
...
Code Block | ||||
---|---|---|---|---|
| ||||
update app -k newAppKey -u new_rest_user -p new_rest_password MyApp update app -o admin MyApp update app -l "http://10.10.10.10/app" MyApp |
...
remove app
Used to remove an app. Only the user who own the application or a member of the supergroup can remove it. Parameters:
...
Code Block | ||||
---|---|---|---|---|
| ||||
add app-rest-method MyApp ConnectionStatusEvent add app-rest-method -a MyApp |
...
remove app-rest-method
Used to exclude a method from the app. Only the user who owns the app or a member of the supergroup can remove methods from the app. Parameters:
...