Changes between Version 54 and Version 55 of WebRpc


Ignore:
Timestamp:
Mar 27, 2013, 11:36:37 AM (11 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebRpc

    v54 v55  
    1717?param1=val1&param2=val2&...&paramn=valn
    1818}}}
    19 where param1 ... paramN are the parameter names, and val1 ... valn are the values. Parameter values must be URL-encoded (for example, using PHP's `urlencode` function).
     19where param1 ... paramN are the parameter names, and val1 ... valn are the values.
     20Parameter values must be URL-encoded (for example, using PHP's `urlencode` function).
    2021 * The output is XML.
    21  * If the project's [#get_project_config get_project_config.php] file includes a `<rpc_prefix>` element, its content should be used as the URL prefix; otherwise use the project's master URL.
     22 * If the project's [#get_project_config get_project_config.php] file includes
     23   a `<rpc_prefix>` element, its content should be used as the URL prefix;
     24   otherwise use the project's master URL.
    2225 * Optional values are shown enclosed in square brackets.
    2326 * If an RPC fails, the returned XML document is
     
    3033}}}
    3134
    32 where N is a BOINC error number and xxx is a textual description. BOINC error numbers are in [source:boinc/lib/error_numbers.h lib/error_numbers.h]; common errors are:
     35where N is a BOINC error number and xxx is a textual description.
     36BOINC error numbers are in [source:boinc/lib/error_numbers.h lib/error_numbers.h];
     37common errors are:
    3338
    3439 '''-1''': Generic error (error_string may have more info)
     
    7176    <name>Project name</name>
    7277    <master_url>URL</master_url>
     78    [ <account_creation_disabled/> ]
     79    [ <account_manager/> ]
     80    [ <client_account_creation_disabled/> ]
     81    [ <error_num>N</error_num> ]
    7382    [ <local_revision>12345</local_revision> ]
    74     [ <web_stopped>0|1</web_stopped> ]
    75     [ <account_creation_disabled/> ]
    76     [ <client_account_creation_disabled/> ]
    7783    [ <min_passwd_length>N</min_passwd_length> ]
    78     [ <account_manager/> ]
    79     [ <uses_username/> ]
    80     [ <rpc_prefix>URL</rpc_prefix> ]
    81     [ <error_num>N</error_num> ]
    8284    [
    8385      <platforms>
     
    9395      </platforms>
    9496    ]
     97    [ <rpc_prefix>URL</rpc_prefix> ]
    9598    [ <sched_stopped>0|1</sched_stopped> ]
    9699    [
     
    106109      </system_requirements>
    107110    ]
     111    [ <terms_of_use>TEXT</terms_of_use> ]
     112    [ <uses_username/> ]
     113    [ <web_stopped>0|1</web_stopped> ]
    108114</project_config>
    109115}}}
     
    111117 name:: Project name
    112118 master_url:: Master URL
     119 account_creation_disabled:: If present, this project is not allowing creation of new accounts
     120 account_manager:: If present, this is an account manager, not a BOINC project
     121 client_account_creation_disabled:: If present, new accounts can be created only via the web (not via the client software).
     122 error_num:: The project is currently down. A BOINC error number is returned.
    113123 local_revision:: The SVN changeset number of the project's server software.
    114  web_stopped:: Nonzero if the project's database is down, which means the data-driven web pages are turned off.
    115  account_creation_disabled:: If present, this project is not allowing creation of new accounts
    116124 min_passwd_length:: Minimum password length (for new account creation)
    117  account_manager:: If present, this is an account manager, not a BOINC project
    118  uses_username:: If present, this project uses names (rather than email addresses) as the primary account identifier
    119  client_account_creation_disabled:: If present, new accounts can be created only via the web (not via the client software).
     125 platforms:: A list of platforms for which the project has application versions.
    120126 rpc_prefix:: Prefix to use for web RPCs, instead of the master URL.
    121  error_num:: The project is currently down. A BOINC error number is returned.
    122  platforms:: A list of platforms for which the project has application versions.
    123127 sched_stopped:: Nonzero if the project's scheduler server is down, which means you can't get new work or report completed work.
    124128 system_requirements:: Hardware requirements for participating in this project. If a computer doesn't meet these requirements it may not get sent any work by the project. All requirements are 'net'; e.g. the CPU requirements are after factors like [ClientSched on-fraction, active-fraction], and resource share have been taken into consideration. NOT IMPLEMENTED YET. [[BR]]
     129 terms_of_use:: If present, client GUIs should display this text and require that the user click Accept before attaching to this project.
     130 uses_username:: If present, this project uses names (rather than email addresses) as the primary account identifier
     131 web_stopped:: Nonzero if the project's database is down, which means the data-driven web pages are turned off.
    125132
    126133
     
    711718}}}
    712719
    713