Blocks/blocking/ids

«  Return to the list of API methods

Contents

URL

http://yourserver/api/blocks/blocking/ids.format

Description

It returns an array of user ID of the users which the authenticated user is blocking

They are ordered by the order in which the user blocked them.

Available formats

XML, JSON

HTTP Method

GET

Requires authentication

YES


Return example (XML)

curl http://yourserver/api/blocks/blocking/ids.xml
<?xml version="1.0" encoding="UTF-8"?>
<ids>
 <id>2</id>
</ids>

Return example (JSON)

curl http://yourserver/api/blocks/blocking/ids.json
[2]