模板:Api desc v2 en
(创建新页面为 '=={{{uri}}}== {{{desc}}} ==URL== <span style="text-transform:lowercase;font-weight:600">https://api.weibo.com/2/{{{uri}}}.json</span> ==支持格式== <span style="text-transfor…') |
|||
第3行: | 第3行: | ||
==URL== | ==URL== | ||
<span style="text-transform:lowercase;font-weight:600">https://api.weibo.com/2/{{{uri}}}.json</span> | <span style="text-transform:lowercase;font-weight:600">https://api.weibo.com/2/{{{uri}}}.json</span> | ||
− | == | + | ==Supported Formats== |
<span style="text-transform:uppercase;font-weight:600">JSON</span> | <span style="text-transform:uppercase;font-weight:600">JSON</span> | ||
− | == | + | ==HTTP Request Method== |
<span style="text-transform:uppercase;font-weight:600">{{{httpMethod}}}</span> | <span style="text-transform:uppercase;font-weight:600">{{{httpMethod}}}</span> | ||
− | == | + | ==Requires Login== |
<span style="text-transform:lowercase;font-weight:600">{{{needAuth}}}</span><br/> | <span style="text-transform:lowercase;font-weight:600">{{{needAuth}}}</span><br/> | ||
− | + | See the [[登录授权机制声明/en|Login And Authorization Mechanism Statement]] for login and authorization details. | |
− | == | + | ==Requests Count Limitation== |
− | + | Level:<span style="text-transform:lowercase;font-weight:600">{{{level}}}</span><br/> | |
− | + | Count Limitaiton:<span style="text-transform:lowercase;font-weight:600">{{{rateLimit}}}</span><br/> | |
− | + | See the [[Rate-limiting/en|Interface Access Rights Statement]] for the Request Count Limitaiton details. | |
− | == | + | ==Request Parameters== |
{| border="1" cellspacing="0" cellpadding="0" width="100%" class="parameters" style="border-color: #CCCCCC;" | {| border="1" cellspacing="0" cellpadding="0" width="100%" class="parameters" style="border-color: #CCCCCC;" | ||
|- | |- | ||
!width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"| | !width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"| | ||
− | !width="5%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"| | + | !width="5%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|Requires |
− | !width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"| | + | !width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|Type and Range |
− | !width="75%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"| | + | !width="75%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|Description |
− | {{api_args|source|false|string| | + | {{api_args|source|false|string|This parameter is not needed when using OAuth.The value of this parameter is the AppKey.}} |
− | {{api_args|access_token|false|string| | + | {{api_args|access_token|false|string|This parameter is required when using OAuth.You will get the access_token after oauth authorization.}} |
{{{params}}} | {{{params}}} | ||
|} | |} | ||
− | == | + | ==Notes== |
{{{useAge}}} | {{{useAge}}} | ||
− | == | + | ==Response == |
− | <span style="text-transform:uppercase;font-weight:600"> | + | <span style="text-transform:uppercase;font-weight:600">JSON Example</span><br/> |
{{{result}}}<br/> | {{{result}}}<br/> | ||
− | + | See the [[error_code/en|Error Code Description]] for the error information details. | |
− | == | + | ==Field Description== |
{{{resultDes}}} | {{{resultDes}}} | ||
− | == | + | ==Others== |
{{{otherInfo}}} | {{{otherInfo}}} | ||
2011年12月16日 (五) 19:03的版本
{{{uri}}}
{{{desc}}}
URL
https://api.weibo.com/2/{{{uri}}}.json
Supported Formats
JSON
HTTP Request Method
{{{httpMethod}}}
Requires Login
{{{needAuth}}}
See the Login And Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Level:{{{level}}}
Count Limitaiton:{{{rateLimit}}}
See the Interface Access Rights Statement for the Request Count Limitaiton details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization.
{{{params}}} |
Notes
{{{useAge}}}
Response
JSON Example
{{{result}}}
See the Error Code Description for the error information details.
Field Description
{{{resultDes}}}
Others
{{{otherInfo}}}