forked from TrueCloudLab/frostfs-api
[#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 <stanislav@nspcc.ru>
This commit is contained in:
parent
c03a53813a
commit
15eaf93ba1
1 changed files with 7 additions and 0 deletions
|
@ -135,6 +135,13 @@ message Header {
|
||||||
// Human-friendly name
|
// Human-friendly name
|
||||||
// * FileName \
|
// * FileName \
|
||||||
// File name to be associated with the object on saving
|
// 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 \
|
// * Timestamp \
|
||||||
// User-defined local time of object creation in Unix Timestamp format
|
// User-defined local time of object creation in Unix Timestamp format
|
||||||
// * Content-Type \
|
// * Content-Type \
|
||||||
|
|
Loading…
Reference in a new issue