forked from TrueCloudLab/frostfs-api
[#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 <leonard@nspcc.ru>
This commit is contained in:
parent
4b3794cbb9
commit
81d6c73147
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue