Go to file
Javier Sánchez Parra 41fad11408 #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.
2021-05-31 13:01:47 +02:00
cfg #915 refresh SQL schema 2021-02-09 13:16:53 +01:00
src #942 Add POST /procedure/add method 2021-05-31 13:01:47 +02:00
tests #942 Add POST /procedure/add method 2021-05-31 13:01:47 +02:00
.gitignore #985 add .gitignore file 2020-06-17 18:20:32 +02:00
COPYING #985 add COPYING file 2020-06-18 16:48:20 +02:00
Makefile.am #1042 Update database schema automatically 2021-04-20 11:27:21 +02:00
configure.ac #986 rename to ogserver 2020-06-19 11:19:55 +02:00