diff options
author | Jose M. Guisado <jguisado@soleta.eu> | 2021-04-08 11:09:38 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-04-08 11:12:23 +0200 |
commit | 0212091e7fa0b58f353a05cfc671bd544e08e07e (patch) | |
tree | a435d356037748ab49687df4d940beca99a84693 /src/json.h | |
parent | 11d6e84b8e5dadf35d3a6b19ba980583a6ff3144 (diff) |
#915 Add /center/add POST method
Adds POST method to add centers (organizational unit), required payload
parameter is the name, and an additional comment is optional.
{"name": "ACME"}
{"name": "ACME", "comment": "Some comment"}
Diffstat (limited to 'src/json.h')
-rw-r--r-- | src/json.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -81,6 +81,7 @@ struct og_msg_params { const char *profile; const char *cache; const char *cache_size; + const char *comment; bool echo; struct og_partition partition_setup[OG_PARTITION_MAX]; struct og_sync_params sync_setup; |