mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
35 lines
875 B
Protocol Buffer
35 lines
875 B
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.profile_esperanto.proto.v1;
|
|
|
|
import "identity.proto";
|
|
|
|
option java_package = "spotify.profile_esperanto.proto";
|
|
option java_multiple_files = true;
|
|
option optimize_for = CODE_SIZE;
|
|
|
|
service ProfileService {
|
|
rpc GetProfiles(GetProfilesRequest) returns (GetProfilesResponse);
|
|
rpc SubscribeToProfiles(GetProfilesRequest) returns (stream GetProfilesResponse);
|
|
rpc ChangeDisplayName(ChangeDisplayNameRequest) returns (ChangeDisplayNameResponse);
|
|
}
|
|
|
|
message GetProfilesRequest {
|
|
repeated string usernames = 1;
|
|
}
|
|
|
|
message GetProfilesResponse {
|
|
repeated identity.v3.UserProfile profiles = 1;
|
|
int32 status_code = 2;
|
|
}
|
|
|
|
message ChangeDisplayNameRequest {
|
|
string username = 1;
|
|
string display_name = 2;
|
|
}
|
|
|
|
message ChangeDisplayNameResponse {
|
|
int32 status_code = 1;
|
|
}
|