Changes between Version 42 and Version 43 of WebRpc
- Timestamp:
- Aug 21, 2009, 3:40:53 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebRpc
v42 v43 40 40 '''-208''': Account creation disabled [[BR]] 41 41 '''-209''': Attach failed. Perhaps due to invalid invitation code. [[BR]] 42 {{{43 #!html44 <font color=blue>45 }}}46 42 ---- 47 43 == Project configuration == #get_project_config 48 {{{ 49 #!html 50 </font> 51 }}} 52 '''URL''':: 53 {{{ 54 #!html 55 <font color=blue> 56 }}} 44 '''URL''':: 57 45 project_url/get_project_config.php 58 {{{59 #!html60 </font>61 }}}62 46 '''input''':: 63 47 none. [[BR]] … … 113 97 114 98 '''The elements are''':: 115 {{{ 116 #!html 117 <font color=darkgreen face="monospace"> 118 }}} 119 name: 120 {{{ 121 #!html 122 </font> 123 }}} 124 Project name [[BR]] [[BR]] 125 {{{ 126 #!html 127 <font color=darkgreen face="monospace"> 128 }}} 129 master_url: 130 {{{ 131 #!html 132 </font> 133 }}} 134 Master URL [[BR]] [[BR]] 135 {{{ 136 #!html 137 <font color=darkgreen face="monospace"> 138 }}} 139 local_revision: 140 {{{ 141 #!html 142 </font> 143 }}} 144 The SVN changeset number of the project's server software. [[BR]] [[BR]] 145 {{{ 146 #!html 147 <font color=darkgreen face="monospace"> 148 }}} 149 web_stopped: 150 {{{ 151 #!html 152 </font> 153 }}} 154 Nonzero if the project's database is down, which means the data-driven web pages are turned off. [[BR]] [[BR]] 155 {{{ 156 #!html 157 <font color=darkgreen face="monospace"> 158 }}} 159 account_creation_disabled: 160 {{{ 161 #!html 162 </font> 163 }}} 164 If present, this project is not allowing creation of new accounts [[BR]] [[BR]] 165 {{{ 166 #!html 167 <font color=darkgreen face="monospace"> 168 }}} 169 min_passwd_length: 170 {{{ 171 #!html 172 </font> 173 }}} 174 Minimum password length (for new account creation) [[BR]] [[BR]] 175 {{{ 176 #!html 177 <font color=darkgreen face="monospace"> 178 }}} 179 account_manager: 180 {{{ 181 #!html 182 </font> 183 }}} 184 If present, this is an account manager, not a BOINC project [[BR]] [[BR]] 185 {{{ 186 #!html 187 <font color=darkgreen face="monospace"> 188 }}} 189 uses_username: 190 {{{ 191 #!html 192 </font> 193 }}} 194 If present, this project uses names (rather than email addresses) as the primary account identifier [[BR]] [[BR]] 195 {{{ 196 #!html 197 <font color=darkgreen face="monospace"> 198 }}} 199 client_account_creation_disabled: 200 {{{ 201 #!html 202 </font> 203 }}} 204 If present, new accounts can be created only via the web (not via the client software). [[BR]] [[BR]] 205 {{{ 206 #!html 207 <font color=darkgreen face="monospace"> 208 }}} 209 rpc_prefix: 210 {{{ 211 #!html 212 </font> 213 }}} 214 Prefix to use for web RPCs, instead of the master URL. [[BR]] [[BR]] 215 {{{ 216 #!html 217 <font color=darkgreen face="monospace"> 218 }}} 219 error_num: 220 {{{ 221 #!html 222 </font> 223 }}} 224 The project is currently down. A BOINC error number is returned. [[BR]] [[BR]] 225 {{{ 226 #!html 227 <font color=darkgreen face="monospace"> 228 }}} 229 platforms: 230 {{{ 231 #!html 232 </font> 233 }}} 234 A list of platforms for which the project has application versions. [[BR]] [[BR]] 235 {{{ 236 #!html 237 <font color=darkgreen face="monospace"> 238 }}} 239 sched_stopped: 240 {{{ 241 #!html 242 </font> 243 }}} 244 Nonzero if the project's scheduler server is down, which means you can't get new work or report completed work. [[BR]] [[BR]] 245 {{{ 246 #!html 247 <font color=darkgreen face="monospace"> 248 }}} 249 system_requirements: 250 {{{ 251 #!html 252 </font> 253 }}} 254 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]] 99 name: Project name 100 101 master_url: Master URL 102 103 local_revision: The SVN changeset number of the project's server software. 104 105 web_stopped: Nonzero if the project's database is down, which means the data-driven web pages are turned off. 106 107 account_creation_disabled: If present, this project is not allowing creation of new accounts 108 109 min_passwd_length: Minimum password length (for new account creation) 110 111 account_manager: If present, this is an account manager, not a BOINC project 112 113 uses_username: If present, this project uses names (rather than email addresses) as the primary account identifier 114 115 client_account_creation_disabled: If present, new accounts can be created only via the web (not via the client software). 116 117 rpc_prefix: Prefix to use for web RPCs, instead of the master URL. 118 119 error_num: The project is currently down. A BOINC error number is returned. 120 121 platforms: A list of platforms for which the project has application versions. 122 123 sched_stopped: Nonzero if the project's scheduler server is down, which means you can't get new work or report completed work. 124 125 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]] 255 126 256 127 '''action''':: 257 128 Each BOINC project and account manager exports it's configuration via the get_project_config web RPC. 258 129 259 {{{260 #!html261 <font color=blue>262 }}}263 130 ---- 264 131 == Server status == #server_status 265 {{{ 266 #!html 267 </font> 268 }}} 269 '''URL''':: 270 {{{ 271 #!html 272 <font color=blue> 273 }}} 132 '''URL''':: 274 133 project_url/server_status.php 275 {{{ 276 #!html 277 </font> 278 }}} 279 '''input''':: 280 {{{ 281 #!html 282 <font color=darkgreen face="monospace"> 283 }}} 134 '''input''':: 284 135 [ xml: ] 285 {{{286 #!html287 </font>288 }}}289 136 output formatting. 0=HTML, 1=XML. (default is 0 if not specified) [[BR]] [[BR]] 290 137 '''examples''':: … … 331 178 '''action''':: 332 179 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. 333 {{{334 #!html335 <font color=blue>336 }}}337 180 ---- 338 181 == Create account == #create_account 339 {{{ 340 #!html 341 </font> 342 }}} 343 '''URL''':: 344 {{{ 345 #!html 346 <font color=blue> 347 }}} 182 '''URL''':: 348 183 project_url/create_account.php 349 {{{ 350 #!html 351 </font> 352 }}} 353 '''input''':: 354 {{{ 355 #!html 356 <font color=darkgreen face="monospace"> 357 }}} 184 '''input''':: 358 185 email_addr: 359 {{{360 #!html361 </font>362 }}}363 186 email address. [[BR]] [[BR]] 364 {{{365 #!html366 <font color=darkgreen face="monospace">367 }}}368 187 passwd_hash: 369 {{{370 #!html371 </font>372 }}}373 188 The MD5 hash of the concatenation of the user's password and the lower case form of their EMail address. The user password itself is never sent on an RPC call for privacy. [[BR]] [[BR]] 374 {{{375 #!html376 <font color=darkgreen face="monospace">377 }}}378 189 user_name: 379 {{{380 #!html381 </font>382 }}}383 190 the user name.[[BR]] [[BR]] 384 {{{385 #!html386 <font color=darkgreen face="monospace">387 }}}388 191 [ invite_code: ] 389 {{{390 #!html391 </font>392 }}}393 192 Invitation code if project requires invitation to create accounts.[[BR]] [[BR]] 394 193 '''examples''':: … … 405 204 '''action''':: 406 205 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. 407 {{{408 #!html409 <font color=blue>410 }}}411 206 ---- 412 207 == Look up account == #lookup_account 413 {{{ 414 #!html 415 </font> 416 }}} 417 '''URL''':: 418 {{{ 419 #!html 420 <font color=blue> 421 }}} 208 '''URL''':: 422 209 project_url/lookup_account.php 423 {{{ 424 #!html 425 </font> 426 }}} 427 '''input''':: 428 {{{ 429 #!html 430 <font color=darkgreen face="monospace"> 431 }}} 210 '''input''':: 432 211 email_addr: 433 {{{434 #!html435 </font>436 }}}437 212 email address [[BR]] [[BR]] 438 {{{439 #!html440 <font color=darkgreen face="monospace">441 }}}442 213 [ passwd_hash: ] 443 {{{444 #!html445 </font>446 }}}447 214 The MD5 hash of the concatenation of the user's password and the lower case form of the account's EMail address. [[BR]] [[BR]] 448 215 '''examples''':: … … 460 227 The authentication string may also be obtained using the [userw:Boinccmd_tool#Account_query_and_attach boinccmd --lookup_account] tool from an attached BOINC client; or, if the client is attached to the project and not using a weak authentication key, it is also stored in the project's account file, in the <authenticator> tag. This file is located in the BOINC data directory of the BOINC client, and called account_*.xml (where * is replaced by the project URL, with the "!http://" removed and any slashes replaced by underscores; ex: account_boinc.bakerlab.org_rosetta.xml). 461 228 462 {{{463 #!html464 <font color=blue>465 }}}466 229 ---- 467 230 == Get account info == #am_get_info 468 {{{ 469 #!html 470 </font> 471 }}} 472 473 '''URL''':: 474 {{{ 475 #!html 476 <font color=blue> 477 }}} 231 232 '''URL''':: 478 233 project_url/am_get_info.php 479 {{{ 480 #!html 481 </font> 482 }}} 483 '''input''':: 484 {{{ 485 #!html 486 <font color=darkgreen face="monospace"> 487 }}} 234 '''input''':: 488 235 account_key: 489 {{{490 #!html491 </font>492 }}}493 236 Authentication string for account to retrieve information about. See [#create_account create account RPC] or [#lookup_account lookup account RPC] [[BR]] [[BR]] 494 237 '''examples''':: … … 520 263 '''action''':: 521 264 returns data associated with the given account 522 {{{523 #!html524 <font color=blue>525 }}}526 265 ---- 527 266 == Set account info == #am_set_info 528 {{{ 529 #!html 530 </font> 531 }}} 532 533 '''URL''':: 534 {{{ 535 #!html 536 <font color=blue> 537 }}} 267 268 '''URL''':: 538 269 project_url/am_set_info.php 539 {{{ 540 #!html 541 </font> 542 }}} 543 '''input''':: 544 {{{ 545 #!html 546 <font color=darkgreen face="monospace"> 547 }}} 270 '''input''':: 548 271 account_key: 549 {{{550 #!html551 </font>552 }}}553 272 Authentication string of user account being changed. See [#create_account create account RPC] or [#lookup_account lookup account RPC] [[BR]] [[BR]] 554 {{{555 #!html556 <font color=darkgreen face="monospace">557 }}}558 273 [ name: ] 559 {{{ 560 #!html 561 </font> 562 }}} 563 [[BR]] [[BR]] 564 {{{ 565 #!html 566 <font color=darkgreen face="monospace"> 567 }}} 274 [[BR]] [[BR]] 568 275 [ country: ] 569 {{{ 570 #!html 571 </font> 572 }}} 573 [[BR]] [[BR]] 574 {{{ 575 #!html 576 <font color=darkgreen face="monospace"> 577 }}} 276 [[BR]] [[BR]] 578 277 [ postal_code: ] 579 {{{ 580 #!html 581 </font> 582 }}} 583 [[BR]] [[BR]] 584 {{{ 585 #!html 586 <font color=darkgreen face="monospace"> 587 }}} 278 [[BR]] [[BR]] 588 279 [ global_prefs: ] 589 {{{ 590 #!html 591 </font> 592 }}} 593 [[BR]] [[BR]] 594 {{{ 595 #!html 596 <font color=darkgreen face="monospace"> 597 }}} 280 [[BR]] [[BR]] 598 281 [ project_prefs: ] 599 {{{ 600 #!html 601 </font> 602 }}} 603 [[BR]] [[BR]] 604 {{{ 605 #!html 606 <font color=darkgreen face="monospace"> 607 }}} 282 [[BR]] [[BR]] 608 283 [ url: ] 609 {{{ 610 #!html 611 </font> 612 }}} 613 [[BR]] [[BR]] 614 {{{ 615 #!html 616 <font color=darkgreen face="monospace"> 617 }}} 284 [[BR]] [[BR]] 618 285 [ send_email: ] 619 {{{620 #!html621 </font>622 }}}623 286 [[BR]] [[BR]] 624 {{{625 #!html626 <font color=darkgreen face="monospace">627 }}}628 287 [ show_hosts: ] 629 {{{ 630 #!html 631 </font> 632 }}} 633 [[BR]] [[BR]] 634 {{{ 635 #!html 636 <font color=darkgreen face="monospace"> 637 }}} 288 [[BR]] [[BR]] 638 289 [ teamid: ] 639 {{{640 #!html641 </font>642 }}}643 290 ''zero means quit current team, if any'' [[BR]] [[BR]] 644 {{{645 #!html646 <font color=darkgreen face="monospace">647 }}}648 291 [ venue: ] 649 {{{ 650 #!html 651 </font> 652 }}} 653 [[BR]] [[BR]] 654 {{{ 655 #!html 656 <font color=darkgreen face="monospace"> 657 }}} 292 [[BR]] [[BR]] 658 293 [ email_addr: ] 659 {{{ 660 #!html 661 </font> 662 }}} 663 [[BR]] [[BR]] 664 {{{ 665 #!html 666 <font color=darkgreen face="monospace"> 667 }}} 294 [[BR]] [[BR]] 668 295 [ password_hash: ] 669 {{{670 #!html671 </font>672 }}}673 296 The password hash is MD5(password+lower_case(email_addr)). [[BR]] [[BR]] 674 297 '''examples''':: … … 683 306 '''action''':: 684 307 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. 685 {{{686 #!html687 <font color=blue>688 }}}689 308 ---- 690 309 == Set host info == #am_set_host_info 691 {{{ 692 #!html 693 </font> 694 }}} 695 696 '''URL''':: 697 {{{ 698 #!html 699 <font color=blue> 700 }}} 310 311 '''URL''':: 701 312 project_url/am_set_host_info.php 702 {{{ 703 #!html 704 </font> 705 }}} 706 '''input''':: 707 {{{ 708 #!html 709 <font color=darkgreen face="monospace"> 710 }}} 313 '''input''':: 711 314 account_key: 712 {{{713 #!html714 </font>715 }}}716 315 Authentication string of user account owning the host being changed. See [#create_account create account RPC] or [#lookup_account lookup account RPC] [[BR]] [[BR]] 717 {{{718 #!html719 <font color=darkgreen face="monospace">720 }}}721 316 hostid: 722 {{{ 723 #!html 724 </font> 725 }}} 726 [[BR]] [[BR]] 727 {{{ 728 #!html 729 <font color=darkgreen face="monospace"> 730 }}} 317 [[BR]] [[BR]] 731 318 venue: 732 {{{733 #!html734 </font>735 }}}736 319 [[BR]] [[BR]] 737 320 '''examples''':: … … 746 329 '''action''':: 747 330 Updates the host's venue 748 {{{749 #!html750 <font color=blue>751 }}}752 331 ---- 753 332 == Get account/host credit information == #show_user 754 {{{ 755 #!html 756 </font> 757 }}} 758 759 '''URL''':: 760 {{{ 761 #!html 762 <font color=blue> 763 }}} 333 334 '''URL''':: 764 335 project/show_user.php 765 {{{ 766 #!html 767 </font> 768 }}} 769 '''input''':: 770 {{{ 771 #!html 772 <font color=darkgreen face="monospace"> 773 }}} 336 '''input''':: 774 337 [ userid: ] 775 {{{776 #!html777 </font>778 }}}779 338 User ID to display. Either id: or auth: must be specified. [[BR]] [[BR]] 780 {{{781 #!html782 <font color=darkgreen face="monospace">783 }}}784 339 [ auth: ] 785 {{{786 #!html787 </font>788 }}}789 340 Authentication string of user to display. See [#create_account create account RPC] or [#lookup_account lookup account RPC]. Either id: or auth: must be specified. [[BR]] [[BR]] 790 {{{791 #!html792 <font color=darkgreen face="monospace">793 }}}794 341 format: 795 {{{796 #!html797 </font>798 }}}799 342 output formatting. 'xml' is only supported value (default is HTML formatting) [[BR]] [[BR]] 800 343 '''examples''':: … … 855 398 '''action''':: 856 399 Returns info about an account. If called with the authentication string, returns a list of hosts associated with the account. 857 {{{858 #!html859 <font color=blue>860 }}}861 400 ---- 862 401 == Get result list with pending credit == #pending 863 {{{ 864 #!html 865 </font> 866 }}} 867 '''URL''':: 868 {{{ 869 #!html 870 <font color=blue> 871 }}} 402 '''URL''':: 872 403 project/pending.php 873 {{{ 874 #!html 875 </font> 876 }}} 877 '''input''':: 878 {{{ 879 #!html 880 <font color=darkgreen face="monospace"> 881 }}} 404 '''input''':: 882 405 format: 883 {{{884 #!html885 </font>886 }}}887 406 Output formatting. 'xml' is only supported value (deafult is HTML formatting) [[BR]] [[BR]] 888 {{{889 #!html890 <font color=darkgreen face="monospace">891 }}}892 407 authenticator: 893 {{{894 #!html895 </font>896 }}}897 408 Authentication string for user account to retrieve pending credit information about. See [#create_account create account RPC] or [#lookup_account lookup account RPC] [[BR]] [[BR]] 898 409 '''examples''':: … … 911 422 </pending_credit> 912 423 }}} 913 {{{914 #!html915 <font color=blue>916 }}}917 424 ---- 918 425 == Create team == #create_team 919 {{{ 920 #!html 921 </font> 922 }}} 923 '''URL''':: 924 {{{ 925 #!html 926 <font color=blue> 927 }}} 426 '''URL''':: 928 427 project/create_team.php 929 {{{ 930 #!html 931 </font> 932 }}} 933 '''input''':: 934 {{{ 935 #!html 936 <font color=darkgreen face="monospace"> 937 }}} 428 '''input''':: 938 429 account_key: 939 {{{940 #!html941 </font>942 }}}943 430 Authentication string of team founder's user account. See [#create_account create account RPC] or [#lookup_account lookup account RPC] [[BR]] [[BR]] 944 {{{945 #!html946 <font color=darkgreen face="monospace">947 }}}948 431 name: 949 {{{950 #!html951 </font>952 }}}953 432 name of team. [[BR]] [[BR]] 954 {{{955 #!html956 <font color=darkgreen face="monospace">957 }}}958 433 [ url: ] 959 {{{960 #!html961 </font>962 }}}963 434 team URL. [[BR]] [[BR]] 964 {{{965 #!html966 <font color=darkgreen face="monospace">967 }}}968 435 type: 969 {{{970 #!html971 </font>972 }}}973 436 one of [/team_types.php these types]. [[BR]] [[BR]] 974 {{{975 #!html976 <font color=darkgreen face="monospace">977 }}}978 437 [ name_html: ] 979 {{{980 #!html981 </font>982 }}}983 438 team name, with HTML formatting. [[BR]] [[BR]] 984 {{{985 #!html986 <font color=darkgreen face="monospace">987 }}}988 439 [ description: ] 989 {{{990 #!html991 </font>992 }}}993 440 text describing team. [[BR]] [[BR]] 994 {{{995 #!html996 <font color=darkgreen face="monospace">997 }}}998 441 [ country: ] 999 {{{1000 #!html1001 </font>1002 }}}1003 442 team country (if present, must be one of [/countries.php these countries]). [[BR]] [[BR]] 1004 443 '''examples''':: … … 1014 453 '''action''':: 1015 454 Creates a team 1016 {{{1017 #!html1018 <font color=blue>1019 }}}1020 455 ---- 1021 456 == Look up teams by name == #team_lookup_name 1022 {{{ 1023 #!html 1024 </font> 1025 }}} 1026 1027 '''URL''':: 1028 {{{ 1029 #!html 1030 <font color=blue> 1031 }}} 457 458 '''URL''':: 1032 459 project/team_lookup.php 1033 {{{ 1034 #!html 1035 </font> 1036 }}} 1037 '''input''':: 1038 {{{ 1039 #!html 1040 <font color=darkgreen face="monospace"> 1041 }}} 460 '''input''':: 1042 461 team_name: 1043 {{{1044 #!html1045 </font>1046 }}}1047 462 Substring of team name [[BR]] [[BR]] 1048 {{{1049 #!html1050 <font color=darkgreen face="monospace">1051 }}}1052 463 [ format: ] 1053 {{{1054 #!html1055 </font>1056 }}}1057 464 Output formatting. 'xml' is only supported value (deafult is HTML formatting) [[BR]] [[BR]] 1058 465 '''examples''':: … … 1088 495 Teams with names matching *string* will be returned. A maximum of 100 teams will be returned. 1089 496 1090 {{{1091 #!html1092 <font color=blue>1093 }}}1094 497 ---- 1095 498 == Look up team by ID == #team_lookup_id 1096 {{{ 1097 #!html 1098 </font> 1099 }}} 1100 1101 '''URL''':: 1102 {{{ 1103 #!html 1104 <font color=blue> 1105 }}} 499 500 '''URL''':: 1106 501 project/team_lookup.php 1107 {{{ 1108 #!html 1109 </font> 1110 }}} 1111 '''input''':: 1112 {{{ 1113 #!html 1114 <font color=darkgreen face="monospace"> 1115 }}} 502 '''input''':: 1116 503 team_id: 1117 {{{1118 #!html1119 </font>1120 }}}1121 504 Team number of the team to lookup. [[BR]] [[BR]] 1122 505 '''examples''':: … … 1142 525 Show info on team with the given ID. 1143 526 1144 {{{1145 #!html1146 <font color=blue>1147 }}}1148 527 ---- 1149 528 == Get team member list == #team_email_list 1150 {{{ 1151 #!html 1152 </font> 1153 }}} 1154 1155 '''URL''':: 1156 {{{ 1157 #!html 1158 <font color=blue> 1159 }}} 529 530 '''URL''':: 1160 531 project/team_email_list.php 1161 {{{ 1162 #!html 1163 </font> 1164 }}} 1165 '''input''':: 1166 {{{ 1167 #!html 1168 <font color=darkgreen face="monospace"> 1169 }}} 532 '''input''':: 1170 533 teamid: 1171 {{{1172 #!html1173 </font>1174 }}}1175 534 database ID of team [[BR]] [[BR]] 1176 {{{1177 #!html1178 <font color=darkgreen face="monospace">1179 }}}1180 535 [ account_key: ] 1181 {{{1182 #!html1183 </font>1184 }}}1185 536 Authentication string of a team administrator's user account. See [#create_account create account RPC] or [#lookup_account lookup account RPC] [[BR]] [[BR]] 1186 {{{1187 #!html1188 <font color=darkgreen face="monospace">1189 }}}1190 537 xml: 1191 {{{1192 #!html1193 </font>1194 }}}1195 538 output formatting. 0=HTML, 1=XML. (default is 0) [[BR]] [[BR]] 1196 539 '''examples''':: … … 1222 565 Show list of team members. If authentication string is that of a team administrator, show email addresses, and flag indicating whether the user opted out of getting emails. 1223 566 1224 {{{1225 #!html1226 <font color=blue>1227 }}}1228 567 ---- 1229 568 == Set forum preferences == #edit_forum_preferences 1230 {{{ 1231 #!html 1232 </font> 1233 }}} 1234 1235 '''URL''':: 1236 {{{ 1237 #!html 1238 <font color=blue> 1239 }}} 569 570 '''URL''':: 1240 571 project/edit_forum_preferences_action.php [[BR]] 1241 {{{1242 #!html1243 </font>1244 }}}1245 572 (NOTE: this uses POST, not GET) 1246 573 '''input''':: 1247 {{{1248 #!html1249 <font color=darkgreen face="monospace">1250 }}}1251 574 account_key: 1252 {{{1253 #!html1254 </font>1255 }}}1256 575 Authentication string of user account to change preferences for. See [#create_account create account RPC] or [#lookup_account lookup account RPC] [[BR]] [[BR]] 1257 {{{1258 #!html1259 <font color=darkgreen face="monospace">1260 }}}1261 576 [ avatar_url: ] 1262 {{{1263 #!html1264 </font>1265 }}}1266 577 ''Note: the image will be downloaded and stored locally. Only JPG and PNG accepted.'' [[BR]] [[BR]] 1267 {{{1268 #!html1269 <font color=darkgreen face="monospace">1270 }}}1271 578 [ avatar_select: ] 1272 {{{ 1273 #!html 1274 </font> 1275 }}} 1276 [[BR]] [[BR]] 1277 {{{ 1278 #!html 1279 <font color=darkgreen face="monospace"> 1280 }}} 579 [[BR]] [[BR]] 1281 580 [ forum_images_as_links: ] 1282 {{{1283 #!html1284 </font>1285 }}}1286 581 [[BR]] [[BR]] 1287 {{{1288 #!html1289 <font color=darkgreen face="monospace">1290 }}}1291 582 [ forum_link_externally: ] 1292 {{{1293 #!html1294 </font>1295 }}}1296 583 [[BR]] [[BR]] 1297 {{{1298 #!html1299 <font color=darkgreen face="monospace">1300 }}}1301 584 [ forum_hide_avatars: ] 1302 {{{ 1303 #!html 1304 </font> 1305 }}} 1306 [[BR]] [[BR]] 1307 {{{ 1308 #!html 1309 <font color=darkgreen face="monospace"> 1310 }}} 585 [[BR]] [[BR]] 1311 586 [ forum_hide_signatures: ] 1312 {{{ 1313 #!html 1314 </font> 1315 }}} 1316 [[BR]] [[BR]] 1317 {{{ 1318 #!html 1319 <font color=darkgreen face="monospace"> 1320 }}} 587 [[BR]] [[BR]] 1321 588 [ forum_jump_to_unread: ] 1322 {{{ 1323 #!html 1324 </font> 1325 }}} 1326 [[BR]] [[BR]] 1327 {{{ 1328 #!html 1329 <font color=darkgreen face="monospace"> 1330 }}} 589 [[BR]] [[BR]] 1331 590 [ forum_ignore_sticky_posts: ] 1332 {{{ 1333 #!html 1334 </font> 1335 }}} 1336 [[BR]] [[BR]] 1337 {{{ 1338 #!html 1339 <font color=darkgreen face="monospace"> 1340 }}} 591 [[BR]] [[BR]] 1341 592 [ forum_low_rating_threshold: ] 1342 {{{ 1343 #!html 1344 </font> 1345 }}} 1346 [[BR]] [[BR]] 1347 {{{ 1348 #!html 1349 <font color=darkgreen face="monospace"> 1350 }}} 593 [[BR]] [[BR]] 1351 594 [ forum_high_rating_threshold: ] 1352 {{{ 1353 #!html 1354 </font> 1355 }}} 1356 [[BR]] [[BR]] 1357 {{{ 1358 #!html 1359 <font color=darkgreen face="monospace"> 1360 }}} 595 [[BR]] [[BR]] 1361 596 [ forum_minimum_wrap_postcount: ] 1362 {{{ 1363 #!html 1364 </font> 1365 }}} 1366 [[BR]] [[BR]] 1367 {{{ 1368 #!html 1369 <font color=darkgreen face="monospace"> 1370 }}} 597 [[BR]] [[BR]] 1371 598 [ forum_display_wrap_postcount: ] 1372 {{{ 1373 #!html 1374 </font> 1375 }}} 1376 [[BR]] [[BR]] 1377 {{{ 1378 #!html 1379 <font color=darkgreen face="monospace"> 1380 }}} 599 [[BR]] [[BR]] 1381 600 [ signature_enabled: ] 1382 {{{ 1383 #!html 1384 </font> 1385 }}} 1386 [[BR]] [[BR]] 1387 {{{ 1388 #!html 1389 <font color=darkgreen face="monospace"> 1390 }}} 601 [[BR]] [[BR]] 1391 602 [ signature: ] 1392 {{{ 1393 #!html 1394 </font> 1395 }}} 1396 [[BR]] [[BR]] 1397 {{{ 1398 #!html 1399 <font color=darkgreen face="monospace"> 1400 }}} 603 [[BR]] [[BR]] 1401 604 [ forum_sort: ] 1402 {{{ 1403 #!html 1404 </font> 1405 }}} 1406 [[BR]] [[BR]] 1407 {{{ 1408 #!html 1409 <font color=darkgreen face="monospace"> 1410 }}} 605 [[BR]] [[BR]] 1411 606 [ thread_sort: ] 1412 {{{ 1413 #!html 1414 </font> 1415 }}} 1416 [[BR]] [[BR]] 1417 {{{ 1418 #!html 1419 <font color=darkgreen face="monospace"> 1420 }}} 607 [[BR]] [[BR]] 1421 608 [ faq_sort: ] 1422 {{{ 1423 #!html 1424 </font> 1425 }}} 1426 [[BR]] [[BR]] 1427 {{{ 1428 #!html 1429 <font color=darkgreen face="monospace"> 1430 }}} 609 [[BR]] [[BR]] 1431 610 [ answer_sort: ] 1432 {{{ 1433 #!html 1434 </font> 1435 }}} 1436 [[BR]] [[BR]] 1437 {{{ 1438 #!html 1439 <font color=darkgreen face="monospace"> 1440 }}} 611 [[BR]] [[BR]] 1441 612 [ forum_filter_user: ] 1442 {{{1443 #!html1444 </font>1445 }}}1446 613 [[BR]] [[BR]] 1447 {{{1448 #!html1449 <font color=darkgreen face="monospace">1450 }}}1451 614 [ removeID: ... ] 1452 {{{1453 #!html1454 </font>1455 }}}1456 615 [[BR]] [[BR]] 1457 616 '''examples''':: … … 1461 620 Update user's forum preferences 1462 621 1463 {{{1464 #!html1465 <font color=blue>1466 }}}1467 622 ---- 1468 623 == Get user's last posts on the forum == #forum_get_data_user_posts 1469 {{{ 1470 #!html 1471 </font> 1472 }}} 1473 1474 '''URL''':: 1475 {{{ 1476 #!html 1477 <font color=blue> 1478 }}} 624 625 '''URL''':: 1479 626 project/forum_get_data.php 1480 {{{ 1481 #!html 1482 </font> 1483 }}} 1484 '''input''':: 1485 {{{ 1486 #!html 1487 <font color=darkgreen face="monospace"> 1488 }}} 627 '''input''':: 1489 628 method: 1490 {{{1491 #!html1492 </font>1493 }}}1494 629 "user_posts" to retrieve post details, [[BR]] 1495 630 "user_threads" to retrieve thread details.[[BR]] [[BR]] 1496 {{{1497 #!html1498 <font color=darkgreen face="monospace">1499 }}}1500 631 userid: 1501 {{{1502 #!html1503 </font>1504 }}}1505 632 Numeric user ID you wish to see forum data about. [[BR]] [[BR]] 1506 {{{1507 #!html1508 <font color=darkgreen face="monospace">1509 }}}1510 633 [ count: ] 1511 {{{1512 #!html1513 </font>1514 }}}1515 634 number of entries to return. Maximum 50, default 10.[[BR]] [[BR]] 1516 {{{1517 #!html1518 <font color=darkgreen face="monospace">1519 }}}1520 635 [ contentlength: ] 1521 {{{1522 #!html1523 </font>1524 }}}1525 636 number of characters to return from post content. Default returns whole post. Only used when method=user_posts. [[BR]] 1526 637 '''examples''':: … … 1568 679 Get user's last posts from the forum, or get user's last threads from the forums. 1569 680 1570 {{{1571 #!html1572 <font color=blue>1573 }}}1574 681 ---- 1575 682 == Get list of application versions == #apps 1576 {{{ 1577 #!html 1578 </font> 1579 }}} 1580 '''URL''':: 1581 {{{ 1582 #!html 1583 <font color=blue> 1584 }}} 683 '''URL''':: 1585 684 project/apps.php 1586 {{{ 1587 #!html 1588 </font> 1589 }}} 1590 '''input''':: 1591 {{{ 1592 #!html 1593 <font color=darkgreen face="monospace"> 1594 }}} 685 '''input''':: 1595 686 [ xml: ] 1596 {{{1597 #!html1598 </font>1599 }}}1600 687 output formatting. 0=HTML, 1=XML. (default is 0) [[BR]] [[BR]] 1601 688 '''examples''':: … … 1629 716 1630 717 }}} 718