Skip to content

Commit

Permalink
feat: return result id when creating results in agent service
Browse files Browse the repository at this point in the history
  • Loading branch information
aneojgurhem committed Apr 7, 2023
1 parent 38c913e commit 79ea51f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Protos/V1/agent_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ message CreateResultsMetaDataRequest {
*/
message ResultMetaData {
string session_id = 1; /** The session ID. */
string name = 2; /** The result name. */
string owner_task_id = 3; /** The owner task ID. */
string result_id = 2; /** The session ID. */
string name = 3; /** The result name. */
result_status.ResultStatus status = 4; /** The result status. */
google.protobuf.Timestamp created_at = 5; /** The result creation date. */
}
Expand Down Expand Up @@ -222,9 +222,9 @@ message UploadResultDataRequest {
}

/*
* Response for creating results without data
* Response for uploading data with stream for result
*/
message UploadResultDataResponse {
ResultMetaData result = 1; /** The raw result that was created. */
string result_id = 1; /** The Id of the result to which data were added */
string communication_token = 2; /** Communication token received by the worker during task processing */
}

0 comments on commit 79ea51f

Please sign in to comment.