Changes between Version 3 and Version 4 of WebRpc


Ignore:
Timestamp:
Apr 29, 2007, 1:09:34 PM (17 years ago)
Author:
Rytis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebRpc

    v3 v4  
     1[[PageOutline]]
     2
    13= Web Remote Procedure Calls (RPCs) =
    2 
    3 
    4 == Contents ==
    5 
    6  * [WebRpc#Overview Overview]
    7  * [WebRpc#Projectconfiguration Project configuration]
    8  * [WebRpc#Createaccount Create account]
    9  * [WebRpc#Lookupaccount Lookup account]
    10  * [WebRpc#Getaccountinfo Get account info]
    11  * [WebRpc#Setaccountinfo Set account info]
    12  * [WebRpc#Sethostinfo Set host info]
    13  * [WebRpc#Getaccounthostcreditinformation Get account/host credit info]
    14  * [WebRpc#Createteam Create team]
    15  * [WebRpc#Lookupteamsbyname Lookup teams by name]
    16  * [WebRpc#LookupteambyID Lookup team by ID]
    17  * [WebRpc#Getteammemberlist Get team member list]
    18  * [WebRpc#Setforumpreferences Set forum preferences]
    19  * [WebRpc#Getlastuserspostsfromtheforum Get last user's posts from the forum]
    20  * [WebRpc#Getlastusersthreadsfromtheforum Get last user's threads from the forum]
    21  * [WebRpc#Getlistofapplicationversions Get list of applications and versions]
    22 
    234
    245== Overview ==
     
    5233        Invalid XML (e.g., the preferences passed to am_set_info.php are invalid)
    5334 '''-136'''::
    54         Item not found in database     (bad ID of any sort, or ID refers to an item not owned by the caller)
     35        Item not found in database (bad ID of any sort, or ID refers to an item not owned by the caller)
    5536 '''-137'''::
    56         Name is not unique (Can't create account because     email address already in use,    or can't create team because name is in use)
     37        Name is not unique (Can't create account because email address already in use, or can't create team because name is in use)
    5738 '''-138'''::
    5839        Can't access database (treat same as -183)
     
    7960== Create account ==
    8061
    81 
    82  '''Create account''':: '''URL'''::
     62  '''URL'''::
    8363        project_url/create_account.php
    8464 '''input'''::
    85         email_addr: email address         passwd_hash: the MD5 hash of the concatenation of the user's password and the email address.                  user_name: the user name
     65        email_addr: email address passwd_hash: the MD5 hash of the concatenation of the user's password and the email address.
     66        user_name: the user name
    8667 '''output'''::
    8768       
     
    245226        Returns info about an account.  If called with the account key, returns a list of hosts associated with the account.
    246227
     228== Get result list with pending credit ==
     229
     230 '''URL'''::
     231        project/pending.php?format=xml&authenticator=X
     232 '''output'''::
     233{{{
     234<pending_credit>
     235    <result>
     236        <resultid> N </resultid>
     237        <workunitid> N </workunitid>
     238        <claimed_credit> N </claimed_credit>
     239        <received_time> N </received_time>
     240    </result>
     241    [...]
     242    <total_claimed_credit> N </total_claimed_credit>
     243</pending_credit>
     244}}}
     245
    247246== Create team ==
    248247
     
    431430 '''output'''::
    432431        List of applications and application versions;     this shows what platforms are supported by the project.
    433 
    434