From 81d6c731477755d674e9e25ac1969988304c1ebb Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Mon, 24 May 2021 14:21:22 +0300 Subject: [PATCH] [#157] container: Add session token to GetResponse body Container can be created within a session. The presence of a session token in the GET response body allows you to reflect this fact. Add `session_token` field of `session.SessionToken` type to `container.GetResponse.Body` message. Signed-off-by: Leonard Lyubich --- container/service.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/container/service.proto b/container/service.proto index 3b088b6..9a23258 100644 --- a/container/service.proto +++ b/container/service.proto @@ -167,6 +167,12 @@ message GetResponse { message Body { // Requested container structure Container container = 1; + + // Signature of a stable-marshalled container according to RFC-6979 + neo.fs.v2.refs.Signature signature = 2; + + // Session token if the container was created within a session + neo.fs.v2.session.SessionToken session_token = 3; } // Body of container get response message. Body body = 1;