librespot-python/proto/playlist_annotate3.proto

40 lines
969 B
Protocol Buffer

syntax = "proto2";
package spotify_playlist_annotate3.proto;
option optimize_for = CODE_SIZE;
option java_package = "com.spotify.playlist_annotate3";
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;
}