diff options
Diffstat (limited to 'src/auditor/taler-auditor-httpd.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/auditor/taler-auditor-httpd.c b/src/auditor/taler-auditor-httpd.c index 774cb2a8b..13ecc6d6c 100644 --- a/src/auditor/taler-auditor-httpd.c +++ b/src/auditor/taler-auditor-httpd.c @@ -69,6 +69,7 @@ #include "taler-auditor-httpd_bad-sig-losses-get.h" #include "taler-auditor-httpd_bad-sig-losses-put.h" #include "taler-auditor-httpd_bad-sig-losses-del.h" +#include "taler-auditor-httpd_bad-sig-losses-upd.h" #include "taler-auditor-httpd_closure-lags-get.h" #include "taler-auditor-httpd_closure-lags-put.h" @@ -331,6 +332,27 @@ handle_mhd_request (void *cls, &TAH_RESERVE_BALANCE_INSUFFICIENT_INCONSISTENCY_handler_delete, MHD_HTTP_OK }, + { "/bad-sig-losses", MHD_HTTP_METHOD_GET, + "application/json", + NULL, 0, + &TAH_BAD_SIG_LOSSES_handler_get, + MHD_HTTP_OK }, + { "/bad-sig-losses", MHD_HTTP_METHOD_PUT, + "application/json", + NULL, 0, + &TAH_BAD_SIG_LOSSES_PUT_handler, + MHD_HTTP_OK }, + { "/bad-sig-losses", MHD_HTTP_METHOD_DELETE, + "application/json", + NULL, 0, + &TAH_BAD_SIG_LOSSES_handler_delete, + MHD_HTTP_OK }, + { "/bad-sig-losses", MHD_HTTP_METHOD_PATCH, + "application/json", + NULL, 0, + &TAH_BAD_SIG_LOSSES_handler_update, + MHD_HTTP_OK }, + { "/config", MHD_HTTP_METHOD_GET, "application/json", NULL, 0, &handle_config, MHD_HTTP_OK }, |