C/2/search/statuses/historical/check-en

跳转到: 导航, 搜索
(以“{{Api_desc_business-en| uri=search/statuses/historical/check-en| desc=check the execution status of searching for historical data| httpMethod=GET| needAuth=true| rat...”为内容创建页面)
 
第1行: 第1行:
 
{{Api_desc_business-en|
 
{{Api_desc_business-en|
uri=search/statuses/historical/check-en|
+
uri=search/statuses/historical/check|
 
desc=check the execution status of searching for historical data|
 
desc=check the execution status of searching for historical data|
 
httpMethod=GET|
 
httpMethod=GET|

2015年7月16日 (四) 11:47的版本

search/statuses/historical/check

check the execution status of searching for historical data

URL

https://c.api.weibo.com/2/search/statuses/historical/check.json

Supported Formats

JSON

HTTP Request Method

GET

Login Requirement

true
See Login and Authorization for details.

Authorized Access Limitation

Request for all the business API:

    • 50000 times per hour per IP;

Request Parameters

  Requires Type and Range Description
source false string This parameter is not needed when using OAuth, and is required when using other authorization methods. The value of this parameter is AppKey.
access_token false string This parameter is required when using OAuth, and is not needed when using other authorization methods. You will get the access_token after obtaining OAuth.
task_id true int The task ID for searching historical data.
timestamp true timestamp UNIX timestamp of the current time of the caller’s server.
signature true string {{{4}}}

Notes

  • Each download task will automatically expire after 7 days, after which calling this interface will return corresponding error.

Response

JSON Example

//成功返回
{
    "id": "3567122345",             //任务创建者ID
    "q": "昆明暴力事件,三元食品",
    "ids": "324344545~12121343~789078912",
    "province": "11",
    "city": "5",
    "starttime": "1389628800",
    "endtime": "1389690595",
    "type": 1,
    "hasv": 1,
    "onlynum": 80,
    "task_id": "100",                 //任务ID
    "status": true,               //任务执行状态,true:完成,false:执行中
    "count": 10000                //任务结果条数,当status为false时,该字段返回0
}
//失败返回
{
    "request": "/aim/campaign/create.json",
    "error_code": 2111XX,
    "error": "error information."               //显示错误信息  
}


Please see Error Code Description for details of error information.

Field Description

none

Others

none

Language: [[{{{2/uri}}}|中文]]


api评价