From 915480618b84f281aaa9bac3f711cf6e5fd555c1 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 31 May 2020 20:34:39 +0200 Subject: implement GET /reserves/RPUB --- src/backend/taler-merchant-httpd.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/backend/taler-merchant-httpd.c') diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 3a43f8e4..9a71440a 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -41,6 +41,7 @@ #include "taler-merchant-httpd_private-get-orders.h" // #include "taler-merchant-httpd_private-get-orders-ID.h" #include "taler-merchant-httpd_private-get-reserves.h" +#include "taler-merchant-httpd_private-get-reserves-ID.h" #include "taler-merchant-httpd_private-get-tips-ID.h" #include "taler-merchant-httpd_private-get-transfers.h" #include "taler-merchant-httpd_private-patch-instances-ID.h" @@ -872,6 +873,13 @@ url_handler (void *cls, .method = MHD_HTTP_METHOD_GET, .handler = &TMH_private_get_reserves }, + /* GET /reserves: */ + { + .url_prefix = "/reserves", + .have_id_segment = true, + .method = MHD_HTTP_METHOD_GET, + .handler = &TMH_private_get_reserves_ID + }, /* POST /transfers: */ { .url_prefix = "/transfers", -- cgit v1.2.3