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个用户的3个中间版本) | |||
第1行: | 第1行: | ||
{{Api_desc_business-en| | {{Api_desc_business-en| | ||
− | uri=search/statuses/historical/check | + | 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| | ||
第6行: | 第6行: | ||
rateLimit={{B_rate_limit-en}}| | rateLimit={{B_rate_limit-en}}| | ||
params={{api_args|task_id|true|int|The task ID for searching historical data.}} | params={{api_args|task_id|true|int|The task ID for searching historical data.}} | ||
− | {{api_args|timestamp|true|timestamp|UNIX timestamp of the current time of the | + | {{api_args|timestamp|true|timestamp|UNIX timestamp of the current time of the caller's server.}} |
− | {{api_args|signature|true|string|Authentication signature. The encryption method is signature | + | {{api_args|signature|true|string|Authentication signature. The encryption method is signature equals to md5(id + secret_key + timestamp).id is the creator's ID, the platform obtains 'id, secret_key' through task_id. }}| |
result= | result= | ||
<pre> | <pre> | ||
第35行: | 第35行: | ||
</pre>| | </pre>| | ||
resultDes=none| | resultDes=none| | ||
− | useAge=*Each download task will automatically expire after 7 days, after which calling this interface will return corresponding error.| | + | useAge=*Each download task will automatically expire after 7 days, after which calling this interface will return corresponding error. |
+ | *The executing time of each task is normally within 48 hours. If the timeout occurs, you could contact us to give priority to your task. | | ||
otherInfo=none | otherInfo=none | ||
}}{{#a:showgrade}} | }}{{#a:showgrade}} |
2017年7月20日 (四) 11:23的最后版本
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;
- 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 | Authentication signature. The encryption method is signature equals to md5(id + secret_key + timestamp).id is the creator's ID, the platform obtains 'id, secret_key' through task_id. |
Notes
- Each download task will automatically expire after 7 days, after which calling this interface will return corresponding error.
- The executing time of each task is normally within 48 hours. If the timeout occurs, you could contact us to give priority to your task.
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
文档更新时间: 2017-07-20