librespot/protocol/proto/playlist_get_request.proto

51 lines
1.2 KiB
Protocol Buffer
Raw Normal View History

2024-12-15 19:51:02 +00:00
// Extracted from: Spotify 1.2.52.442 (windows)
syntax = "proto3";
package spotify.playlist_esperanto.proto;
2024-12-15 19:51:02 +00:00
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;
}
2024-12-15 19:51:02 +00:00
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;
2024-12-15 19:51:02 +00:00
PlaylistQuery query = 3;
}
message PlaylistMultiGetSingleResponse {
string id = 1;
string uri = 2;
PlaylistGetResponse response = 3;
}
2024-12-15 19:51:02 +00:00
message PlaylistMultiGetResponse {
ResponseStatus status = 1;
repeated PlaylistMultiGetSingleResponse responses = 2;
}