update main page
[mysocials] / www / api.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <title>MySocials Project</title>
7 <link href="style.css" rel="stylesheet" type="text/css" />
8 </head>
9
10 <body>
11 <table width="779" border="0" align="center" cellpadding="0" cellspacing="0">
12   <tr>
13     <td><table width="70%" border="0" cellspacing="0" cellpadding="0">
14       <tr>
15         <td class="redbox">&nbsp;</td>
16       </tr>
17       <tr>
18         <td height="45"><a href="index.html" class="logo">MySocials Project</a></td>
19       </tr>
20     </table></td>
21   </tr>
22   <tr>
23     <td>&nbsp;</td>
24   </tr>
25 <tr>
26     <td bgcolor="#E2E2D2" class="border" height="40"><table width="85%" border="0" cellspacing="0" cellpadding="0">
27       <tr align="center">
28         <td><a href="index.html" class="toplinks">About</a></td>
29         <td class="toplinks">|</td>
30        <td><a href="api.html" class="toplinks">MySocials API</a></td>
31         <td class="toplinks">|</td>
32         <td><a href="privacy.html" class="toplinks">Privacy</a></td>
33                 <td class="toplinks">|</td>
34         <td><a href="development.html" class="toplinks">Development</a></td>
35                 <td class="toplinks">|</td>
36         <td><a href="downloads.html" class="toplinks">Downloads</a></td>
37       </tr>
38     </table></td>
39   </tr>
40   <tr>
41     <td height="10"></td>
42   </tr>
43   <tr>
44     <td bgcolor="#F3F3F3" class="border"><table width="100%" border="0"
45     cellspacing="0" cellpadding="0">
46       <tr>
47         <td height="10"></td>
48       </tr>
49       <tr>
50         <td><table border="0" cellspacing="0" cellpadding="0">
51       <tr>
52         <td class="heading"></td>
53       </tr>
54     </table></td>
55       </tr>
56       <tr>
57         <td height="10"></td>
58       </tr>
59       <tr>
60         <td class="content">
61                 <h1>MySocials API</h1>
62                 <h2>MySocials driver API</h2>
63         <p> MySocials driver is provided as a shared library (libmsa&lt;service_name&gt;.so). Structure <b>msa_module *d</b> includes information about the driver (name, identifier, pointers to driver functions). This structure is filled during initialization of the driver.
64         </p>
65         <h3>Driver interface</h3>
66         <p>Driver interface is described in file interface.h and consists of 4 functions:
67         <ul>
68         <li><b>msa_module_init(struct msa_module* d)</b> — driver initialization;</li>
69         <li><b>msa_module_get_info(struct msa_module* d)</b> — getting information about driver;</li>
70         <li><b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> — request sending and response receiveing;</li>
71         <li><b>msa_module->shutdown(const struct msa_module*)</b> - driver shutdown.</li>
72         </ul>
73         
74         <h3>Driver initialization and shutting down</h3>
75         Driver initialization is performed by using <b>msa_module_init(struct msa_module* d)</b> function. Instance of structure which stores profile setting is created during initialization. Parameter d stores identifier of this instance. 
76         <br>
77         Function <b>msa_module->shutdown(const struct msa_module*)</b> is used during program termination. 
78
79         <h3>Interaction with driver</h3>
80
81         Fuction <b>msa_module->send(xmlDocPtr request, xmlDocPtr* response, const struct msa_module* info)</b> is used to perform requests to the driver. 
82 Parameter <i>request</i> is a request in XML format. Description of structure of sending and receiveing data is described <a>here</a>.
83 Parameter <i>response</i> contains driver response in XML format.
84 Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get information about driver (driver name and icon).
85 </p>    
86
87         <h2>MySocials driver data structures</h2>
88
89         <p>Here you can see description of data structures which are used by MySocials driver. These structures are declared in <b>mysocials_driver.h</b> file which is available for other applications from mysocials-dev package.  
90
91         <h3>Enumerations</h3>
92         <h4>Error codes</h4>
93         <pre class="c" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">enum</span> error_type <span style="color: #009900;">&#123;</span>
94         FAILURE<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Function finished with error</span>
95         SUCCESS<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Function finished without error</span>
96         ERROR_ALLOCATION_OF_MEMORY<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Allocation of memory</span>
97         ERROR_NO_FUNCTION<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Defining function error</span>
98         ERROR_INITIALIZATION_ALREADY_PASSED<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Re-initialization error</span>
99         ERROR_IS_BUSY<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Module is busy</span>
100         ERROR_SEND_DATA<span style="color: #339933;">,</span> <span style="color: #666666; font-style: italic;">// Data sending error</span>
101         ERROR_PARSE_DATA <span style="color: #666666; font-style: italic;">// Data parsing error</span>
102 <span style="color: #009900;">&#125;</span>
103         </pre>
104
105         <h3>Driver interface</h3>
106         <p>MySocials driver interface described in  <b>msa_module</b> structure. Some of the fields of this stucture are filled before initialization by application (marked with **), the rest of it is filled during initialization.</p>
107
108         <pre class="c" style="font-family:monospace;"><span style="color: #993333;">struct</span> msa_module <span style="color: #009900;">&#123;</span>
109         gchar <span style="color: #339933;">*</span>id<span style="color: #339933;">;</span>    <span style="color: #666666; font-style: italic;">// Identifier </span>
110         gchar <span style="color: #339933;">*</span>name<span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// External driver name</span>
111         gchar<span style="color: #339933;">*</span> driverName<span style="color: #339933;">;</span>       <span style="color: #666666; font-style: italic;">// Driver name for system purposes (equals driver identifier)</span>
112         gchar <span style="color: #339933;">*</span>pic<span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">// Icon coded in base64</span>
113         gchar <span style="color: #339933;">*</span>proxy<span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// **Proxy server address or NULL</span>
114         gint port<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// **Proxy server port</span>
115 &nbsp;
116         <span style="color: #808080; font-style: italic;">/* Pointer to function for processing requests.
117            Parameters:
118            xmlRequest — request in XML format
119            xmlResponse — response in XML format
120            info — structure with driver settings
121 &nbsp;
122            Function returns  SUCCESS in case without errors, otherwise FAILURE. 
123         */</span>
124 &nbsp;
125         error_type <span style="color: #009900;">&#40;</span><span style="color: #339933;">*</span>send<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">char</span><span style="color: #339933;">*</span> xmlRequest<span style="color: #339933;">,</span> <span style="color: #993333;">char</span><span style="color: #339933;">**</span> xmlResponse<span style="color: #339933;">,</span> <span style="color: #993333;">struct</span> msa_module <span style="color: #339933;">*</span>info<span style="color: #009900;">&#41;</span> 
126 &nbsp;
127         <span style="color: #808080; font-style: italic;">/* Pointer to function for driver shutting down.
128            Parameters:
129            info — structure with driver settings
130 &nbsp;
131            Function returns  SUCCESS in case without errors, otherwise FAILURE. 
132         */</span>
133 &nbsp;
134         error_type <span style="color: #009900;">&#40;</span><span style="color: #339933;">*</span>shutdown<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span><span style="color: #993333;">struct</span> msa_module<span style="color: #339933;">*</span> info<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
135 <span style="color: #009900;">&#125;</span>
136         </pre>
137
138         <h2>Format of XML requests and responses</h2>
139         <h3>Common format of driver request and response</h3>
140         <h4>Request format</h4>
141         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">noAuthorize</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
142         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
143 &nbsp;
144         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
145 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
146         </pre>
147
148         <ul>
149         <li><i>noAuthorize</i> - flag which forbids driver to call WebAuth (optional, set to false by default) </li>
150         <li><i>class</i> - class which includes called function</li>
151         <li><i>function</i> - name of the function</li>
152         <li><i>Params</i> - set of parameters, stricly defined for each function</li>
153         </ul>
154
155         <h4>Response format</h4>
156         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #000066;">authorized</span>=<span style="color: #ff0000;">&quot;true&quot;</span> <span style="color: #000066;">upload</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">download</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
157         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
158 &nbsp;
159         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
160 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
161         </pre>
162         
163         <ul>
164         <li><i>authorized</i> - flag which indicates authorization during request performing (flag isn't set if error occures during request performing) </li>
165         <li><i>upload</i> - number of bytes sent to server</li>
166         <li><i>download</i> - number of bytes received from server</li>
167         </ul>
168
169         <p>Following classes are supported:
170         <ul>
171         <li><i>settings:</i> class for working with settings</li>
172         <li><i>profile:</i> class for receiving data about user's profile</li>
173         <li><i>friends:</i> class for receiving data about user's friends</li>
174         <li><i>messages:</i> class for receiving data about messages</li>
175         <li><i>photos:</i> class for working with photos</li>
176         <li><i>audio:</i> class for working with audio files</li>
177         <li><i>video:</i> class for working with video files</li>
178         <li><i>news:</i> class for working with news</li>
179         </ul>   
180         </p>
181
182         <!-- Settings start -->
183         <h3>Settings</h3>
184         <h4>getSettings</h4>
185         <b>Request:</b>
186         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getSettings&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
187         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
188 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
189         </pre>
190
191         <b>Response:</b>
192         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getSettings&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
193         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
194                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;mid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
195                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;sid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
196                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;secret&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
197         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
198 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
199         </pre>
200         <p>Content of <i>Params</i> tag depends on the driver. It is recommended to save content of <i>Params</i> tag and send it to setup function without any changes.</p>
201
202         <h4>setSettings</h4>
203         <b>Request:</b>
204         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;setSettings&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
205         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
206                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;mid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
207                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;sid&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
208                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;secret&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
209         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
210 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
211         </pre>
212         <p><i>Params</i> tag must contain data received from driver during <i>getSettings</i> request.</p>
213         <b>Response:</b> info message or error message.
214
215         <h4>getListMethods</h4>
216         <b>Request:</b>
217         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListMethods&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
218         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
219 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
220         </pre>
221         <b>Response:</b>
222         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListMethods&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
223         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
224                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
225                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
226                 ...
227         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
228 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
229         </pre>
230                 
231         <h4>testConnection</h4>
232         <b>Request:</b>
233         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;settings&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;testConnection&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
234         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
235 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
236         </pre>
237         <b>Response:</b> info message or error message.
238         <!-- Settings finish -->
239
240         <!-- Profile start -->
241         <h3>Profile</h3>
242         <h4>getProfile</h4>
243         <b>Request:</b>
244         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
245         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
246 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
247         </pre>
248         <p>Attribute <i>id</i> is an id of user whose profile is needed to be received (optional, equals id of owner of current account by default).</p>
249         <b>Response:</b>
250         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
251         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
252                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
253                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;NickName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
254                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
255                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Gender&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
256                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Birthday&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
257                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;MobilePhone&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
258                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;HomePhone&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
259                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
260                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;CityName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
261                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;CountryName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
262         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
263 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
264         </pre>
265
266         <h4>getBaseProfile</h4>
267         <b>Request:</b>
268         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getBaseProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
269         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
270 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
271 &nbsp;
272         </pre>
273         <p>Attribute <i>id</i> is an id of user whose profile is needed to be received (optional, equals id of owner of current account by default).</p>
274         <b>Response:</b>
275         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;profile&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getBaseProfile&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
276         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
277                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
278                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;NickName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
279                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
280         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
281 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
282         </pre>
283         <!-- Profile finish -->
284
285         <!-- Friends start -->
286         <h3>Friends</h3>
287         <h4>getListFriends</h4>
288         <b>Request:</b>
289         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;friends&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListFriends&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
290         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
291                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
292                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
293         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
294 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
295         </pre>
296         <ul>
297         <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
298         <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
299         <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
300         </ul>
301         <b>Response:</b>
302         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;friends&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListFriends&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
303         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
304                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contactList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
305                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;contact&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
306                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FirstName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
307                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;NickName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
308                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;LastName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
309                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;FriendStatus&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
310                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
311                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
312                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
313         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
314 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
315         </pre>
316
317         <h4>deleteFriend</h4>
318         <b>Request:</b>
319         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;friends&quot;</span> function =<span style="color: #ff0000;">&quot;deleteFriend&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
320         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
321 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
322         </pre>
323         <b>Response:</b> info message or error message.
324         <!-- Friends finish -->
325
326         <!-- Photos start -->
327         <h3>Photos</h3>
328         <h4>createAlbum</h4>
329         <b>Request:</b>
330         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;createAlbum&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
331         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
332                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
333                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
334                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;privacy&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>PRIVACY<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
335         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
336 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
337         </pre>
338         PRIVACY can have following values: 
339         <ul>
340         <li>SELF - created album will be available only for its owner; </li>
341         <li>ALL_FRIENDS - created album will be available for owner's friends;</li>
342         <li>FRIENDS_OF_FRIENDS - created album will be available only for owner's friends and their friends; </li>
343         <li>EVERYONE - created album will be available only for every user.</li>
344         </ul>
345         <p>This set of values can be extended. If PRIVACY isn't set, driver use default setting for all new albums which are set by user.</p>
346         <ul>
347         <li><i>id</i> - optional, equals id of owner of current account by default </li>
348         <li><i>name</i> - optional, equals "no_name" by default</li>
349         <li><i>description</i> - optional </li>
350         </ul>
351         <b>Response:</b>
352         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;createAlbum&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
353         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
354                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
355         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
356 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
357         </pre>
358
359         <h4>getListAlbums</h4>
360         <b>Request:</b>
361         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAlbums&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
362         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
363 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
364         </pre>
365         <p><i>id</i> - optional, equals id of owner of current account by default.</p>
366         <b>Response:</b>
367         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAlbums&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
368         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
369                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
370                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;album&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
371                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
372                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
373                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;thumbId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
374                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
375                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
376                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;updated&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
377                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;size&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
378                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;canUpload&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
379                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
380                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
381         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
382 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
383         </pre>
384         <p><i>canUpload</i> - optional, if this parameter isn't set, it means that album is available for current user.</p>
385
386         <h4>uploadPhoto</h4>
387         <b>Request:</b>
388         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;uploadPhoto&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
389         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
390                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
391                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
392                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumPrivacy&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
393                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumDescription&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
394                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;file&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
395                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fileName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
396                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
397                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;tags&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
398         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
399 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
400         </pre>
401         <ul>
402         <li>There have to be only one of parameters <i>albumName</i> or <i>albumId</i> in request.</li>
403         <li>If <i>albumId</i> is set, photo is uploaded to this album.</li>
404         <li>If <i>albumId</i> isn't specified, new album is created (with name <i>albumName</i>, description <i>albumDescription</i> and private settings <i>albumPrivacy</i>). </li>
405         <li>If both parameters <i>albumName</i> and <i>albumId</i> aren't specified, driver returns error message or photo is uploaded to common album, which is available in some services.</li>
406         <li>Parameter <i>tags</i> can not be supported by some services.</li>
407         <li>Parameter <i>file</i> contains full path to file for sending.</li>
408         <li>Parameter <i>fileName</i> contains name of file for upload.</li>
409         </ul>
410         <b>Response:</b>
411         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;uploadPhoto&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
412         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
413                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
414                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
415         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
416 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
417         </pre>
418
419         <h4>getListPhotos</h4>
420         <b>Request:</b>
421         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
422         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
423                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
424                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
425                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
426         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
427 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
428         </pre>
429         <ul>
430         <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
431         <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
432         <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
433         </ul>
434         <b>Response:</b>
435         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
436         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
437                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photosList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">albumId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
438                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photo&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
439                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
440                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
441                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlOrig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
442                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
443                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
444                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
445                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
446         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
447 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
448         </pre>
449
450         <h4>getListUserPhotos</h4>
451         <b>Request:</b>
452         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListUserPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
453         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
454                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
455                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
456         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
457 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
458         </pre>
459         <ul>
460         <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
461         <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
462         <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
463         </ul>
464         <b>Response:</b>
465         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListUserPhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
466         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
467                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photosList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
468                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photo&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
469                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
470                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
471                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
472                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
473                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlOrig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
474                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
475                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
476                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
477                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
478         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
479 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
480         </pre>
481
482         <h4>getListPhotoTags</h4>
483         <b>Request:</b>
484         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListPhotoTags&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
485         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
486                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
487                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
488                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
489         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
490 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
491         </pre>
492         <b>Response:</b>
493         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListPhotoTags&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
494         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
495                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;tagsList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">albumId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">photoId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
496                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;tag&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
497                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;userId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
498                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
499                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
500                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
501                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
502         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
503 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
504         </pre>
505
506         <p>Parameter <i>userId</i> is an id of user which is marked on photo (optional).</p>
507
508         <h4>getListFavoritePhotos</h4>
509         <b>Request:</b>
510         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListFavoritePhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
511         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
512                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
513                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
514         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
515 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
516         </pre>
517         <ul>
518         <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
519         <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
520         <li><i>id</i> - user id (optional, equals id of owner of current account by default) </li>
521         </ul>
522         <b>Response:</b>
523         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListFavoritePhotos&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
524         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
525                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photosList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
526                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photo&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
527                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
528                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
529                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
530                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
531                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlOrig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
532                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
533                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;created&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
534                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
535                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
536         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
537 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
538         </pre>
539
540         <h4>getPhoto</h4>
541         <b>Request:</b>
542         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getPhoto&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
543         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
544                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
545                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;path&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
546         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
547 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
548         </pre>
549         <b>Response:</b> info message or error message.
550
551         <h4>getListPhotoComments</h4>
552         <b>Request:</b>
553         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> function = <span style="color: #ff0000;">&quot;getListPhotoComments&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
554         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
555                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
556                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
557                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
558                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
559                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
560         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
561 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
562         </pre>
563         <ul>
564         <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
565         <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
566         </ul>
567         <b>Response:</b>
568         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListPhotoComments&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
569         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
570                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;commentsList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span>  <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">albumId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">photoId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
571                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;comment&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
572                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ParentId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
573                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
574                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
575                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
576                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
577                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
578                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
579         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
580 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
581         </pre>
582         <p>Parameter <i>ParentId</i> is an id of previous comment, if there is such one  (optional).</p>
583
584         <h4>sendPhotoComment</h4>
585         <b>Request:</b>
586         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;photos&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;sendPhotoComment&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
587         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
588                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ownerId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
589                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
590                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;photoId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
591                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
592         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
593 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
594         </pre>
595         <b>Response:</b> info message or error message.
596         <!-- Friends finish -->
597
598         <!-- Messages start -->
599         <h3>Messages</h3>
600         <h4>getListOutboxMessages</h4>
601         <b>Request:</b>
602         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListOutboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
603         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
604                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;page&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
605                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pageSize&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
606                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;timeOffset&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
607         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
608 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
609         </pre>
610         <ul>
611         <li><i>page</i> - number of page that is requested (optional, positive integer, equals 1 by default)</li>
612         <li><i>pageSize</i> - page size (optional, positive integer, equals 100 by default)</li>
613         <li><i>timeOffset</i> - time offset for requested messages</li>
614         </ul>
615         <b>Response:</b>
616         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;messages&quot;</span> function = <span style="color: #ff0000;">&quot;getListOutboxMessages&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
617         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
618                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;messageList&quot;</span> <span style="color: #000066;">page</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">pageSize</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
619                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;message&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>             
620                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
621                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;SenderName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
622                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipientList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
623                                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;recipient&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
624                                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
625                                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;RecipientName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
626                                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
627                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
628                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Time&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
629                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
630                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
631                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Status&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
632                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
633                                  ...
634                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
635                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
636                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
637         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
638 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
639         </pre>
640         <p>Parameter <i>attachment</i> is optional, its content depends on attribute <i>type</i> and can have following values:</p>
641         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;image&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
642         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>      
643         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;albumId&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
644         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlSmall&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
645         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlBig&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
646 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
647 &nbsp;
648 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;video&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
649         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
650         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
651         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
652         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlImage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
653 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
654 &nbsp;
655 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;audio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
656         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
657         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
658         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
659 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
660 &nbsp;
661 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;link&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
662         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
663         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
664         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;urlImage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
665 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
666 &nbsp;
667 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attachment</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;note&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
668         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;name&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
669         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
670 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attachment<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
671         </pre>
672
673         <!-- Messages finish -->
674
675         <!-- Audio start -->
676         <h3>Audio</h3>
677         <h4>getListAudio</h4>
678         <b>Request:</b>
679         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
680         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
681         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
682 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
683         </pre>
684         <b>Response:</b>
685         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListAudio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
686         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
687                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audioList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
688                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
689                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
690                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;artist&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
691                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
692                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;audio&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
693                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
694                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
695         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
696 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
697         </pre>
698         <!-- Audio finish -->
699
700         <!-- Video start -->
701         <h3>Video</h3>
702         <h4>getListVideo</h4>
703         <b>Request:</b>
704         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Request</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;video&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListVideo&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
705         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
706         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
707 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
708         </pre>
709         <b>Response:</b>
710         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;video&quot;</span> <span style="color: #000066;">function</span>=<span style="color: #ff0000;">&quot;getListVideo&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
711         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
712                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;array</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;videoList&quot;</span> <span style="color: #000066;">quantity</span>=<span style="color: #ff0000;">&quot;...&quot;</span> <span style="color: #000066;">ownerId</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
713                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;struct</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;video&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;...&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
714                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;title&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
715                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;description&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
716                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;number</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;duration&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/number<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
717                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;img</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;Img&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/img<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
718                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;link&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
719                                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;url&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ...url to player... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
720                         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/struct<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
721                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/array<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
722         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
723 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
724         </pre>
725         <!-- Video finish -->
726
727         <!-- News start -->
728         <h3>News</h3>
729         <!-- News finish -->
730
731         <!-- Info messages start -->
732         <h3>Info and error messages</h3>
733         <h4>Error message format</h4>
734         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;systemMessages&quot;</span> function = <span style="color: #ff0000;">&quot;errorMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
735         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
736                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;moduleName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
737                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;code&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
738                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;text&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
739                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;comment&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
740                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;type&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>user/internal/service <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
741         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
742 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
743         </pre>
744
745         <h4>Info message format</h4>
746         <pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Response</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;systemMessages&quot;</span> function = <span style="color: #ff0000;">&quot;infoMessage&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>              
747         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
748                 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;string</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;moduleName&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span> ... <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/string<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
749         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
750 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
751         </pre>
752         <!-- Info messages finish -->
753       </td>
754       </tr>
755     </table></td>
756   </tr>
757   <tr>
758     <td><table width="92%" border="0" align="right" cellpadding="0"
759     cellspacing="0">
760       <tr>
761         <td class="copybox"> MySocials Project &copy; 2011</td>
762       </tr>
763     </table></td>
764   </tr>
765   <tr>
766     <td height="10">&nbsp;</td>
767   </tr>
768 </table>
769 </body>
770 </html>