diff --git a/Makefile b/Makefile index 2102b78b..0caa6830 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PROTO_VERSION=v0.6.1 +PROTO_VERSION=v0.7.0 PROTO_URL=https://github.com/nspcc-dev/neofs-api/archive/$(PROTO_VERSION).tar.gz B=\033[0;1m diff --git a/docs/object.md b/docs/object.md index ce9252bc..4ec32fc6 100644 --- a/docs/object.md +++ b/docs/object.md @@ -297,6 +297,7 @@ in distributed system. | ----- | ---- | ----- | ----------- | | Object | [Object](#object.Object) | | Object with at least container id and owner id fields | | Token | [session.Token](#session.Token) | | Token with session public key and user's signature | +| CopiesNumber | [uint32](#uint32) | | Number of the object copies to store within the RPC call (zero is processed according to the placement rules) | diff --git a/object/service.pb.go b/object/service.pb.go index 8502c8e3..4ac61bc6 100644 Binary files a/object/service.pb.go and b/object/service.pb.go differ diff --git a/object/service.proto b/object/service.proto index 2aa21fd7..b5042e23 100644 --- a/object/service.proto +++ b/object/service.proto @@ -84,6 +84,8 @@ message PutRequest { Object Object = 1; // Token with session public key and user's signature session.Token Token = 2; + // Number of the object copies to store within the RPC call (zero is processed according to the placement rules) + uint32 CopiesNumber = 3; } oneof R {