mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
50 lines
1.2 KiB
Protocol Buffer
50 lines
1.2 KiB
Protocol Buffer
// Extracted from: Spotify 1.2.52.442 (windows)
|
|
|
|
syntax = "proto3";
|
|
|
|
package spotify.playlist_esperanto.proto;
|
|
|
|
import "google/protobuf/duration.proto";
|
|
import "policy/playlist_request_decoration_policy.proto";
|
|
import "playlist_query.proto";
|
|
import "playlist_request.proto";
|
|
import "response_status.proto";
|
|
|
|
option objc_class_prefix = "ESP";
|
|
option java_multiple_files = true;
|
|
option optimize_for = CODE_SIZE;
|
|
option java_package = "spotify.playlist.esperanto.proto";
|
|
|
|
message PlaylistGetRequest {
|
|
string uri = 1;
|
|
PlaylistQuery query = 2;
|
|
playlist.cosmos.proto.PlaylistRequestDecorationPolicy policy = 3;
|
|
}
|
|
|
|
message PlaylistMultiGetSingleRequest {
|
|
string id = 1;
|
|
PlaylistGetRequest request = 2;
|
|
}
|
|
|
|
message PlaylistMultiGetRequest {
|
|
repeated PlaylistMultiGetSingleRequest requests = 1;
|
|
google.protobuf.Duration timeout = 2;
|
|
}
|
|
|
|
message PlaylistGetResponse {
|
|
ResponseStatus status = 1;
|
|
playlist.cosmos.playlist_request.proto.Response data = 2;
|
|
PlaylistQuery query = 3;
|
|
}
|
|
|
|
message PlaylistMultiGetSingleResponse {
|
|
string id = 1;
|
|
string uri = 2;
|
|
PlaylistGetResponse response = 3;
|
|
}
|
|
|
|
message PlaylistMultiGetResponse {
|
|
ResponseStatus status = 1;
|
|
repeated PlaylistMultiGetSingleResponse responses = 2;
|
|
}
|
|
|