24 lines
503 B
Protocol Buffer
24 lines
503 B
Protocol Buffer
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;
|
|
}
|