mirror of https://github.com/BOINC/boinc.git
31 lines
735 B
PHP
31 lines
735 B
PHP
<?php
|
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Web services for statistics sites");
|
|
|
|
echo "
|
|
The following 'web service' is available for statistics sites.
|
|
";
|
|
list_start();
|
|
list_item("URL", "WEBSITE_URL/verify_cpid.php?authenticator=x&cpid=y");
|
|
list_item("inputs", "x=authenticator (also known as 'account key');
|
|
<br> y=user cross-project ID, as listed in XML stats file
|
|
or user account page"
|
|
);
|
|
list_item("output",
|
|
"XML: enclosing <reply> tag, and either
|
|
<ul>
|
|
<li> <success></success>
|
|
if authenticator is correct for that user
|
|
(viewed in a browser, this may be displayed as <success/>).
|
|
<li> <error>error_message</error>
|
|
otherwise.
|
|
</ul>
|
|
"
|
|
);
|
|
list_end();
|
|
|
|
page_tail();
|
|
?>
|