Spelling fixes

This commit is contained in:
fri 2016-04-13 17:41:31 +02:00
parent 1f65950fd6
commit 85e74a001e

11
API.md
View file

@ -163,7 +163,7 @@ Available search orders:
**Errors** **Errors**
- such user already exists (names are case insensitive) - such user already exists (names are case insensitive)
- either of user name, password and email are invalid - either user name, password or email are invalid
- privileges are too low - privileges are too low
**Description** **Description**
@ -211,7 +211,7 @@ administrator. Subsequent users will be given the rank indicated by
- the user does not exist - the user does not exist
- the user with new name already exists (names are case insensitive) - the user with new name already exists (names are case insensitive)
- either of user name, password, email or rank are invalid - either user name, password, email or rank are invalid
- the user is trying to update their or someone else's rank to higher than - the user is trying to update their or someone else's rank to higher than
their own their own
- privileges are too low - privileges are too low
@ -248,6 +248,7 @@ pass also `avatar` file - see [file uploads](#file-uploads) for details.
- privileges are too low - privileges are too low
**Description** **Description**
Retrieves information about an existing user. Retrieves information about an existing user.
@ -288,13 +289,13 @@ Deletes existing user.
**Errors** **Errors**
- the user does not exist - the user does not exist
- the user haven't provided an email address - the user hasn't provided an email address
**Description** **Description**
Sends a confirmation email to given user. The email contains link containing a Sends a confirmation email to given user. The email contains link containing a
token. The token cannot be guessed, thus using such link proves that the person token. The token cannot be guessed, thus using such link proves that the person
who requested to reset the password, also owns the mailbox, which is a strong who requested to reset the password also owns the mailbox, which is a strong
indication they are the rightful owner of the account. indication they are the rightful owner of the account.
@ -367,7 +368,7 @@ Nomenclature:
Features: Features:
- Most of tokens can be negated like so: `-token`. Used with order tokens, it - Most tokens can be negated like so: `-token`. Used with order tokens, it
flips the sort direction. flips the sort direction.
- Some tokens support multiple values like so: `3,4,5`. - Some tokens support multiple values like so: `3,4,5`.
- Some tokens support ranges like so: `100..`, `..200`, `100..200`. - Some tokens support ranges like so: `100..`, `..200`, `100..200`.