Skip to content

Commit

Permalink
[nspcc-dev#150] session: Add Status field to ResponseMetaHeader
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Lyubich <[email protected]>
  • Loading branch information
Leonard Lyubich committed Oct 4, 2021
1 parent 006b89b commit 2cd04d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions session/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ option csharp_namespace = "Neo.FileStorage.API.Session";

import "refs/types.proto";
import "acl/types.proto";
import "status/types.proto";

// Context information for Session Tokens related to ObjectService requests
message ObjectSessionContext {
Expand Down Expand Up @@ -184,6 +185,8 @@ message ResponseMetaHeader {

// `ResponseMetaHeader` of the origin request
ResponseMetaHeader origin = 5 [json_name = "origin"];

neo.fs.v2.status.Status status = 6 [json_name = "status"];
}

// Verification info for request signed by all intermediate nodes.
Expand Down

0 comments on commit 2cd04d8

Please sign in to comment.