Authentication¶
Used to authenticate the user and start/stop API sessions
- Login
Starts a new API session
- GET request:
Note
Legacy API – Deprecated- recommend using POST
- Resource URL:
https://[replicator]/api/1/login/[sha3]Parameter
Description
[replicator]
Hostname or IP address of the Plixer Replicator
[sha3]
Web interface admin password converted to SHA3 512-bit hex
- Example request:
https://10.30.17.131/api/1/login/098f6bcd4621d373ca098f6bcd4621d563cade4e832629b4f6d098f4bcd4621d373cade4e831627b4f6e4e832627b4f- POST request:
Starts a new API session
- Resource URL:
https://[replicator]/api/1/login/{ “user” : “[user]” “passwd”: “[passwd]” }Parameter
Description
[replicator]
Hostname or IP address of the Plixer Replicator
[user]
admin or (if configured) LDAP username
[passwd]
Plaintext password for the specified user
- Example response:
{ "path": "login successful.", "result": "success" }- Log out
Manually terminates an API session (API sessions are automatically terminated after 30 minutes)
- Resource URL:
https://[replicator]/api/1/logoutParameter
Description
[replicator]
Hostname or IP address of the Plixer Replicator
- Example request:
https://10.30.17.131/api/1/logout- Example response:
{ "path": "logout successful.", "result": "success" }