راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=growthsetmenteestatus

(main | growthsetmenteestatus)
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان نیازمند اختیارات خواندن است.
  • این پودمان تنها درخواست‌های POST را می‌پذیرد.
  • منبع: GrowthExperiments
  • مجوز: GPL-3.0-or-later

Set mentee's status (allows mentees to enable/disable mentorship module, or to opt-out entirely, which deletes the mentee/mentor relationship)

پارامترها:
Other general parameters are available.
state

New status of the mentee (warning: setting this to optout will permanently deletes mentee/mentor relationship)

enabled
Mentorship module is enabled
disabled
Mentorship module is fully disabled. This is normally set by the software and used for A/B testing.
optout
Mentee opted out from mentorship; mentee/mentor relationship will be deleted, mentorship module will be replaced with a possibility to opt back in
این پارامتر الزامی است.
یکی از مقدارهای زیر: disabled، enabled، optout
token

یک بلیط «csrf» واکشی‌شده از action=query&meta=tokens

این پارامتر الزامی است.