MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=centralauthtoken

(main | centralauthtoken)

किसी संलग्न विकि को एक प्रमाणित अनुरोध भेजने के लिए एक centralauthtoken प्राप्त करें।

एक ऐसा टोकन लौटाता है जिससे अन्य विकियों पर API अनुरोधों को प्रमाणित किया जा सकता है। क्रिया API के अनुरोधों के लिए इसे centralauthtoken GET पैरामीटर में रखें। REST API के अनुरोधों के लिए एक Authorization: CentralAuthToken {टोकन} हेडर जोड़ दें। मीडियाविकि फ़्रंट-एंड लॉजिक में आप mediawiki.ForeignApi ResourceLoader मॉड्यूल का उपयोग कर सकते हैं।

Example:
एक centralauthtoken प्राप्त करें
api.php?action=centralauthtoken [open in sandbox]