syshub-rest-module
Advanced tools
Changelog
[5.2.1] - 2024-05-15
SyshubWorkflowModel.nodeDataArray
has been fixed to also include GraphModelCElementObject
and GraphModelWorkflowObject
as valid items.Changelog
[5.2.0] - 2024-05-08
login()
method must be executed before making the first request to the Rest API (#15).Error
is no longer raised if the user name and password are both empty (""
).Changelog
[5.1.0] - 2024-04-24
login()
method is called with the third parameter keepLoggedin
= false
, the token and session information will be stored in the browsers sessionStorage instead of the localStorage. After an user closes the browser window, the sessionStorage is cleared and though the session automatically removed. This closes the issue https://github.com/surcoufx83/syshub-rest-module/issues/2.logout()
method now revokes the token also in the sysHUB server by calling the webauth/oauth/revoke_token
endpoint (closes https://github.com/surcoufx83/syshub-rest-module/issues/3).Changelog
[5.0.1] ... [5.0.2] - 2024-04-15
Changelog
[5.0.1] ... [5.0.2] - 2024-04-15
Changelog
[5.0.0] - 2024-04-15
get...()
method. An internal dictionary keeps track of the GET requests and the returned Etags. For each new request to previously called endpoints, the latest Etag is sent along. If the sysHUB server recognizes that no change has been made, it returns the HTTP status code 304/Not modified. This code is then passed on as the response. The Rest module does not transmit the cached content of the previous request, but only the code 304. It is therefore up to the application to save the data itself.
The Etag functionality can be prevented per function call or globally so that the sysHUB server actually delivers the requested data.Changelog
[4.0.0] - 2024-02-26
Changelog
[3.3.2] - 2024-02-15
agent
for workflow call or cElement to be null
or string