Page History

Readvoteranks

Last edited by 国亚奇

返回

读取选项排行


URL: http://vote.cnlive.com/services/voteForCommon/readVoteRanks


请求方式: HTTP GET


返回格式: JSON


版本:互动电视5.3开始


请求参数说明:

参数名 参数类型 必选 参数说明
spId String true 建议使用appId
plat String true 客户端平台[i:IOS,a:Android,w:网页]
id String true 题目ID
optionIds String true 选项ID,多个以英文,号分割

返回格式说明:

{
    "id": "fcds_tp",                  //题目ID
    "votes": [
        {
            "optionId": "745180",     //选项ID
            "index": "1"              //排名
        },
        {
            "optionId": "745026",
            "index": "2"
        },
        {
            "optionId": "745076",
            "index": "21"
        },
        {
            "optionId": "744815",
            "index": "3"
        },
        {
            "optionId": "744926",
            "index": "42"
        }
    ]
}