101 lines
2.2 KiB
XML
Executable File
101 lines
2.2 KiB
XML
Executable File
<method name="getfriendgroups">
|
|
<shortdes>
|
|
Retrieves a list of the user's defined groups of friends.
|
|
</shortdes>
|
|
<des>
|
|
Retrieves a list of the user's defined groups of friends.
|
|
</des>
|
|
<arguments><struct count="1">
|
|
|
|
&authInfo;
|
|
|
|
</struct></arguments>
|
|
|
|
<expost>
|
|
POST /interface/xmlrpc HTTP/1.0
|
|
User-Agent: XMLRPC Client 1.0
|
|
Host: www.livejournal.com
|
|
Content-Type: text/xml
|
|
Content-Length: 406
|
|
|
|
<?xml version="1.0"?>
|
|
<methodCall>
|
|
<methodName>LJ.XMLRPC.getfriendgroups</methodName>
|
|
<params>
|
|
<param>
|
|
|
|
<value><struct>
|
|
<member><name>username</name>
|
|
<value><string>test</string></value>
|
|
</member>
|
|
<member><name>password</name>
|
|
|
|
<value><string>test</string></value>
|
|
</member>
|
|
<member><name>ver</name>
|
|
<value><int>1</int></value>
|
|
|
|
</member>
|
|
</struct></value>
|
|
</param>
|
|
</params>
|
|
</methodCall>
|
|
</expost>
|
|
|
|
|
|
<!--===================[ RETURN ]==============================-->
|
|
<returns><struct count="1">
|
|
|
|
<key name="friendgroups" count="1">
|
|
&friendGroups;
|
|
</key>
|
|
|
|
</struct></returns>
|
|
|
|
<exreturn>
|
|
HTTP/1.1 200 OK
|
|
Connection: close
|
|
Content-length: 536
|
|
Content-Type: text/xml
|
|
Date: Tue, 16 Jul 2002 01:03:10 GMT
|
|
Server: Apache/1.3.4 (Unix)
|
|
|
|
<?xml version="1.0"?>
|
|
|
|
<methodResponse>
|
|
<params>
|
|
<param>
|
|
<value><struct>
|
|
<member><name>friendgroups</name>
|
|
<value><array>
|
|
|
|
<data>
|
|
<value><struct>
|
|
<member><name>sortorder</name>
|
|
<value><int>25</int></value>
|
|
</member>
|
|
|
|
<member><name>id</name>
|
|
<value><int>1</int></value>
|
|
</member>
|
|
<member><name>public</name>
|
|
|
|
<value><int>1</int></value>
|
|
</member>
|
|
<member><name>name</name>
|
|
<value><string>Good Friends</string></value>
|
|
|
|
</member>
|
|
</struct></value>
|
|
</data>
|
|
</array></value>
|
|
</member>
|
|
</struct></value>
|
|
</param>
|
|
|
|
</params>
|
|
</methodResponse>
|
|
</exreturn>
|
|
|
|
</method>
|