librespot/protocol/proto/pin_request.proto

48 lines
895 B
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.your_library.proto;
2024-12-15 19:51:02 +00:00
option java_package = "spotify.your_library.esperanto.proto";
option java_multiple_files = true;
option optimize_for = CODE_SIZE;
message PinRequest {
string uri = 1;
2024-12-15 19:51:02 +00:00
oneof position {
string after_uri = 2;
string before_uri = 3;
bool first = 4;
}
}
message MovePinRequest {
string move_uri = 1;
oneof position {
string after_uri = 2;
string before_uri = 3;
bool first = 4;
}
}
message PinResponse {
enum PinStatus {
UNKNOWN = 0;
PINNED = 1;
NOT_PINNED = 2;
}
2024-12-15 19:51:02 +00:00
PinStatus status = 1;
bool has_maximum_pinned_items = 2;
2021-12-10 19:33:43 +00:00
int32 maximum_pinned_items = 3;
2024-12-15 19:51:02 +00:00
uint32 status_code = 98;
string error = 99;
}
message PinItem {
string uri = 1;
bool in_library = 2;
}