summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjospaeth <spaethj@in.tum.de>2020-09-10 22:31:12 +0200
committerjospaeth <spaethj@in.tum.de>2020-09-10 22:31:12 +0200
commita52bfbf206ccdb18f6c736c492aec3698ac7b1a9 (patch)
treedfafa6c88a186c9b59c8014f54674ae6c17bf1b3
parent0f05ade4dc883a284a55ce7b5031f1f0975da708 (diff)
update REST API
change params to camelCase
-rw-r--r--src/escrow/plugin_rest_escrow.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/escrow/plugin_rest_escrow.c b/src/escrow/plugin_rest_escrow.c
index d1a7cd1e7..0453da1fe 100644
--- a/src/escrow/plugin_rest_escrow.c
+++ b/src/escrow/plugin_rest_escrow.c
@@ -114,7 +114,7 @@
/**
* Parameter anchor-data
*/
-#define GNUNET_REST_ESCROW_PARAM_ANCHOR_DATA "anchor-data"
+#define GNUNET_REST_ESCROW_PARAM_ANCHOR_DATA "anchorData"
/**
* Parameter method
@@ -124,7 +124,7 @@
/**
* Parameter user-secret
*/
-#define GNUNET_REST_ESCROW_PARAM_USER_SECRET "user-secret"
+#define GNUNET_REST_ESCROW_PARAM_USER_SECRET "userSecret"
/**
* Parameter pubkey
@@ -139,22 +139,22 @@
/**
* Parameter verification-result
*/
-#define GNUNET_REST_ESCROW_PARAM_VERIFICATION_RESULT "verification-result"
+#define GNUNET_REST_ESCROW_PARAM_VERIFICATION_RESULT "verificationResult"
/**
* Parameter last-method
*/
-#define GNUNET_REST_ESCROW_PARAM_LAST_METHOD "last-method"
+#define GNUNET_REST_ESCROW_PARAM_LAST_METHOD "lastMethod"
/**
* Parameter last-successful-verification
*/
-#define GNUNET_REST_ESCROW_PARAM_LAST_VERIF "last-successful-verification"
+#define GNUNET_REST_ESCROW_PARAM_LAST_VERIF "lastSuccessfulVerification"
/**
* Parameter next-recommended-verification
*/
-#define GNUNET_REST_ESCROW_PARAM_NEXT_VERIF "next-recommended-verification"
+#define GNUNET_REST_ESCROW_PARAM_NEXT_VERIF "nextRecommendedVerification"
/**
* State while collecting all egos