librespot/protocol/proto/mdata.proto

47 lines
1.1 KiB
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.mdata.proto;
import "extension_kind.proto";
import "google/protobuf/any.proto";
option cc_enable_arenas = true;
option optimize_for = CODE_SIZE;
message LocalExtensionQuery {
extendedmetadata.ExtensionKind extension_kind = 1;
repeated string entity_uri = 2;
}
message LocalBatchedEntityRequest {
repeated LocalExtensionQuery extension_query = 1;
}
message LocalBatchedExtensionResponse {
message ExtensionHeader {
bool cache_valid = 1;
bool offline_valid = 2;
int32 status_code = 3;
bool is_empty = 4;
int64 cache_expiry_timestamp = 5;
int64 offline_expiry_timestamp = 6;
2024-12-15 19:51:02 +00:00
string etag = 7;
}
2024-12-15 19:51:02 +00:00
message EntityExtension {
string entity_uri = 1;
ExtensionHeader header = 2;
google.protobuf.Any extension_data = 3;
}
2024-12-15 19:51:02 +00:00
message Extension {
extendedmetadata.ExtensionKind extension_kind = 1;
repeated EntityExtension entity_extension = 2;
}
repeated Extension extension = 1;
}
2024-12-15 19:51:02 +00:00