Merge pull request #102 from werise-dev/master

fixed apidocs for "Users - GetUser"
This commit is contained in:
Andris Reinman 2018-09-02 16:54:45 +03:00 committed by GitHub
commit 6c12beb8ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -746,24 +746,24 @@ module.exports = (db, server, userHandler) => {
* @apiSuccess {Number} limits.forwards.allowed How many messages per 24 hours can be forwarded
* @apiSuccess {Number} limits.forwards.used How many messages are forwarded during current 24 hour period
* @apiSuccess {Number} limits.forwards.ttl Time until the end of current 24 hour period
*
* @apiSuccess {Object} limits.received Receiving quota
* @apiSuccess {Number} limits.received.allowed How many messages per 1 hour can be received
* @apiSuccess {Number} limits.received.used How many messages are received during current 1 hour period
* @apiSuccess {Number} limits.received.ttl Time until the end of current 1 hour period
*
* @apiSuccess {Object} limits.imapUpload IMAP upload quota
* @apiSuccess {Number} limits.imapUpload.allowed How many bytes per 24 hours can be uploaded via IMAP. Only message contents are counted, not protocol overhead.
* @apiSuccess {Number} limits.imapUpload.used How many bytes are uploaded during current 24 hour period
* @apiSuccess {Number} limits.imapUpload.ttl Time until the end of current 24 hour period
*
* @apiSuccess {Object} limits.imapDownload IMAP download quota
* @apiSuccess {Number} limits.imapDownload.allowed How many bytes per 24 hours can be downloaded via IMAP. Only message contents are counted, not protocol overhead.
* @apiSuccess {Number} limits.imapDownload.used How many bytes are downloaded during current 24 hour period
* @apiSuccess {Number} limits.imapDownload.ttl Time until the end of current 24 hour period
*
* @apiSuccess {Object} limits.pop3Download POP3 download quota
* @apiSuccess {Number} limits.pop3Download.allowed How many bytes per 24 hours can be downloaded via POP3. Only message contents are counted, not protocol overhead.
* @apiSuccess {Number} limits.pop3Download.used How many bytes are downloaded during current 24 hour period
* @apiSuccess {Number} limits.pop3Download.ttl Time until the end of current 24 hour period
*
* @apiSuccess {String[]} tags List of tags associated with the User
* @apiSuccess {String[]} tags List of tags associated with the User
* @apiSuccess {Boolean} hasPasswordSet If <code>true</code> then the User has a password set and can authenticate
* @apiSuccess {Boolean} activated Is the account activated
* @apiSuccess {Boolean} disabled If <code>true</code> then the user can not authenticate or receive any new mail