Changes between Version 25 and Version 26 of apns


Ignore:
Timestamp:
02/26/2016 05:08:36 PM (10 years ago)
Author:
liaojiaohe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • apns

    v25 v26  
    1212    "os_ver": "7.0.4", 
    1313    "app_ver": "1.3.0", 
    14     "open_udid": "98aab4d28f8394015e139c565057cb02ec9ce849", 
     14    "open_udid": "98aab4d28f8394015e139c565057cb02ec9ce849",   //ios设备标识 
    1515    "model": "iPod4,1", 
    1616    "dev_id": "88c66328573a", 
    1717    "mac_addr": "88c66328573a", 
    1818    "idfa": "C084C314-88B0-41BA-BEC9-117091E3163F", 
     19    "apns": "D0EA95AB09AFD98E7B28BB5FB8497DC3FEF685CB656F0D02EE977F3B842F63AC", 
     20    "token": "D0EA95AB09AFD98E7B28BB5FB8497DC3FEF685CB656F0D02EE977F3B842F63AC", 
    1921    "action": [ 
    2022        [ 
     
    2628    ], 
    2729    "event": [ 
    28         [ 
    29             "事件名称",                              //事件名称 
    30             112,                                     //事件标签 
    31             {"url":"http://...","ad":122},          //可扩展字段 
    32             20160226,                                //事件发生时间(年月日) 
    33             95247                                    //事件发生时间(时分秒) 
    34         ], 
    35         [ 
    36             "事件名称2", 
    37             113, 
    38             {}, 
    39             20160226, 
    40             95247 
    41         ] 
    42     ], 
    43     "apns": "D0EA95AB09AFD98E7B28BB5FB8497DC3FEF685CB656F0D02EE977F3B842F63AC", 
    44     "token": "D0EA95AB09AFD98E7B28BB5FB8497DC3FEF685CB656F0D02EE977F3B842F63AC" 
     30        {  "cid": 112,                      //必须,事件id,在魔方系统里面定义,兼用原来的魔方计数 
     31           "date":20160226,         //必须,事件发生日期(年月日) 
     32            "time":12412454325      //必须,时间戳          
     33            "url":"http://...",          //可选,数据来源路径 
     34            "ad":122,                   //可选,广告标志 
     35            "uuid":[4874,2387]         //可选,兴趣标签 
     36            "from":"xxx".                   //可选,搜索引擎来源标记 
     37            "xxx":"xxx"                  //其他的业务需要属性可以进行扩展 
     38        }, 
     39       {  "cid": 113,                      //必须,事件id,在魔方系统里面定义,兼用原来的魔方计数 
     40           "date":20160226,         //必须,事件发生日期(年月日) 
     41            "time": 12412454345   //必须,时间戳          
     42            "url":"http://...",          //可选,数据来源路径 
     43            "ad":122,                   //可选,广告标志 
     44            "uuid":[4874,2387]         //可选,兴趣标签 
     45            "from":"xxx".                   //可选,搜索引擎来源标记 
     46            "xxx":"xxx"                  //其他的业务需要属性可以进行扩展 
     47        }, 
     48    ] 
     49 
    4550} 
    4651}}} 
    47  
    4852 
    4953 
     
    5357HTTPSQS_PUT_ERROR 
    5458}}} 
     59 
     60新接口使用压缩方式传输,再header增加这个值 
     61"Content-Encoding", "gzip"