authentication.adoc 688 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
= Rest API Documentation
Piotr Gawron
v{project-version} {build-time}
:toc: left
:sectnums:

== Authentication

=== Login
Login to the system. If credentials are invalid response with 403 status code will be returned. Token will be valid for the next 120 minutes.

==== CURL sample
include::{snippets}/authentication/login/curl-request.adoc[]

==== Request Parameters
include::{snippets}/authentication/login/request-parameters.adoc[]

==== Response Fields
include::{snippets}/authentication/login/response-fields.adoc[]

==== Sample Request
include::{snippets}/authentication/login/http-request.adoc[]

==== Sample Response
include::{snippets}/authentication/login/http-response.adoc[]