Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=growthsetmenteestatus

(main | growthsetmenteestatus)
  • Mô đun này cần quyền đọc.
  • Mô đun này cần quyền ghi.
  • Mô đun này chỉ có nhận các yêu cầu POST.
  • Source: GrowthExperiments
  • License: 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)

Các tham số:
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
This parameter is required.
Một trong các giá trị: disabled, enabled, optout
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Bài viết được in từ nguồn Wiki Scholarship “https://wiki.scholarship.edu.vn/Đặc_biệt:Trợ_giúp_API