update cicd
This commit is contained in:
@@ -49,6 +49,10 @@ service Admin {
|
||||
rpc CreateAdminJob(CreateAdminJobRequest) returns (CreateAdminJobResponse);
|
||||
rpc CancelAdminJob(CancelAdminJobRequest) returns (CancelAdminJobResponse);
|
||||
rpc RetryAdminJob(RetryAdminJobRequest) returns (RetryAdminJobResponse);
|
||||
rpc ListAdminDlqJobs(ListAdminDlqJobsRequest) returns (ListAdminDlqJobsResponse);
|
||||
rpc GetAdminDlqJob(GetAdminDlqJobRequest) returns (GetAdminDlqJobResponse);
|
||||
rpc RetryAdminDlqJob(RetryAdminDlqJobRequest) returns (RetryAdminDlqJobResponse);
|
||||
rpc RemoveAdminDlqJob(RemoveAdminDlqJobRequest) returns (RemoveAdminDlqJobResponse);
|
||||
rpc ListAdminAgents(ListAdminAgentsRequest) returns (ListAdminAgentsResponse);
|
||||
rpc RestartAdminAgent(RestartAdminAgentRequest) returns (AdminAgentCommandResponse);
|
||||
rpc UpdateAdminAgent(UpdateAdminAgentRequest) returns (AdminAgentCommandResponse);
|
||||
@@ -533,6 +537,43 @@ message RetryAdminJobResponse {
|
||||
AdminJob job = 1;
|
||||
}
|
||||
|
||||
message ListAdminDlqJobsRequest {
|
||||
int32 offset = 1;
|
||||
int32 limit = 2;
|
||||
}
|
||||
|
||||
message ListAdminDlqJobsResponse {
|
||||
repeated AdminDlqEntry items = 1;
|
||||
int64 total = 2;
|
||||
int32 offset = 3;
|
||||
int32 limit = 4;
|
||||
}
|
||||
|
||||
message GetAdminDlqJobRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message GetAdminDlqJobResponse {
|
||||
AdminDlqEntry item = 1;
|
||||
}
|
||||
|
||||
message RetryAdminDlqJobRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message RetryAdminDlqJobResponse {
|
||||
AdminJob job = 1;
|
||||
}
|
||||
|
||||
message RemoveAdminDlqJobRequest {
|
||||
string id = 1;
|
||||
}
|
||||
|
||||
message RemoveAdminDlqJobResponse {
|
||||
string status = 1;
|
||||
string job_id = 2;
|
||||
}
|
||||
|
||||
message ListAdminAgentsRequest {}
|
||||
|
||||
message ListAdminAgentsResponse {
|
||||
|
||||
@@ -392,3 +392,10 @@ message AdminAgent {
|
||||
google.protobuf.Timestamp created_at = 11;
|
||||
google.protobuf.Timestamp updated_at = 12;
|
||||
}
|
||||
|
||||
message AdminDlqEntry {
|
||||
AdminJob job = 1;
|
||||
google.protobuf.Timestamp failure_time = 2;
|
||||
string reason = 3;
|
||||
int32 retry_count = 4;
|
||||
}
|
||||
|
||||
23
proto/app/v1/video_metadata.proto
Normal file
23
proto/app/v1/video_metadata.proto
Normal file
@@ -0,0 +1,23 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package stream.app.v1;
|
||||
|
||||
option go_package = "stream.api/internal/gen/proto/app/v1;appv1";
|
||||
|
||||
import "app/v1/common.proto";
|
||||
|
||||
service VideoMetadata {
|
||||
rpc GetVideoMetadata(GetVideoMetadataRequest) returns (GetVideoMetadataResponse);
|
||||
}
|
||||
|
||||
message GetVideoMetadataRequest {
|
||||
string video_id = 1;
|
||||
}
|
||||
|
||||
message GetVideoMetadataResponse {
|
||||
Video video = 1;
|
||||
PlayerConfig default_player_config = 2;
|
||||
AdTemplate ad_template = 3;
|
||||
PopupAd active_popup_ad = 4;
|
||||
repeated Domain domains = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user