Changes between Version 25 and Version 26 of WebRpc
- Timestamp:
- Jan 21, 2009, 9:26:51 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebRpc
v25 v26 50 50 '''-208''':: 51 51 Account creation disabled 52 52 {{{ 53 #!html 54 <font color=blue> 55 }}} 53 56 == Project configuration == #get_project_config 54 55 '''URL''':: 57 {{{ 58 #!html 59 </font> 60 }}} 61 '''URL''':: 62 {{{ 63 #!html 64 <font color=blue> 65 }}} 56 66 project_url/get_project_config.php 67 {{{ 68 #!html 69 </font> 70 }}} 57 71 '''input''':: 58 72 none. [[BR]] … … 252 266 Each BOINC project and account manager exports it's configuration via the get_project_config web RPC. 253 267 254 268 {{{ 269 #!html 270 <font color=blue> 271 }}} 255 272 == Server status == #server_status 256 257 '''URL''':: 273 {{{ 274 #!html 275 </font> 276 }}} 277 '''URL''':: 278 {{{ 279 #!html 280 <font color=blue> 281 }}} 258 282 project_url/server_status.php 283 {{{ 284 #!html 285 </font> 286 }}} 259 287 '''input''':: 260 288 none. [[BR]] … … 302 330 '''action''':: 303 331 XML export generally updated every 10 minutes or so - do not poll more often than that. Status is used to make web sites showing the server status of multiple BOINC projects. 304 332 {{{ 333 #!html 334 <font color=blue> 335 }}} 305 336 == Create account == #create_account 306 307 '''URL''':: 337 {{{ 338 #!html 339 </font> 340 }}} 341 '''URL''':: 342 {{{ 343 #!html 344 <font color=blue> 345 }}} 308 346 project_url/create_account.php 347 {{{ 348 #!html 349 </font> 350 }}} 309 351 '''input''':: 310 352 {{{ … … 352 394 '''action''':: 353 395 If the project already has an account with that email address, and a different password, it returns an error. If an account with that email address exists and has the same password, it returns the authenticator. Otherwise the project creates an account and returns the authenticator. 354 396 {{{ 397 #!html 398 <font color=blue> 399 }}} 355 400 == Look up account == #lookup_account 356 357 '''URL''':: 401 {{{ 402 #!html 403 </font> 404 }}} 405 '''URL''':: 406 {{{ 407 #!html 408 <font color=blue> 409 }}} 358 410 project_url/lookup_account.php 411 {{{ 412 #!html 413 </font> 414 }}} 359 415 '''input''':: 360 416 {{{email_addr}}}: email address [[BR]] … … 373 429 If an account with the given email address doesn't exist, return an error. If passwd_hash is given and is correct, return the account key. 374 430 375 431 {{{ 432 #!html 433 <font color=blue> 434 }}} 376 435 == Get account info == #am_get_info 377 378 379 '''URL''':: 436 {{{ 437 #!html 438 </font> 439 }}} 440 441 '''URL''':: 442 {{{ 443 #!html 444 <font color=blue> 445 }}} 380 446 project_url/am_get_info.php 447 {{{ 448 #!html 449 </font> 450 }}} 381 451 '''input''':: 382 452 {{{account_key}}}: … … 409 479 '''action''':: 410 480 returns data associated with the given account 411 481 {{{ 482 #!html 483 <font color=blue> 484 }}} 412 485 == Set account info == #am_set_info 413 414 415 '''URL''':: 486 {{{ 487 #!html 488 </font> 489 }}} 490 491 '''URL''':: 492 {{{ 493 #!html 494 <font color=blue> 495 }}} 416 496 project_url/am_set_info.php 497 {{{ 498 #!html 499 </font> 500 }}} 417 501 '''input''':: 418 502 {{{account_key}}}: [[BR]] … … 440 524 '''action''':: 441 525 Updates one or more attributes of the given account. The password hash is MD5(password+lower_case(email_addr)). If email address is changed, you must also change the password hash. 442 526 {{{ 527 #!html 528 <font color=blue> 529 }}} 443 530 == Set host info == #am_set_host_info 444 445 446 '''URL''':: 531 {{{ 532 #!html 533 </font> 534 }}} 535 536 '''URL''':: 537 {{{ 538 #!html 539 <font color=blue> 540 }}} 447 541 project_url/am_set_host_info.php 542 {{{ 543 #!html 544 </font> 545 }}} 448 546 '''input''':: 449 547 {{{account_key}}}: [[BR]] … … 461 559 '''action''':: 462 560 Updates the host's venue 463 561 {{{ 562 #!html 563 <font color=blue> 564 }}} 464 565 == Get account/host credit information == #show_user 465 466 467 '''URL''':: 566 {{{ 567 #!html 568 </font> 569 }}} 570 571 '''URL''':: 572 {{{ 573 #!html 574 <font color=blue> 575 }}} 468 576 project/show_user.php 577 {{{ 578 #!html 579 </font> 580 }}} 469 581 '''input''':: 470 582 {{{id}}}: (user ID) or auth: (account key) [[BR]] … … 527 639 '''action''':: 528 640 Returns info about an account. If called with the account key, returns a list of hosts associated with the account. 529 641 {{{ 642 #!html 643 <font color=blue> 644 }}} 530 645 == Get result list with pending credit == #pending 531 532 '''URL''':: 646 {{{ 647 #!html 648 </font> 649 }}} 650 '''URL''':: 651 {{{ 652 #!html 653 <font color=blue> 654 }}} 533 655 project/pending.php 656 {{{ 657 #!html 658 </font> 659 }}} 534 660 '''input''':: 535 661 {{{format}}}: Output formatting. 'xml' is only supported value (deafult is HTML formatting) [[BR]] … … 550 676 </pending_credit> 551 677 }}} 552 678 {{{ 679 #!html 680 <font color=blue> 681 }}} 553 682 == Create team == #create_team 554 555 '''URL''':: 683 {{{ 684 #!html 685 </font> 686 }}} 687 '''URL''':: 688 {{{ 689 #!html 690 <font color=blue> 691 }}} 556 692 project/create_team.php 693 {{{ 694 #!html 695 </font> 696 }}} 557 697 '''input''':: 558 698 {{{account_key}}}: identifies team founder. [[BR]] … … 575 715 '''action''':: 576 716 Creates a team 577 717 {{{ 718 #!html 719 <font color=blue> 720 }}} 578 721 == Look up teams by name == #team_lookup_name 579 580 581 '''URL''':: 722 {{{ 723 #!html 724 </font> 725 }}} 726 727 '''URL''':: 728 {{{ 729 #!html 730 <font color=blue> 731 }}} 582 732 project/team_lookup.php 733 {{{ 734 #!html 735 </font> 736 }}} 583 737 '''input''':: 584 738 {{{team_name}}}: Substring of team name [[BR]] … … 616 770 Teams with names matching *string* will be returned. A maximum of 100 teams will be returned. 617 771 618 772 {{{ 773 #!html 774 <font color=blue> 775 }}} 619 776 == Look up team by ID == #team_lookup_id 620 621 622 '''URL''':: 777 {{{ 778 #!html 779 </font> 780 }}} 781 782 '''URL''':: 783 {{{ 784 #!html 785 <font color=blue> 786 }}} 623 787 project/team_lookup.php 788 {{{ 789 #!html 790 </font> 791 }}} 624 792 '''input''':: 625 793 {{{team_id}}}: … … 646 814 Show info on team with the given ID. 647 815 648 816 {{{ 817 #!html 818 <font color=blue> 819 }}} 649 820 == Get team member list == #team_email_list 650 651 652 '''URL''':: 821 {{{ 822 #!html 823 </font> 824 }}} 825 826 '''URL''':: 827 {{{ 828 #!html 829 <font color=blue> 830 }}} 653 831 project/team_email_list.php 832 {{{ 833 #!html 834 </font> 835 }}} 654 836 '''input''':: 655 837 {{{teamid}}}: database ID of team [[BR]] … … 684 866 Show list of team members. If account key is that of a team admin, show email addresses, and flags indicating whether the user opted out of getting emails. 685 867 686 868 {{{ 869 #!html 870 <font color=blue> 871 }}} 687 872 == Set forum preferences == #edit_forum_preferences 688 689 690 '''URL''':: 873 {{{ 874 #!html 875 </font> 876 }}} 877 878 '''URL''':: 879 {{{ 880 #!html 881 <font color=blue> 882 }}} 691 883 project/edit_forum_preferences_action.php [[BR]] 884 {{{ 885 #!html 886 </font> 887 }}} 692 888 (NOTE: this uses POST, not GET) 693 889 '''input''':: … … 719 915 Update user's forum preferences 720 916 721 917 {{{ 918 #!html 919 <font color=blue> 920 }}} 722 921 == Get user's last posts on the forum == #forum_get_data_user_posts 723 724 725 '''URL''':: 922 {{{ 923 #!html 924 </font> 925 }}} 926 927 '''URL''':: 928 {{{ 929 #!html 930 <font color=blue> 931 }}} 726 932 project/forum_get_data.php 933 {{{ 934 #!html 935 </font> 936 }}} 727 937 '''input''':: 728 938 {{{method}}}: [[BR]] … … 776 986 Get user's last posts from the forum, or get user's last threads from the forums. 777 987 778 988 {{{ 989 #!html 990 <font color=blue> 991 }}} 779 992 == Get list of application versions == #apps 780 781 '''URL''':: 993 {{{ 994 #!html 995 </font> 996 }}} 997 '''URL''':: 998 {{{ 999 #!html 1000 <font color=blue> 1001 }}} 782 1002 project/apps.php 1003 {{{ 1004 #!html 1005 </font> 1006 }}} 783 1007 '''input''':: 784 1008 [ {{{xml}}} ]: output formatting. 0=HTML, 1=XML. (default is 0)