socialgraph.proto 902 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. syntax = "proto2";
  2. message CountReply {
  3. repeated int32 counts = 0x1;
  4. }
  5. message UserListRequest {
  6. optional string last_result = 0x1;
  7. optional int32 count = 0x2;
  8. optional bool include_length = 0x3;
  9. }
  10. message UserListReply {
  11. repeated User users = 0x1;
  12. optional int32 length = 0x2;
  13. }
  14. message User {
  15. optional string username = 0x1;
  16. optional int32 subscriber_count = 0x2;
  17. optional int32 subscription_count = 0x3;
  18. }
  19. message ArtistListReply {
  20. repeated Artist artists = 0x1;
  21. }
  22. message Artist {
  23. optional string artistid = 0x1;
  24. optional int32 subscriber_count = 0x2;
  25. }
  26. message StringListRequest {
  27. repeated string args = 0x1;
  28. }
  29. message StringListReply {
  30. repeated string reply = 0x1;
  31. }
  32. message TopPlaylistsRequest {
  33. optional string username = 0x1;
  34. optional int32 count = 0x2;
  35. }
  36. message TopPlaylistsReply {
  37. repeated string uris = 0x1;
  38. }