-
Notifications
You must be signed in to change notification settings - Fork 156
/
Copy pathsteammessages_partnerapps.proto
137 lines (108 loc) · 4.43 KB
/
steammessages_partnerapps.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
syntax = "proto2";
import "steammessages_base.proto";
import "steammessages_unified_base.proto";
option py_generic_services = true;
message CPartnerApps_RequestUploadToken_Request {
optional string filename = 1;
optional uint32 appid = 2;
}
message CPartnerApps_RequestUploadToken_Response {
optional uint64 upload_token = 1;
optional string location = 2;
optional uint64 routing_id = 3;
}
message CPartnerApps_FinishUpload_Request {
optional uint64 upload_token = 1;
optional uint64 routing_id = 2;
optional uint32 app_id = 3;
}
message CPartnerApps_FinishUploadKVSign_Response {
optional string signed_installscript = 1;
}
message CPartnerApps_FinishUploadLegacyDRM_Request {
optional uint64 upload_token = 1;
optional uint64 routing_id = 2;
optional uint32 app_id = 3;
optional uint32 flags = 4;
optional string tool_name = 5;
}
message CPartnerApps_FinishUploadLegacyDRM_Response {
optional string file_id = 1;
}
message CPartnerApps_FinishUpload_Response {
}
message CPartnerApps_FinishUploadDepot_Request {
optional uint64 upload_token = 1;
optional uint64 routing_id = 2;
optional uint32 app_id = 3;
optional uint32 depot_id = 4;
optional uint32 build_flags = 5;
}
message CPartnerApps_FinishUploadDepot_Response {
}
message CPartnerApps_GetDepotBuildResult_Request {
optional uint64 upload_token = 1;
optional uint64 routing_id = 2;
}
message CPartnerApps_GetDepotBuildResult_Response {
optional uint64 manifest_id = 1;
optional string error_msg = 2;
}
message CPartnerApps_FindDRMUploads_Request {
optional int32 app_id = 1;
}
message CPartnerApps_ExistingDRMUpload {
optional string file_id = 1;
optional uint32 app_id = 2;
optional int32 actor_id = 3;
optional string supplied_name = 5;
optional uint32 flags = 6;
optional string mod_type = 7;
optional fixed32 timestamp = 8;
optional string orig_file_id = 9;
}
message CPartnerApps_FindDRMUploads_Response {
repeated .CPartnerApps_ExistingDRMUpload uploads = 1;
}
message CPartnerApps_Download_Request {
optional string file_id = 1;
optional int32 app_id = 2;
}
message CPartnerApps_Download_Response {
optional string download_url = 1;
optional int32 app_id = 2;
}
service PartnerApps {
option (service_description) = "Service methods for app management by partners";
rpc RequestKVSignUploadToken (.CPartnerApps_RequestUploadToken_Request) returns (.CPartnerApps_RequestUploadToken_Response) {
option (method_description) = "Request upload token for installscript file upload / signing";
}
rpc RequestDRMUploadToken (.CPartnerApps_RequestUploadToken_Request) returns (.CPartnerApps_RequestUploadToken_Response) {
option (method_description) = "Request upload token for executable file upload / processing";
}
rpc RequestCEGUploadToken (.CPartnerApps_RequestUploadToken_Request) returns (.CPartnerApps_RequestUploadToken_Response) {
option (method_description) = "Request upload token for custom executable file upload / processing";
}
rpc RequestDepotUploadToken (.CPartnerApps_RequestUploadToken_Request) returns (.CPartnerApps_RequestUploadToken_Response) {
option (method_description) = "Request upload token for steampipe depot upload";
}
rpc FinishUploadKVSign (.CPartnerApps_FinishUpload_Request) returns (.CPartnerApps_FinishUploadKVSign_Response) {
option (method_description) = "Commit method to sign an installscript after an upload is complete";
}
rpc FinishUploadDRMUpload (.CPartnerApps_FinishUploadLegacyDRM_Request) returns (.CPartnerApps_FinishUploadLegacyDRM_Response) {
option (method_description) = "Commit method for executable file processing";
}
rpc FinishUploadCEGUpload (.CPartnerApps_FinishUpload_Request) returns (.CPartnerApps_FinishUpload_Response) {
option (method_description) = "Commit method for custom executable file processing";
}
rpc FinishUploadDepotUpload (.CPartnerApps_FinishUploadDepot_Request) returns (.CPartnerApps_FinishUploadDepot_Response) {
option (method_description) = "Commit method for custom executable file processing";
}
rpc GetDepotBuildResult (.CPartnerApps_GetDepotBuildResult_Request) returns (.CPartnerApps_GetDepotBuildResult_Response) {
option (method_description) = "Get build status for previously uploaded depot ZIP";
}
rpc FindDRMUploads (.CPartnerApps_FindDRMUploads_Request) returns (.CPartnerApps_FindDRMUploads_Response) {
option (method_description) = "Finds N most recent prior uploads by appid";
}
rpc Download (.CPartnerApps_Download_Request) returns (.CPartnerApps_Download_Response);
}