radio.proto 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. message RadioRequest {
  2. repeated string uris = 0x1;
  3. optional int32 salt = 0x2;
  4. optional int32 length = 0x4;
  5. optional string stationId = 0x5;
  6. repeated string lastTracks = 0x6;
  7. }
  8. message MultiSeedRequest {
  9. repeated string uris = 0x1;
  10. }
  11. message Feedback {
  12. optional string uri = 0x1;
  13. optional string type = 0x2;
  14. optional double timestamp = 0x3;
  15. }
  16. message Tracks {
  17. repeated string gids = 0x1;
  18. optional string source = 0x2;
  19. optional string identity = 0x3;
  20. repeated string tokens = 0x4;
  21. repeated Feedback feedback = 0x5;
  22. }
  23. message Station {
  24. optional string id = 0x1;
  25. optional string title = 0x2;
  26. optional string titleUri = 0x3;
  27. optional string subtitle = 0x4;
  28. optional string subtitleUri = 0x5;
  29. optional string imageUri = 0x6;
  30. optional double lastListen = 0x7;
  31. repeated string seeds = 0x8;
  32. optional int32 thumbsUp = 0x9;
  33. optional int32 thumbsDown = 0xa;
  34. }
  35. message Rules {
  36. optional string js = 0x1;
  37. }
  38. message StationResponse {
  39. optional Station station = 0x1;
  40. repeated Feedback feedback = 0x2;
  41. }
  42. message StationList {
  43. repeated Station stations = 0x1;
  44. }
  45. message LikedPlaylist {
  46. optional string uri = 0x1;
  47. }