mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-03 09:49:31 +02:00

* update protobuf definitions * add additionally required proto files * update version.rs * adjust code to protobuf changes * fix formatting * apply suggestions, improve errors
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;
|
|
}
|