Changes between Version 98 and Version 99 of XMLRPC


Ignore:
Timestamp:
May 16, 2016, 9:59:53 AM (8 years ago)
Author:
os
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XMLRPC

    v98 v99  
    9494Example output:
    9595{{{
    96    [token] => c8af602fe83c5404966c25da33d8bbaf
    97    [status] => 200 OK
    98    [seconds] => 0.338
     96    [token] => vjp6t4do4vc30tgfmai3lo3db6
     97    [status] => 200 OK
     98    [data] => Array
     99        (
     100            [IDUser] => 6
     101            [UserNickName] => os
     102            [UserRank] => super admin
     103            [UploadCnt] => 296
     104            [UserPreferedLanguages] => cze,eng,slo,tha
     105            [DownloadCnt] => 1215
     106            [UserWebLanguage] => en
     107        )
     108    [seconds] => 0.496
    99109}}}
    100110
    101111'''Fields explanation:'''
    102112 * token => this token string (session id) must be used in later communication
     113 * data => array - data of logged in user
    103114 * status => status code
    104115 * seconds => how long time takes this process on server
     
    10091020----
    10101021
     1022== !GetUserInfo ==
     1023'''array !GetUserInfo( $token )'''
     1024
     1025Returns info about logged-in user. Example:
     1026{{{
     1027(
     1028    [status] => 200 OK
     1029    [data] => Array
     1030        (
     1031            [IDUser] => 6
     1032            [UserNickName] => os
     1033            [UserRank] => super admin
     1034            [UploadCnt] => 296
     1035            [UserPreferedLanguages] => cze,eng,slo,tha
     1036            [DownloadCnt] => 1215
     1037            [UserWebLanguage] => en
     1038        )
     1039    [seconds] => 0.241
     1040)
     1041}}}
     1042
     1043'''Fields explanation:'''
     1044All field are self-explained.
     1045
     1046---
     1047
    10111048== !GuessMovieFromString ==
    10121049'''array !GuessMovieFromString( $token, array($string, ... ) )'''