2024-12-15 19:51:02 +00:00
|
|
|
// Extracted from: Spotify 1.2.52.442 (windows)
|
2021-06-19 20:29:48 +00:00
|
|
|
|
|
|
|
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;
|
2021-06-19 20:29:48 +00:00
|
|
|
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;
|
|
|
|
}
|
2021-06-19 20:29:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message PinResponse {
|
|
|
|
enum PinStatus {
|
|
|
|
UNKNOWN = 0;
|
|
|
|
PINNED = 1;
|
|
|
|
NOT_PINNED = 2;
|
|
|
|
}
|
2024-12-15 19:51:02 +00:00
|
|
|
|
|
|
|
PinStatus status = 1;
|
2021-06-19 20:29:48 +00:00
|
|
|
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;
|
2021-06-19 20:29:48 +00:00
|
|
|
string error = 99;
|
|
|
|
}
|
|
|
|
|
|
|
|
message PinItem {
|
|
|
|
string uri = 1;
|
|
|
|
bool in_library = 2;
|
|
|
|
}
|
|
|
|
|