[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] branch master updated: merchant api template
From: |
gnunet |
Subject: |
[taler-merchant] branch master updated: merchant api template |
Date: |
Wed, 23 Nov 2022 15:35:53 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 699b38cc merchant api template
699b38cc is described below
commit 699b38cc967f1cb87b87a0619f8215db7e298506
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Wed Nov 23 09:35:36 2022 -0500
merchant api template
---
src/lib/merchant_api_delete_template.c | 10 +++++-----
src/lib/merchant_api_get_template.c | 10 +++++-----
src/lib/merchant_api_patch_template.c | 10 +++++-----
3 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/src/lib/merchant_api_delete_template.c
b/src/lib/merchant_api_delete_template.c
index e044c07f..5f2d8b03 100644
--- a/src/lib/merchant_api_delete_template.c
+++ b/src/lib/merchant_api_delete_template.c
@@ -16,7 +16,7 @@
*/
/**
* @file merchant_api_delete_template.c
- * @brief Implementation of the DELETE /template/$ID request of the merchant's
HTTP API
+ * @brief Implementation of the DELETE /templates/$ID request of the
merchant's HTTP API
* @author Christian Grothoff
*/
#include "platform.h"
@@ -32,7 +32,7 @@
/**
- * Handle for a DELETE /template/$ID operation.
+ * Handle for a DELETE /templates/$ID operation.
*/
struct TALER_MERCHANT_TemplateDeleteHandle
{
@@ -66,7 +66,7 @@ struct TALER_MERCHANT_TemplateDeleteHandle
/**
* Function called when we're done processing the
- * HTTP GET /template/$ID request.
+ * HTTP GET /templates/$ID request.
*
* @param cls the `struct TALER_MERCHANT_TemplateDeleteHandle`
* @param response_code HTTP response code, 0 on error
@@ -86,7 +86,7 @@ handle_delete_template_finished (void *cls,
tdh->job = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Got /template/$ID response with status code %u\n",
+ "Got /templates/$ID response with status code %u\n",
(unsigned int) response_code);
switch (response_code)
{
@@ -139,7 +139,7 @@ TALER_MERCHANT_template_delete (
char *path;
GNUNET_asprintf (&path,
- "private/template/%s",
+ "private/templates/%s",
template_id);
tdh->url = TALER_url_join (backend_url,
path,
diff --git a/src/lib/merchant_api_get_template.c
b/src/lib/merchant_api_get_template.c
index 01e4a91e..4ad2d8d0 100644
--- a/src/lib/merchant_api_get_template.c
+++ b/src/lib/merchant_api_get_template.c
@@ -16,7 +16,7 @@
*/
/**
* @file merchant_api_get_template.c
- * @brief Implementation of the GET /template/$ID request of the merchant's
HTTP API
+ * @brief Implementation of the GET /templates/$ID request of the merchant's
HTTP API
* @author Christian Grothoff
*/
#include "platform.h"
@@ -32,7 +32,7 @@
/**
- * Handle for a GET /template/$ID operation.
+ * Handle for a GET /templates/$ID operation.
*/
struct TALER_MERCHANT_TemplateGetHandle
{
@@ -66,7 +66,7 @@ struct TALER_MERCHANT_TemplateGetHandle
/**
* Function called when we're done processing the
- * HTTP GET /template/$ID request.
+ * HTTP GET /templates/$ID request.
*
* @param cls the `struct TALER_MERCHANT_TemplateGetHandle`
* @param response_code HTTP response code, 0 on error
@@ -86,7 +86,7 @@ handle_get_template_finished (void *cls,
tgh->job = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Got /template/$ID response with status code %u\n",
+ "Got /templates/$ID response with status code %u\n",
(unsigned int) response_code);
switch (response_code)
{
@@ -174,7 +174,7 @@ TALER_MERCHANT_template_get (
char *path;
GNUNET_asprintf (&path,
- "private/template/%s",
+ "private/templates/%s",
template_id);
tgh->url = TALER_url_join (backend_url,
path,
diff --git a/src/lib/merchant_api_patch_template.c
b/src/lib/merchant_api_patch_template.c
index ba66a94f..4cc6b0ca 100644
--- a/src/lib/merchant_api_patch_template.c
+++ b/src/lib/merchant_api_patch_template.c
@@ -18,7 +18,7 @@
*/
/**
* @file merchant_api_patch_template.c
- * @brief Implementation of the PATCH /template/$ID request
+ * @brief Implementation of the PATCH /templates/$ID request
* of the merchant's HTTP API
* @author Christian Grothoff
*/
@@ -34,7 +34,7 @@
/**
- * Handle for a PATCH /template/$ID operation.
+ * Handle for a PATCH /templates/$ID operation.
*/
struct TALER_MERCHANT_TemplatePatchHandle
{
@@ -74,7 +74,7 @@ struct TALER_MERCHANT_TemplatePatchHandle
/**
* Function called when we're done processing the
- * HTTP PATCH /template/$ID request.
+ * HTTP PATCH /templates/$ID request.
*
* @param cls the `struct TALER_MERCHANT_TemplatePatchHandle`
* @param response_code HTTP response code, 0 on error
@@ -94,7 +94,7 @@ handle_patch_template_finished (void *cls,
tph->job = NULL;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "PATCH /template/$ID completed with response code %u\n",
+ "PATCH /templates/$ID completed with response code %u\n",
(unsigned int) response_code);
switch (response_code)
{
@@ -184,7 +184,7 @@ TALER_MERCHANT_template_patch (
char *path;
GNUNET_asprintf (&path,
- "private/template/%s",
+ "private/templates/%s",
template_id);
tph->url = TALER_url_join (backend_url,
path,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-merchant] branch master updated: merchant api template,
gnunet <=