-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postsubmit-batch endpoint #30
Conversation
proto/api.proto
Outdated
@@ -660,10 +672,35 @@ message PostSubmitRequest { | |||
bool skipPreFlight = 2; | |||
} | |||
|
|||
message PostSubmitBatchRequestEntry { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just reuse PostSubmiRequest
instead of creating this struct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok done
message PostSubmitResponse { | ||
string signature = 1; | ||
} | ||
|
||
message PostSubmitBatchResponseEntry { | ||
string signature = 1; | ||
string error = 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps also a boolean that indicates if it's submitted or not? could encapsulate that in error as well –– wdyt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think a boolean is a better idea. makes the client to figure out if it was submitted instantly rather checking error messages for something that is not an error
d9cdc9c
to
cfcd30b
Compare
No description provided.