forked from TrueCloudLab/frostfs-api
23f571f76f
This commit removes ResponseMetaHeader from the repository since it is not verifiable and its purpose is questionable. If needed, it can be added to queries without losing compatibility with the API version. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
33 lines
1.1 KiB
Protocol Buffer
33 lines
1.1 KiB
Protocol Buffer
syntax = "proto3";
|
|
package service;
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/service";
|
|
option csharp_namespace = "NeoFS.API.Service";
|
|
|
|
// RequestMetaHeader contains information about request meta headers
|
|
// (should be embedded into message)
|
|
message RequestMetaHeader {
|
|
// TTL must be larger than zero, it decreased in every NeoFS Node
|
|
uint32 TTL = 1;
|
|
// Epoch for user can be empty, because node sets epoch to the actual value
|
|
uint64 Epoch = 2;
|
|
// Version defines protocol version
|
|
// TODO: not used for now, should be implemented in future
|
|
uint32 Version = 3;
|
|
// ExtendedHeader carries extended headers of the request
|
|
RequestExtendedHeader ExtendedHeader = 5;
|
|
}
|
|
|
|
// RequestExtendedHeader contains extended headers of request
|
|
message RequestExtendedHeader {
|
|
// KV contains string key-value pair
|
|
message KV {
|
|
// K carries extended header key
|
|
string K = 1;
|
|
|
|
// V carries extended header value
|
|
string V = 2;
|
|
}
|
|
|
|
// Headers carries list of key-value headers
|
|
repeated KV Headers = 1;
|
|
}
|