Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=socialprofile-request-response
(main | socialprofile-request-response)
- Ten moduł wymaga praw odczytu.
- Ten moduł wymaga praw zapisu.
- Ten moduł akceptuje tylko żądania POST.
- Źródło: UserRelationship
- Licencja: GPL-2.0-or-later
Responds to user relationship (friend/foe) requests.
Parametry:
Other general parameters are available.
Response to the relationship request; 1 to accept, -1 to reject.
- Ten parametr jest wymagany.
- Typ: liczba całkowita
Unique identifier of the relationship request
- Ten parametr jest wymagany.
- Typ: liczba całkowita
Token „csrf” pobrany z action=query&meta=tokens
- Ten parametr jest wymagany.