add new images for the site
[mysocials] / www / api.html
index 06bc6fc..a3240a4 100644 (file)
@@ -269,7 +269,6 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
        <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>
        <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>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
-&nbsp;
        </pre>
        <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>
        <b>Response:</b>
@@ -281,6 +280,32 @@ Function <b>msa_module_get_info(struct msa_module* d)</b> is used to get informa
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
 <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
        </pre>
+
+       <h4>getStatus</h4>
+       <b>Request:</b>
+       <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> function = <span style="color: #ff0000;">&quot;getStatus&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <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>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <p>Attribute <i>id</i> is an id of user whose status is needed to be received (optional, equals id of owner of current account by default). </p>
+       <b>Response:</b>
+       <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> function = <span style="color: #ff0000;">&quot;getStatus&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+      <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;vk ...&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> <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>
+      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Response<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+
+       <h4>setStatus</h4>
+       <b>Request:</b>
+       <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> function = <span style="color: #ff0000;">&quot;setStatus&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+            <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>
+     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Params<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/Request<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
+       </pre>
+       <p><i>Text</i> is a content of user's status.</p> 
+       <b>Response:</b> info message or error message.
        <!-- Profile finish -->
 
        <!-- Friends start -->