forked from TrueCloudLab/frostfs-api
Add well-known attributes for objects
Adding the list of currently well-known object attributes. More to come later. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
99e701e70d
commit
c793503167
1 changed files with 11 additions and 1 deletions
|
@ -79,7 +79,17 @@ message Header {
|
||||||
// Need it to verify integrity and authenticity out of Request scope.
|
// Need it to verify integrity and authenticity out of Request scope.
|
||||||
neo.fs.v2.session.SessionToken session_token = 9;
|
neo.fs.v2.session.SessionToken session_token = 9;
|
||||||
|
|
||||||
// Attribute groups the user-defined Key-Value pairs attached to the object
|
// `Attribute` is a user-defined Key-Value metadata pair attached to the
|
||||||
|
// object.
|
||||||
|
//
|
||||||
|
// There are some "well-known" attributes starting with `__NEOFS__` prefix
|
||||||
|
// that affect system behaviour:
|
||||||
|
//
|
||||||
|
// * __NEOFS__UPLOAD_ID
|
||||||
|
// * __NEOFS__EXPIRATION_EPOCH
|
||||||
|
//
|
||||||
|
// For detailed description of each well-known attribute please see the
|
||||||
|
// corresponding section in NeoFS Technical specification.
|
||||||
message Attribute {
|
message Attribute {
|
||||||
// string key to the object attribute
|
// string key to the object attribute
|
||||||
string key = 1;
|
string key = 1;
|
||||||
|
|
Loading…
Reference in a new issue