-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanalysis_requests.proto
46 lines (36 loc) · 1.04 KB
/
analysis_requests.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
syntax = "proto3";
package analysis;
import "header.proto";
import "analysis_record.proto";
import "svcerror.proto";
option go_package = "github.com/cyverse-de/p/go/analysis";
option java_multiple_files = true;
option java_package = "org.cyverse.de.protobufs";
option java_outer_classname = "AnalysisRequestProtobufs";
message AnalysisRecordLookupRequest {
oneof lookup_ids {
string analysis_id = 1;
string external_id = 2;
string user_id = 3;
string username = 4;
}
header.Header header = 5;
string requesting_user = 6;
}
message AnalysisRecordResponse {
message StatusCountRecord {
int64 count = 1;
string status = 2;
}
header.Header header = 1;
repeated Analysis analyses = 2;
string timestamp = 3;
int64 total = 4;
repeated StatusCountRecord status_count = 5 [json_name = "status-count"];
svcerror.ServiceError error = 6;
}
message AnalysisRecordList {
header.Header header = 1;
repeated Analysis analyses = 2;
svcerror.ServiceError error = 7;
}