// ipx-play's API (crates/play/src/lib.rs), each message named after the Rust struct it mirrors. // A field added there goes here too; debug builds refuse an answer with a field missing here. syntax = "proto3"; package play; // POST /v1/shares, the body. message Episode { string feed_url = 1; string guid = 2; optional string feed_title = 3; optional string feed_image = 4; optional string title = 5; optional string description = 6; optional string link = 7; optional int64 published = 8; optional int64 duration = 9; string audio_url = 10; optional string mime = 11; } // POST /v1/shares, the answer. message Shared { string id = 1; string url = 2; }