Extension:MassMessage/API/fr



Envoyer des courriels
You can use the API with  to send messages.

Paramètres

 * - Page containing list of pages to send messages to
 * - Subject line of message
 * - Body of message
 * - Edit token from

Exemple


Champs renvoyés

 * - "success" if message was sent properly.
 * - how many messages were queued



Modification des listes de diffusion
ContentHandler-based delivery lists can be edited using the API with. You can also use the standard, but that requires serializing the JSON yourself, and will result in less specific error messages.

Paramètres

 * - Title of the delivery list to update
 * - Titles to add to the list
 * - Titles to remove from the list
 * - Edit token from

Exemple


Champs renvoyés

 * - "Success" if the entire request succeeded; "Done" if some or all of it failed.
 * - List of pages added, if "add" was specified in the request
 * - If the attribute exists, the page does not exist on the wiki (for rendering redlinks)
 * - List of pages that could not be added, if any
 * - If the attribute exists, the title is invalid
 * - If the attribute exists, the site is invalid
 * - List of pages removed, if "remove" was specified in the request
 * - List of pages that could not be removed because they weren't in the list, if any