summaryrefslogtreecommitdiffstats
path: root/tests/post_clients.json
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-10-16 13:24:12 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-10-16 14:40:33 +0200
commit25c1c16e99a2fbc19002b2ca06d0266f5276d3a8 (patch)
tree810ccf6585a84c3a0bdc83efce99a4624ad98ab7 /tests/post_clients.json
parentd8b78bb9221866a544066b551c6d31188adf4035 (diff)
#942 Add GET /software REST API function
This function retrieves a list of the software installed in a specific disk and partition of a client. This list can be updated by using POST /software beforehand. Request: GET /software { "client": ["192.168.56.11"], "disk": 1, "partition": 1 } Response: 200 OK { "software": [ "grub-pc-bin 2", "grub-pc 2.02", "grub2-common 2.02", "groff-base 1.22.3", "gpg 2.2.4", "gnupg-utils 2.2.4", "gnupg-l10n 2.2.4", "gnupg 2.2.4", "gnome-video-effects 0.4.3", "gnome-user-guide 3.28.2+git20180715", "gnome-user-docs 3.28.2+git20180715", "gnome-todo-common 3.28.1", "gnome-mines 3.28.0", "gnome-menus 3.13.3", "gnome-mahjongg 3.22.0", "gnome-keyring-pkcs11 3.28.0.2", "gnome-keyring 3.28.0.2", "gnome-initial-setup 3.28.0", "accountsservice 0.6.45" ] }
Diffstat (limited to 'tests/post_clients.json')
0 files changed, 0 insertions, 0 deletions