From 1406c291d7ddd7212f727ca87b5bb674e4f1037f Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Mon, 19 Jul 2021 22:36:43 -0700 Subject: [PATCH] :truck: moved API properties into v1 endpoints --- include/bank_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bank_api.h b/include/bank_api.h index ac0a33e..dff9660 100644 --- a/include/bank_api.h +++ b/include/bank_api.h @@ -67,6 +67,7 @@ public: METHOD_ADD(api::Contains, "/v1/user/exists?name={name}", Get, Options, "JsonFilter"); METHOD_ADD(api::AdminVerifyAccount, "/v1/admin/verify_account", Post, Options, "UserFilter", "JsonFilter"); METHOD_ADD(api::PruneUsers, "/v1/admin/prune_users", Post, "UserFilter", "JsonFilter"); //expects ["time"](int64) and ["amount"](uint32) + METHOD_ADD(api::ApiProperties, "/v1/properties", Get, Options); //User Managment METHOD_ADD(api::AddUser, "/v1/user/register", Post, Options); //expects ["name"](string) ["pass"](string) @@ -74,7 +75,6 @@ public: METHOD_ADD(api::DelSelf, "/v1/user/delete", Delete, Options, "UserFilter", "JsonFilter"); METHOD_ADD(api::AdminDelUser, "/v1/admin/user/delete", Delete, Options, "JsonFilter", "UserFilter"); //expects ["name"](string) #endif - METHOD_ADD(api::ApiProperties, "/v1/properties", Get, Options); METHOD_LIST_END }; \ No newline at end of file