[fix] Remove useless API routes for some actions

This commit is contained in:
Jérôme Lebleu 2016-03-19 10:33:44 +01:00
parent d07d8e835a
commit 95de4801a0

View file

@ -977,7 +977,6 @@ service:
action_help: > action_help: >
Check if the specific file has been modified and display differences. Check if the specific file has been modified and display differences.
Stores the file hash in the services.yml file Stores the file hash in the services.yml file
api: PUT /services/safecopy
arguments: arguments:
new_conf_file: new_conf_file:
help: Path to the desired conf file help: Path to the desired conf file
@ -998,7 +997,6 @@ service:
action_help: > action_help: >
Check if the specific file has been modified before removing it. Check if the specific file has been modified before removing it.
Backup the file in /home/yunohost.backup Backup the file in /home/yunohost.backup
api: PUT /services/safecopy
arguments: arguments:
conf_file: conf_file:
help: Path to the targeted conf file help: Path to the targeted conf file
@ -1322,7 +1320,6 @@ hook:
### hook_add() ### hook_add()
add: add:
action_help: Store hook script to filesystem action_help: Store hook script to filesystem
api: PUT /hook
arguments: arguments:
app: app:
help: App to link with help: App to link with
@ -1332,7 +1329,6 @@ hook:
### hook_remove() ### hook_remove()
remove: remove:
action_help: Remove hook scripts from filesystem action_help: Remove hook scripts from filesystem
api: DELETE /hook
arguments: arguments:
app: app:
help: Scripts related to app will be removed help: Scripts related to app will be removed
@ -1386,7 +1382,6 @@ hook:
### hook_exec() ### hook_exec()
exec: exec:
action_help: Execute hook from a file with arguments action_help: Execute hook from a file with arguments
api: GET /hook
arguments: arguments:
path: path:
help: Path of the script to execute help: Path of the script to execute