public class StatusApi extends Object
| Constructor and Description |
|---|
StatusApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<StatusDetails> |
getStatus(String idOrName,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get status
Returns a status.
|
io.reactivex.Single<List<StatusDetails>> |
getStatuses(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all statuses
Returns a list of all statuses associated with workflows.
|
public io.reactivex.Single<StatusDetails> getStatus(String idOrName, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a status. The status must be associated with a workflow to be returned.
If a name is used on more than one status, only the status found first is returned. Therefore, identifying the status by its ID may be preferable.
This operation can be accessed anonymously.
Permissions required: None.
idOrName - The ID or name of the status.
(required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<List<StatusDetails>> getStatuses(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a list of all statuses associated with workflows.
This operation can be accessed anonymously.
Permissions required: None.
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.