You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

137 lines
4.4 KiB

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);
}