librespot/protocol/proto/pin_request.proto
Roderick van Domburg 113ac94c07
Update protobufs (#796)
* Import Spotify 1.1.61.583 (Windows) protobufs
* Import Spotify 1.1.33.569 protobufs missing in 1.1.61.583
* Remove unused protobufs, no longer present in 1.1.61.583
2021-06-19 22:29:48 +02:00

33 lines
534 B
Protocol Buffer

// Extracted from: Spotify 1.1.61.583 (Windows)
syntax = "proto3";
package spotify.your_library.proto;
option optimize_for = CODE_SIZE;
message PinRequest {
string uri = 1;
}
message PinResponse {
PinStatus status = 1;
enum PinStatus {
UNKNOWN = 0;
PINNED = 1;
NOT_PINNED = 2;
}
bool has_maximum_pinned_items = 2;
string error = 99;
}
message PinItem {
string uri = 1;
bool in_library = 2;
}
message PinList {
repeated PinItem item = 1;
string error = 99;
}