summaryrefslogtreecommitdiffstats
path: root/tests/units/test_0005_post_shell_output.py
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2021-05-31 10:56:13 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-05-31 13:01:47 +0200
commit41fad11408daf3769ff1774390357caf6dd50a25 (patch)
treed0ebfc4ede4628eee0f38be90536315994356dc6 /tests/units/test_0005_post_shell_output.py
parentee2f909dbee5ed204258d013f27adb1d70bf5926 (diff)
#942 Add POST /procedure/add method
This method adds a procedure associated with a center to the database. Required payload parameters are center and name, description is optional. Note: ogServer does not allow to add more than one procedure with the same name and center. Request: POST /procedure/add { "center": "1" "name": "procedure1" "description": "My procedure" } Response: 200 OK This commit also adds unit tests for /procedure/add POST method.
Diffstat (limited to 'tests/units/test_0005_post_shell_output.py')
0 files changed, 0 insertions, 0 deletions