mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-28 17:21:52 +00:00
42 lines
1 KiB
Protocol Buffer
42 lines
1 KiB
Protocol Buffer
|
// Extracted from: Spotify 1.1.33.569 (Windows)
|
||
|
|
||
|
syntax = "proto2";
|
||
|
|
||
|
package spotify_playlist_annotate3.proto;
|
||
|
|
||
|
option optimize_for = CODE_SIZE;
|
||
|
option java_package = "com.spotify.playlist_annotate3.proto";
|
||
|
|
||
|
message TakedownRequest {
|
||
|
optional AbuseReportState abuse_report_state = 1;
|
||
|
}
|
||
|
|
||
|
message AnnotateRequest {
|
||
|
optional string description = 1;
|
||
|
optional string image_uri = 2;
|
||
|
}
|
||
|
|
||
|
message TranscodedPicture {
|
||
|
optional string target_name = 1;
|
||
|
optional string uri = 2;
|
||
|
}
|
||
|
|
||
|
message PlaylistAnnotation {
|
||
|
optional string description = 1;
|
||
|
optional string picture = 2;
|
||
|
optional RenderFeatures deprecated_render_features = 3 [default = NORMAL_FEATURES, deprecated = true];
|
||
|
repeated TranscodedPicture transcoded_picture = 4;
|
||
|
optional bool is_abuse_reporting_enabled = 6 [default = true];
|
||
|
optional AbuseReportState abuse_report_state = 7 [default = OK];
|
||
|
}
|
||
|
|
||
|
enum RenderFeatures {
|
||
|
NORMAL_FEATURES = 1;
|
||
|
EXTENDED_FEATURES = 2;
|
||
|
}
|
||
|
|
||
|
enum AbuseReportState {
|
||
|
OK = 0;
|
||
|
TAKEN_DOWN = 1;
|
||
|
}
|