216 lines
7.0 KiB
JSON
216 lines
7.0 KiB
JSON
{
|
|
"response": {
|
|
"result": [
|
|
{
|
|
"cards": [
|
|
{
|
|
"card_id": "c81eac4b-4553-3d60-85a6-178968bd5065",
|
|
"rendering_engine": "custom",
|
|
"type": "NEWS_DIGEST",
|
|
"type_display_name": "News Digest",
|
|
"ttl": 1518887858,
|
|
"layout": {
|
|
"template": "news_digest"
|
|
},
|
|
"data": {},
|
|
"modules": {},
|
|
"reason": "",
|
|
"notify": false,
|
|
"ranking_arguments": {
|
|
"TIME_OF_DAY_RANGE:EVENING": 1.0,
|
|
"TIME_OF_DAY_RANGE:DINNER": 1.0,
|
|
"STREAM_TYPE:MAIN": 1.0,
|
|
"rule_score": 0.0,
|
|
"TIER": 0.0,
|
|
"score": 0.55
|
|
},
|
|
"instrumentation": {
|
|
"rid": "cifu9m5d8bg5i",
|
|
"bucket": "ga"
|
|
}
|
|
},
|
|
{
|
|
"card_id": "83a014c3-c0a4-3242-b5a8-79d011b677d6",
|
|
"rendering_engine": "custom",
|
|
"type": "WEATHER",
|
|
"type_display_name": "Weather",
|
|
"ttl": 1518887858,
|
|
"layout": {
|
|
"template": "weather"
|
|
},
|
|
"data": {},
|
|
"modules": {},
|
|
"reason": "",
|
|
"notify": false,
|
|
"ranking_arguments": {
|
|
"TIME_OF_DAY_RANGE:EVENING": 1.0,
|
|
"TIME_OF_DAY_RANGE:DINNER": 1.0,
|
|
"STREAM_TYPE:MAIN": 1.0,
|
|
"rule_score": 0.0,
|
|
"TIER": 0.0,
|
|
"score": 0.5
|
|
},
|
|
"instrumentation": {
|
|
"rid": "cifu9m5d8bg5i",
|
|
"bucket": "ga"
|
|
}
|
|
},
|
|
{
|
|
"card_id": "bcacee7a-d79a-3e4e-a5b8-77c5b6480a8c",
|
|
"rendering_engine": "custom",
|
|
"type": "CALENDAR",
|
|
"type_display_name": "Calendar",
|
|
"ttl": 1518887858,
|
|
"layout": {
|
|
"template": "calendar"
|
|
},
|
|
"data": {},
|
|
"modules": {},
|
|
"reason": "",
|
|
"notify": false,
|
|
"ranking_arguments": {
|
|
"TIME_OF_DAY_RANGE:EVENING": 1.0,
|
|
"TIME_OF_DAY_RANGE:DINNER": 1.0,
|
|
"USER_LOCATION:OTHER": 1.0,
|
|
"STREAM_TYPE:MAIN": 1.0,
|
|
"rule_score": 2.0,
|
|
"TIER": 2.0,
|
|
"score": 0.25
|
|
},
|
|
"instrumentation": {
|
|
"rid": "cifu9m5d8bg5i",
|
|
"bucket": "ga"
|
|
}
|
|
},
|
|
{
|
|
"card_id": "858aae29-ddf0-3754-b02a-39d4bfbdbeaf",
|
|
"rendering_engine": "custom",
|
|
"type": "DIRECTIONS",
|
|
"type_display_name": "Directions",
|
|
"ttl": 1518887858,
|
|
"layout": {
|
|
"template": "directions"
|
|
},
|
|
"data": {},
|
|
"modules": {},
|
|
"reason": "",
|
|
"notify": false,
|
|
"ranking_arguments": {
|
|
"TIME_OF_DAY_RANGE:EVENING": 1.0,
|
|
"TIME_OF_DAY_RANGE:DINNER": 1.0,
|
|
"DAY_OF_WEEK_RANGE:WEEKDAY": 1.0,
|
|
"DAY_OF_WEEK_RANGE:THU_TO_SAT": 1.0,
|
|
"USER_LOCATION:OTHER": 1.0,
|
|
"USER_SPEED:STILL": 1.0,
|
|
"STREAM_TYPE:MAIN": 1.0,
|
|
"rule_score": 1.0,
|
|
"TIER": 1.0,
|
|
"score": 0.25
|
|
},
|
|
"instrumentation": {
|
|
"rid": "cifu9m5d8bg5i",
|
|
"bucket": "ga"
|
|
}
|
|
},
|
|
{
|
|
"card_id": "eea4f59a-e8a2-3e12-a917-96e254c416d5",
|
|
"rendering_engine": "custom",
|
|
"type": "VENUE_CHOOSER",
|
|
"type_display_name": "Around Me",
|
|
"ttl": 1518718658,
|
|
"layout": {
|
|
"template": "venue_chooser"
|
|
},
|
|
"data": {
|
|
"venues": [
|
|
{
|
|
"name": "Platform 1",
|
|
"category": "Platform",
|
|
"iconUrl": "https://ss3.4sqi.net/img/categories_v2/travel/trainstation_64.png",
|
|
"id": "4dfb1eaad4c01451df578109",
|
|
"provider": "foursquare",
|
|
"eid": "{\"card\":\"venue\",\"id\":\"4dfb1eaad4c01451df578109\"}"
|
|
},
|
|
{
|
|
"name": "Glasgow Central Railway Station (GLC)",
|
|
"category": "Train Station",
|
|
"iconUrl": "https://ss3.4sqi.net/img/categories_v2/travel/trainstation_64.png",
|
|
"id": "4b52f481f964a5204a8b27e3",
|
|
"provider": "foursquare",
|
|
"eid": "{\"card\":\"venue\",\"id\":\"4b52f481f964a5204a8b27e3\"}"
|
|
},
|
|
{
|
|
"name": "Denholms Bar",
|
|
"category": "Bar",
|
|
"iconUrl": "https://ss3.4sqi.net/img/categories_v2/nightlife/pub_64.png",
|
|
"id": "4c87adf49062ef3b155441c6",
|
|
"provider": "foursquare",
|
|
"eid": "{\"card\":\"venue\",\"id\":\"4c87adf49062ef3b155441c6\"}"
|
|
}
|
|
]
|
|
},
|
|
"modules": {},
|
|
"reason": "",
|
|
"notify": false,
|
|
"ranking_arguments": {
|
|
"USER_LOCATION:OTHER": 1.0,
|
|
"req_longitude": -4.259,
|
|
"USER_DIST_FROM_REQ_LOC:WITHIN_800M": 1.0,
|
|
"req_latitude": 55.857998,
|
|
"STREAM_TYPE:MAIN": 1.0,
|
|
"USER_LOCATION_POI_CONFIDENCE:HIGH": 1.0,
|
|
"rule_score": 2.0,
|
|
"TIER": 2.0,
|
|
"score": 0.25
|
|
},
|
|
"instrumentation": {
|
|
"rid": "cifu9m5d8bg5i",
|
|
"bucket": "ga"
|
|
}
|
|
},
|
|
{
|
|
"card_id": "f7b4def4-2367-3de4-9d11-ac8ddc9ebd10",
|
|
"rendering_engine": "custom",
|
|
"type": "POWER_SAVE",
|
|
"type_display_name": "Battery Saver",
|
|
"ttl": 1518887859,
|
|
"layout": {
|
|
"template": "power_save"
|
|
},
|
|
"data": {},
|
|
"modules": {},
|
|
"reason": "",
|
|
"notify": false,
|
|
"ranking_arguments": {
|
|
"STREAM_TYPE:MAIN": 1.0,
|
|
"rule_score": 0.0,
|
|
"TIER": 0.0,
|
|
"score": 0.0
|
|
},
|
|
"instrumentation": {
|
|
"rid": "cifu9m5d8bg5i",
|
|
"bucket": "ga"
|
|
}
|
|
},
|
|
{
|
|
"card_id": "4b5b8c71-58d2-3f26-abce-318e3d3a01d6",
|
|
"rendering_engine": "custom",
|
|
"type": "MORNING_NIGHT",
|
|
"type_display_name": "Set Alarm",
|
|
"ttl": 1518887858,
|
|
"layout": {
|
|
"template": "morning_night"
|
|
},
|
|
"data": {},
|
|
"modules": {},
|
|
"reason": "",
|
|
"notify": false,
|
|
"ranking_arguments": {
|
|
"TIME_OF_DAY_RANGE:EVENING": 1.0,
|
|
"TIME_OF_DAY_RANGE:DINNER": 1.0,
|
|
"USER_LOCATION:OTHER": 1.0,
|
|
"USER_SPEED:STILL": 1.0,
|
|
"STREAM_TYPE:MAIN": 1.0,
|
|
"rule_score": 0.0,
|
|
"TIER": 0
|