From ef86f10d71bf2081b17025e0ea2ad020845233bc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 11 Apr 2024 16:14:59 +0200 Subject: [FUSE] More cleanup and minor fixes - Add support for aborting session and further uploads via SIGQUIT - Make API versioned - Change it to "uuid" everywhere instead of a mix of uuid and guid - Server can now tell us to wait with further uploads - merge request is now urlencoded POST instead of mime data --- inc/dnbd3/config/cow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/dnbd3/config/cow.h b/inc/dnbd3/config/cow.h index d3be949..b266fc8 100644 --- a/inc/dnbd3/config/cow.h +++ b/inc/dnbd3/config/cow.h @@ -15,7 +15,7 @@ // +++++ COW API Endpoints +++++ #define COW_API_PREFIX "%s/v1/" #define COW_API_CREATE COW_API_PREFIX "file/create" -#define COW_API_UPDATE COW_API_PREFIX "file/update?guid=%s&clusterindex=%lu" +#define COW_API_UPDATE COW_API_PREFIX "file/update?uuid=%s&clusterindex=%lu" #define COW_API_START_MERGE COW_API_PREFIX "file/merge" #endif -- cgit v1.2.3-55-g7522