-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontentservice.proto
More file actions
56 lines (48 loc) · 1.42 KB
/
Copy pathcontentservice.proto
File metadata and controls
56 lines (48 loc) · 1.42 KB
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
47
48
49
50
51
52
53
54
55
56
syntax = "proto3";
import "github.com/golang/protobuf/ptypes/timestamp/timestamp.proto";
package contentservice;
service ContentService {
// Returns ImageDetail records for the requested imageids
rpc ListByImageIds (ImageIdsRequest) returns (ListResponse) {}
// Returns Imagedetail records for the requested ordernumber
rpc ListByOrderNumber (OrderNumberRequest) returns (ListResponse) {}
}
// ImageIdsRequest sent to the server
message ImageIdsRequest {
repeated int64 imageIds = 1;
}
// OrderNumberRequest sent to the server
message OrderNumberRequest {
int64 orderNumber = 1;
}
// ListResponse sent from the server
message ListResponse {
repeated ImageDetail imageDetails = 1;
}
message ImageDetail {
int64 imageId = 1;
string imageFileName = 2;
google.protobuf.Timestamp scanDate = 4;
google.protobuf.Timestamp imageUTCDate = 5;
google.protobuf.Timestamp imageTakenDate = 6;
google.protobuf.Timestamp dateCreated = 7;
int64 orderNumber = 8;
string archived = 9;
string category = 10;
int64 contractorId = 11;
google.protobuf.Timestamp dateModified = 12;
string deptCode = 13;
string descPrefix = 14;
string descText = 15;
int32 fileSize = 16;
int32 imageHeight = 17;
int32 imageWidth = 18;
int32 imageType = 19;
bool imageRotated = 20;
google.protobuf.Timestamp releaseDate = 21;
int32 thumbnailSize = 22;
string mimeType = 23;
string webFileName = 24;
string generatedImageFilePath = 25;
string guid = 26;
}