X-Git-Url: http://git.maemo.org/git/?p=mysocials;a=blobdiff_plain;f=www%2Fapi.html;h=a3240a460b9aa7fa2248ccc9b314a4669a5323fb;hp=06bc6fccc488138e850d1fb87dfb502c68eb713e;hb=37dedf4050c498b7fa8640d220aa623d0f2e2cd8;hpb=f6a922e7f36306de5c4fab46ddeed6628c01f8c7 diff --git a/www/api.html b/www/api.html index 06bc6fc..a3240a4 100644 --- a/www/api.html +++ b/www/api.html @@ -269,7 +269,6 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa
<Request class="profile" function="getBaseProfile">
       	<Params id="...">
 </Request>

Attribute id is an id of user whose profile is needed to be received (optional, equals id of owner of current account by default).

Response: @@ -281,6 +280,32 @@ Function msa_module_get_info(struct msa_module* d) is used to get informa </Params> </Response> + +

getStatus

+ Request: +
<Request class="profile" function = "getStatus">
+     <Params id="..." />
+</Request>
+	
+

Attribute id is an id of user whose status is needed to be received (optional, equals id of owner of current account by default).

+ Response: +
<Response class="profile" function = "getStatus">
+      <Params id="vk ...">
+            <string name="Text"> ... </string>
+      </Params>
+</Response>
+	
+ +

setStatus

+ Request: +
<Request class="profile" function = "setStatus">
+     <Params>
+            <string name="Text"> ... </string>
+     </Params>
+</Request>
+	
+

Text is a content of user's status.

+ Response: info message or error message.