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

Response to the relationship request; 1 to accept, -1 to reject.

Ten parametr jest wymagany.
Typ: liczba całkowita
id

Unique identifier of the relationship request

Ten parametr jest wymagany.
Typ: liczba całkowita
token

Token „csrf” pobrany z action=query&meta=tokens

Ten parametr jest wymagany.