Extension:SocialProfile/API
Appearance
SocialProfile has a few api.php
modules. This page lists them divided into the respective "sub-extensions" of SocialProfile.
As you can see, there is no feature parity just yet and many actions require using the web UI and aren't available via api.php
, but adding more API modules is a long-term goal. (Patches welcome!)
UserBoard
[edit]- Send a board message (action=socialprofile-send-message)
- Delete a board message (action=socialprofile-delete-message)
UserProfile
[edit]- Avatar upload (action=uploadavatar)
- Avatar removal (action=removeavatar)
- Set profile fields' visibility (action=smpuserprivacy)
- Set user profile type (action=smpuserprofiletype)
UserRelationship
[edit]- Respond to a friend or foe request (action=socialprofile-request-response)