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=bs-avatars-tasks

(main | bs-avatars-tasks)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: BlueSpiceAvatars
  • License: GPL-3.0-only

Uploading, generating and setting user avatars

Parameters:
format

The format of the result

One of the following values: json, jsonfm
Default: json
task

The task that should be executed

uploadFile
Schema, parameter examples
generateAvatar
Schema, parameter examples
setUserImage
Schema, parameter examples
getUserTaskPermissions
Schema, parameter examples
This parameter is required.
One of the following values: generateAvatar, getUserTaskPermissions, setUserImage, uploadFile
taskData

JSON string encoded object with arbitrary data for the task

Default: {}
context

JSON string encoded object with context data for the task

Default: {}
schema

Show the JSON schema for the task parameters

examples

Show examples of task parameters

token

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

This parameter is required.