forked from TrueCloudLab/frostfs-api
[#50] Add version fields where it makes sense
Some pieces of data (container, object, etc) may be stored for a long time and there will be a need in the future to understand which obscure format from the past was used to create it. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
7555e166b2
commit
4e908a17b1
4 changed files with 23 additions and 17 deletions
|
@ -569,10 +569,10 @@ Object Headers
|
|||
|
||||
| Field | Type | Label | Description |
|
||||
| ----- | ---- | ----- | ----------- |
|
||||
| version | [neo.fs.v2.service.Version](#neo.fs.v2.service.Version) | | Object format version. Effectively the version of API library used to create particular object |
|
||||
| container_id | [neo.fs.v2.refs.ContainerID](#neo.fs.v2.refs.ContainerID) | | Object's container |
|
||||
| owner_id | [neo.fs.v2.refs.OwnerID](#neo.fs.v2.refs.OwnerID) | | Object's owner |
|
||||
| creation_epoch | [uint64](#uint64) | | Epoch when the object was created |
|
||||
| version | [neo.fs.v2.service.Version](#neo.fs.v2.service.Version) | | Object format version. Effectively the version of API library used to create particular object |
|
||||
| creation_epoch | [uint64](#uint64) | | Object creation Epoch |
|
||||
| payload_length | [uint64](#uint64) | | Size of payload in bytes. 0xFFFFFFFFFFFFFFFF means `payload_length` is unknown |
|
||||
| payload_hash | [bytes](#bytes) | | Hash of payload bytes |
|
||||
| object_type | [ObjectType](#neo.fs.v2.object.ObjectType) | | Special object type |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue