librespot/protocol/proto/profile_service.proto

36 lines
875 B
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
2021-12-10 19:33:43 +00:00
syntax = "proto3";
package spotify.profile_esperanto.proto.v1;
import "identity.proto";
2024-12-15 19:51:02 +00:00
option java_package = "spotify.profile_esperanto.proto";
option java_multiple_files = true;
2021-12-10 19:33:43 +00:00
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;
}