Changes between Version 54 and Version 55 of WebRpc
- Timestamp:
- Mar 27, 2013, 11:36:37 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebRpc
v54 v55 17 17 ?param1=val1¶m2=val2&...¶mn=valn 18 18 }}} 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). 19 where param1 ... paramN are the parameter names, and val1 ... valn are the values. 20 Parameter values must be URL-encoded (for example, using PHP's `urlencode` function). 20 21 * 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. 22 25 * Optional values are shown enclosed in square brackets. 23 26 * If an RPC fails, the returned XML document is … … 30 33 }}} 31 34 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: 35 where N is a BOINC error number and xxx is a textual description. 36 BOINC error numbers are in [source:boinc/lib/error_numbers.h lib/error_numbers.h]; 37 common errors are: 33 38 34 39 '''-1''': Generic error (error_string may have more info) … … 71 76 <name>Project name</name> 72 77 <master_url>URL</master_url> 78 [ <account_creation_disabled/> ] 79 [ <account_manager/> ] 80 [ <client_account_creation_disabled/> ] 81 [ <error_num>N</error_num> ] 73 82 [ <local_revision>12345</local_revision> ] 74 [ <web_stopped>0|1</web_stopped> ]75 [ <account_creation_disabled/> ]76 [ <client_account_creation_disabled/> ]77 83 [ <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> ]82 84 [ 83 85 <platforms> … … 93 95 </platforms> 94 96 ] 97 [ <rpc_prefix>URL</rpc_prefix> ] 95 98 [ <sched_stopped>0|1</sched_stopped> ] 96 99 [ … … 106 109 </system_requirements> 107 110 ] 111 [ <terms_of_use>TEXT</terms_of_use> ] 112 [ <uses_username/> ] 113 [ <web_stopped>0|1</web_stopped> ] 108 114 </project_config> 109 115 }}} … … 111 117 name:: Project name 112 118 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. 113 123 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 accounts116 124 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. 120 126 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.123 127 sched_stopped:: Nonzero if the project's scheduler server is down, which means you can't get new work or report completed work. 124 128 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. 125 132 126 133 … … 711 718 }}} 712 719 713