Blocks/blocking/ids/en

Jump to: navigation, search

Contents

blocks/blocking

Returns the user IDs in the blocking list of the current user.

URL

http://api.t.sina.com.cn/blocks/blocking.(json%7Cxml)

Supported Formats

XML/JSON

HTTP Request Method

GET

Requires Authentication

true
See the Authorization Mechanism Statement for authorization details

Requests Count Limitation

true
See the Interface Access Rights Statement for the Request Count Limitaiton details.

Request Parameters

  Requires Type and Range Description
source true string AppKey for the application to identify it. ( This parameter is not needed when using OAuth)
page false int page number
count false int record counts per page

Notes

None

Example Request

XML
curl -u "username:password" "http://api.t.sina.com.cn/blocks/blocking.xml?source=appkey&count=5&page=1"
JSON
curl -u "username:password" "http://api.t.sina.com.cn/blocks/blocking.json?source=appkey&count=5&page=1"

Response

XML Example

<?xml version="1.0" encoding="UTF-8"?>
<ids>
<id>1401881</id>
...
</ids>

JSON Example

[1401881, ...]

Others

None

文档更新时间: 21 January 2011