Last active
May 11, 2020 22:58
-
-
Save hungtruong/ad4a62c9c1d86a2c187267bc353d8284 to your computer and use it in GitHub Desktop.
Proto definition for Quibi's GetHomeCards endpoint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto2"; | |
message HomeCardResponse { | |
repeated CardContainer container = 1; | |
} | |
message CardContainer { | |
required Card card = 1; | |
} | |
message Card { | |
required Series series = 1; | |
required string preview = 2; | |
required Episode episode = 3; | |
} | |
message Episode { | |
required int32 id = 1; | |
required string title = 2; | |
required string description = 3; | |
optional int32 unknown1 = 4; | |
optional int32 unknown2 = 5; | |
optional string thumbnail = 6; | |
optional string thumbnail2 = 7; | |
optional int32 lenth_maybe = 8; | |
optional int32 progress = 9; | |
optional int32 unknown3 = 11; | |
required string episode_number = 12; | |
optional string preview_maybe = 13; | |
required string uuid = 16; | |
required string url = 17; | |
} | |
message Series { | |
required int32 id = 1; | |
required string title = 2; | |
required string description = 3; | |
required string tags = 4; | |
optional int32 unknown1 = 5; | |
required string thumb1 = 6; | |
required string thumb2 = 7; | |
required string thumb3 = 8; | |
optional string empty = 10; | |
optional int32 unknown2 = 11; | |
required string long_description = 13; | |
required string category = 14; | |
required string uuid = 16; | |
required string url = 17; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment