From 15eaf93ba1eb6947fb6e0927a1e6c430866cfa52 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Fri, 26 Aug 2022 12:32:10 +0300 Subject: [PATCH] [#238] Add FilePath object attribute FilePath attribute is already used by S3 and HTTP protocol gateways. Also seen in [Gaspump](https://github.com/configwizard/gaspump-api/). Signed-off-by: Stanislav Bogatyrev --- object/types.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/object/types.proto b/object/types.proto index 40b1eb6..82d9b9a 100644 --- a/object/types.proto +++ b/object/types.proto @@ -135,6 +135,13 @@ message Header { // Human-friendly name // * FileName \ // File name to be associated with the object on saving + // * FilePath \ + // Full path to be associated with the object on saving. Should start with a + // '/' and use '/' as a delimiting symbol. Trailing '/' should be + // interpreted as a virtual directory marker. If an object has conflicting + // FilePath and FileName, FilePath should have higher priority, because it + // is used to construct the directory tree. FilePath with trailing '/' and + // non-empty FileName attribute should not be used together. // * Timestamp \ // User-defined local time of object creation in Unix Timestamp format // * Content-Type \