LoginPath to servlet: api/authentication/login Method: GET Parameters - userName - User login
- password - User's password
- domainId - Domain id (optional)
- language - The language of the system according to the java.util.Locale.language convention (optional). This must be the language supported on the given system.
Answer: - The response contains the identifier formed from the combination of the domain and the user's password.
*compliant Info |
---|
title | Alternative authorization method |
---|
| An alternative method for authorizing requests sent to the REST API is to use the Basic Auth method. |
LogoutPath to servlet: api/authentication/logout Method: GET Parameters: Answer: Pobranie listy domenPath to servlet: api/authentication/domains English |
---|
LoginPath to servlet: api/authentication/login Method: GET Parameters - userName - User login
- password - User's password
- domainId - Domain id (optional)
- language - The language of the system according to the java.util.Locale.language convention (optional). This must be the language supported on the given system.
Answer: - The response contains the identifier formed from the combination of the domain and the user's password.
*compliant Info |
---|
title | Alternative authorization method |
---|
| An alternative method for authorizing requests sent to the REST API is to use the Basic Auth method. |
LogoutPath to servlet: api/authentication/logout Method: GET Parameters: Answer: Downloading a list of domainsPath to servlet: api/authentication/domains Method: GET Parameters :Answer: - A list of system domains in JSON
format Code Block |
---|
language | javascript |
---|
title | Przykładowa odpowiedź z listą domen |
---|
linenumbers | true |
---|
| [
{
"id":null,
"name":"PlusWorkflow"
},
{
"id":2,
"name":"nazwaDomeny"
}
] |
GET Parameters Answer: - A list of system domains in JSON forma
Code Block |
---|
title | Sample response with list of domains |
---|
linenumbers | true |
---|
| [
{
"id":null,
"name":"PlusWorkflow"
},
{
"id":2,
"name":"nazwaDomeny"
}
] |
|