Merge branch 'master' into 'master'

Update README.md with Authentication projects example

See merge request !11162
This commit is contained in:
Achilleas Pipinellis 2017-05-11 10:23:23 +00:00
commit f07a7993e4

View file

@ -61,8 +61,9 @@ The following documentation is for the [internal CI API](ci/README.md):
## Authentication ## Authentication
All API requests require authentication via a session cookie or token. There are Most API requests require authentication via a session cookie or token. For those cases where it is not required, this will be mentioned in the documentation
three types of tokens available: private tokens, OAuth 2 tokens, and personal for each individual endpoint. For example, the [`/projects/:id` endpoint](projects.md).
There are three types of tokens available: private tokens, OAuth 2 tokens, and personal
access tokens. access tokens.
If authentication information is invalid or omitted, an error message will be If authentication information is invalid or omitted, an error message will be