summaryrefslogtreecommitdiff
path: root/docs/api-usage.rst
diff options
context:
space:
mode:
authorJakub Wilk <jwilk@jwilk.net>2018-03-03 00:17:08 +0100
committerJakub Wilk <jwilk@jwilk.net>2018-03-03 00:17:08 +0100
commitc976fec6c1bbf8c37cc23b9c2d07efbdd39a1670 (patch)
treec86a667c377ebd61d64bef98332b4b408b30efa2 /docs/api-usage.rst
parente65dfa30f9699292ffb911511ecd7c347a03775c (diff)
downloadgitlab-c976fec6c1bbf8c37cc23b9c2d07efbdd39a1670.tar.gz
Fix typos in documentation
Diffstat (limited to 'docs/api-usage.rst')
-rw-r--r--docs/api-usage.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-usage.rst b/docs/api-usage.rst
index 190482f..925f8bb 100644
--- a/docs/api-usage.rst
+++ b/docs/api-usage.rst
@@ -49,7 +49,7 @@ Note on password authentication
The ``/session`` API endpoint used for username/password authentication has
been removed from GitLab in version 10.2, and is not available on gitlab.com
-anymore. Personal token authentication is the prefered authentication method.
+anymore. Personal token authentication is the preferred authentication method.
If you need username/password authentication, you can use cookie-based
authentication. You can use the web UI form to authenticate, retrieve cookies,
@@ -195,7 +195,7 @@ To avoid useless calls to the server API, you can create lazy objects. These
objects are created locally using a known ID, and give access to other managers
and methods.
-The following exemple will only make one API call to the GitLab server to star
+The following example will only make one API call to the GitLab server to star
a project:
.. code-block:: python