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=socialprofile-request-response

(main | socialprofile-request-response)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: UserRelationship
  • License: GPL-2.0-or-later

Responds to user relationship (friend/foe) requests.

Specific parameters:
Other general parameters are available.
response

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

This parameter is required.
Type: integer
id

Unique identifier of the relationship request

This parameter is required.
Type: integer
token

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

This parameter is required.