Return the groups list for a given user
- This method call does not require authentication.
- This method does not require any particular permission.
URL
http://api.ipernity.com/api/group.getList
Parameters
api_key
|
∗ |
Your api_key.
|
user_id
|
|
The ID of the user to get an group list for. (If not specified, the calling user is assumed)
|
lang
|
|
The language code of the group title and description to fetch. If not specified, the calling user language or the browser language will be used by default.
|
per_page
|
|
The number of records to return on each page. (Default is 100, maximum is 100)
|
page
|
|
The page of results to return.
|
∗ : this parameter is required.
Response
<groups total="17" per_page="2" page="1" count="2" thumbsize="75x">
<group group_id="10551"
link="http://www.ipernity.com/group/10551"
icon="http://u1.ipernity.com/p/00/01/10551.jpg">
title="Abarth lovers">
<visibility ispublic="1" docs="1" topics="1"/>
<dates created_at="1218038768"
last_doc_at="1218048563" last_topic_at="1218048231"/>
<count members="125" docs="2563" topics="13"/>
<you isadmin="1" ismoderator="0" ismember="0" docs="299"
joined_at="123456585" visited_at="1218039770"/>
</group>
<group group_id="10552"
link="http://www.ipernity.com/group/10551"
icon="http://u1.ipernity.com/p/00/01/10551.jpg">
title="My very first group">
<visibility ispublic="1" docs="1" topics="1"/>
<dates created_at="1218038768"
last_doc_at="1218048563" last_topic_at="1218048231"/>
<count members="125" docs="2563" topics="13"/>
<you isadmin="0" ismoderator="0" ismember="1" docs="0"
joined_at="123456585" visited_at="1218039770"/>
</group>
</groups>
Error codes
| 1 |
User not found |
|
| 100 |
API Key is missing |
| 101 |
API Key is invalid |
| 102 |
Invalid format |
| 103 |
Method not found |
| 104 |
Signature missing |
| 105 |
Signature is invalid |
| 106 |
Token missing |
| 107 |
Token invalid |
| 108 |
Account closed |
| 109 |
Action blocked |
| 110 |
Insufficient permissions |
| 111 |
IP not allowed |
| 112 |
Application Quota Error |
| 113 |
Client IP Quota Error |
| 120 |
HTTP POST required |
| 121 |
Invalid SOAP envelope |
| 122 |
Invalid XML-RPC envelope |
| 130 |
OAuth protocol version unsupported |
| 131 |
OAuth parameters are missing |
| 132 |
OAuth Clock skew |
| 133 |
OAuth Nonce is invalid |
| 134 |
OAuth Timestamp is invalid |
| 135 |
OAuth Signature method unsupported |
| 500 |
Service error |
| 501 |
Maintenance mode |
| 503 |
Service unavailable |
Changelog
- 2008-12-01: Method created.
See also