模板: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…')
 
 
(未显示1个用户的3个中间版本)
第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请求方式==
+
==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==
访问级别:<span style="text-transform:lowercase;font-weight:600">{{{level}}}</span><br/>
+
Level:<span style="text-transform:lowercase;font-weight:600">{{{level}}}</span><br/>
频次限制:<span style="text-transform:lowercase;font-weight:600">{{{rateLimit}}}</span><br/>
+
Count Limitation:<span style="text-transform:lowercase;font-weight:600">{{{rateLimit}}}</span><br/>
关于频次限制,参见 [[Rate-limiting|接口访问权限说明]]
+
See the [[Rate-limiting/en|Interface Access Rights Statement]] for the request count limitation 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"|&nbsp;
 
!width="10%" style="text-align:center;font-weight:bolder;border:1px solid #cccccc"|&nbsp;
!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|采用OAuth授权方式不需要此参数,其他授权方式为必填参数,数值为应用的AppKey。}}
+
{{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|采用OAuth授权方式为必填参数,其他授权方式不需要此参数,OAuth授权后获得。}}
+
{{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">JSON示例</span><br/>
+
<span style="text-transform:uppercase;font-weight:600">JSON Example</span><br/>
 
{{{result}}}<br/>
 
{{{result}}}<br/>
关于错误返回值与错误代码,参见 [[error_code|错误代码说明]]
+
See the [[error_code|Error Code Description]] for the error information details.
==字段说明==
+
==Field Description==
 
{{{resultDes}}}
 
{{{resultDes}}}
==其他==
+
==Others==
 
{{{otherInfo}}}
 
{{{otherInfo}}}
  

2012年2月1日 (三) 10:32的最后版本

{{{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 Limitation:{{{rateLimit}}}
See the Interface Access Rights Statement for the request count limitation 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}}}



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


文档更新时间: 2012-02-01