summaryrefslogtreecommitdiffstats
path: root/src/rest.h
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-21 12:26:07 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-25 13:50:10 +0200
commitc0ca4b8cbc365df4139dff081d3fc7ecafaf40ee (patch)
tree43c0effa398504dbf996fdabfcd70497618f7cea /src/rest.h
parent51dd1c4b1a900b10b9f57a6544edc21fd2fde8d7 (diff)
rest: add shell/list
Add GET shell/list request to obtain the list of scripts available in /opt/opengnsys/client/shell Resquest payload structure: no paylaod Response's structure: { 'scripts': ['script', 'script2'] }
Diffstat (limited to 'src/rest.h')
-rw-r--r--src/rest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rest.h b/src/rest.h
index fad2e9b..f70af75 100644
--- a/src/rest.h
+++ b/src/rest.h
@@ -105,6 +105,7 @@ enum og_rest_uri {
OG_URI_WOL,
OG_URI_SHELL_RUN,
OG_URI_SHELL_OUTPUT,
+ OG_URI_SHELL_LIST,
OG_URI_SESSION,
OG_URI_SCOPES,
OG_URI_POWEROFF,