Merge branch 'api-v3-email-3' of https://github.com/piousbox/habitrpg into piousbox-api-v3-email-3

This commit is contained in:
Matteo Pagliazzi
2016-03-05 19:24:11 +01:00
5 changed files with 120 additions and 3 deletions

View File

@@ -8,10 +8,11 @@ import {
let api = {};
/**
* @api {post} /email/unsubscribe Unsubscribe an email or user from email notifications
* @api {get} /email/unsubscribe Unsubscribe an email or user from email notifications
* @apiVersion 3.0.0
* @apiName UnsubscribeEmail
* @apiGroup Unsubscribe
* @apiDescription This is a GET method so that you can put the unsubscribe link in emails.
*
* @apiParam {String} code An unsubscription code
*