Vous êtes sur la page 1sur 12

Store

Album Album

Display Item
Display Display
... Album
Item Item
Display
Item


Display Display Album
...
Item Item
Game Video App
Item Item Item
Album
type": "category"type": "album"

Home
Subject/Album/Category
Target:
UI Type:
Metro, list, or .
Display Item
"target": { "type": "item" },

"images": {

"back": {

"url": "http://image.box.xiaomi.com/mfsv2/download/s010/p017VHRusz5g/R2BoGcjC9rNir1.png",

"ani": { },

"pos": { }

},

},

"name": "",

"times": { "updated": 1404466152, "created": 1404454443 },

"_ui": {

"type": "metro_cell_banner",

"layout": { "y": 1, "x": 1, "w": 1, "h": 2 }

},

"id": "180",

"type": "item",

"ns": "game"

},
API
1. Home
http://host:port/store/v2/game(app, video,
music)/home
Album list(size = tabs )
2. Item Detail
http://host:port/store/v2/game(app, video,
music)/item?id=xxx
Item list(size = 1)
3. Category list
http://host:port/store/v2/game(app, video,
EPG
video
Category
Detail
Video detail
Sample data
Home:
http://172.27.15.32:7071/v2/game/home
https://raw.githubusercontent.com/AiAndroid/stre
am/master/tv/game/home.json

Detail:
http://172.27.15.32:7071/v2/game/item?id=180&l
ocale=zh_CN&res=hd1080&ptf=602&device_id
=d9a47332c6d3cec9723918adf86d233c&key=
d668d3a268b64c41b3d91c6ab48ba5f9&opaqu
app/game/video

App Center
HTTP ns1 API
Detail/List App
AppItem Data

HTTP
Metro Lib EPG Agent
DisplayItem

Game Center
HTTP nsn API
Game
Detail/List Data
GameItem/
VideoItem

HTTP
Metro Lib EPG Agent
DisplayItem
Client XX
CMS

EPG
PUSH Server
Cache Server

GET

User-Agent


/







User-Agent

Vous aimerez peut-être aussi