Search for a group.
- This method call does not require authentication.
- This method does not require any particular permission.
URL
http://www.ipernity.com/api/group.search
Parameters
api_key
|
∗ |
Your api_key.
|
text
|
|
Search group titles and descriptions in fulltext. (Use +/- for boolean mode)
|
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.
|
sort
|
|
The order in which to sort returned groups: relevance: sort by fulltext relevance. (This is the default). created-desc: sort by creation date newest first. created-asc: sort by creation date oldest first.
|
per_page
|
|
The number of docs to return on each page. (Default is 20, maximum is 100)
|
page
|
|
The page of results to return.
|
∗ : this parameter is required.
Response
<groups page="1" total="5125" pages="256" per_page="20">
<group group_id="125" title="Abarth lovers"
link="http://www.ipernity.com/group/acoolgroup"
icon="http://u1.ipernity.com/p/00/01/125.jpg">
<count members="125" docs="2563" topics="13"/>
<dates created_at="1218038768"
last_doc_at="1218048563" last_topic_at="1218048231"/>
<visibility ispublic="1" docs="1" topics="1"/>
</group>
<group group_id="126" title="Kitty Club"
link="http://www.ipernity.com/group/kitty"
icon="http://u1.ipernity.com/p/00/01/126.jpg">
<count members="1325" docs="25563" topics="636"/>
<dates created_at="1218048748"
last_doc_at="1218348462" last_topic_at="1218044233"/>
<visibility ispublic="1" docs="1" topics="1"/>
</group>
(...)
</groups>
Error codes
| 1 |
Search text query is empty |
|
| 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 |
| 500 |
Service error |
| 501 |
Maintenance mode |
| 503 |
Service unavailable |
Changelog
- 2008-12-01: Method created.
See also