2021-12-10 19:33:43 +00:00
|
|
|
// Extracted from: Spotify 1.1.73.517 (macOS)
|
|
|
|
|
2021-11-26 22:21:27 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-12-10 19:33:43 +00:00
|
|
|
package spotify.canvaz.cache;
|
2021-11-26 22:21:27 +00:00
|
|
|
|
|
|
|
import "canvaz-meta.proto";
|
|
|
|
|
2021-12-10 19:33:43 +00:00
|
|
|
option java_multiple_files = true;
|
2021-11-26 22:21:27 +00:00
|
|
|
option optimize_for = CODE_SIZE;
|
2021-12-10 19:33:43 +00:00
|
|
|
option java_package = "com.spotify.canvazcache.proto";
|
2021-11-26 22:21:27 +00:00
|
|
|
|
|
|
|
message Artist {
|
|
|
|
string uri = 1;
|
|
|
|
string name = 2;
|
|
|
|
string avatar = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EntityCanvazResponse {
|
|
|
|
repeated Canvaz canvases = 1;
|
|
|
|
message Canvaz {
|
|
|
|
string id = 1;
|
|
|
|
string url = 2;
|
|
|
|
string file_id = 3;
|
2021-12-10 19:33:43 +00:00
|
|
|
spotify.canvaz.Type type = 4;
|
2021-11-26 22:21:27 +00:00
|
|
|
string entity_uri = 5;
|
|
|
|
Artist artist = 6;
|
|
|
|
bool explicit = 7;
|
|
|
|
string uploaded_by = 8;
|
|
|
|
string etag = 9;
|
|
|
|
string canvas_uri = 11;
|
2021-12-10 19:33:43 +00:00
|
|
|
string storylines_id = 12;
|
2021-11-26 22:21:27 +00:00
|
|
|
}
|
2021-12-10 19:33:43 +00:00
|
|
|
|
2021-11-26 22:21:27 +00:00
|
|
|
int64 ttl_in_seconds = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EntityCanvazRequest {
|
|
|
|
repeated Entity entities = 1;
|
|
|
|
message Entity {
|
|
|
|
string entity_uri = 1;
|
|
|
|
string etag = 2;
|
|
|
|
}
|
2021-12-10 19:33:43 +00:00
|
|
|
}
|