...
Description | |
---|---|
URI | http://host_name:port/api/sb_pgp |
HTTP Method | POST |
Description | Adds a new PGP key |
Example URI | http://localhost:18080/api/sb_pgp |
Authentication | HTTP Basic |
Consume Content-Type | application/json |
Response Header | Location – The path to the newly created key |
Example | |
Properties |
Anchor | ||||
---|---|---|---|---|
|
Add Key: JSON Example
...
Description | |
---|---|
URI | http://host_name:port/api/sb_pgp |
HTTP Method | GET |
Description | Displays a list of all keys matching with the criteria below. The private key value is not returned. |
Example URI | http://localhost:18080/api/sb_pgp |
Authentication | HTTP Basic |
Produce Content-Type | application/json |
Example | |
URI Parameters |
Anchor | ||||
---|---|---|---|---|
|
List Keys: JSON Example
...
Description | |
---|---|
URI | http://host_name:port/api/sb_pgp/key_name |
HTTP Method | GET |
Description | Retrieves a PGP key details |
Example URI | http://localhost:18080/api/sb_pgp/test1.pub |
Authentication | HTTP Basic |
Produce Content-Type | application/json |
Example |
Anchor | ||||
---|---|---|---|---|
|
Get a Key: JSON Example
...
Code Block |
---|
GET /api/sb_pgp?sort=id-&limit=2 { "audit": [ { "id": 87642, "action": "DELETESTOP", "table_name": "userslocal_agents", "table_key": 449, "before": "{\"ID\":4,\"Owner"before": "{\"ID\":49,\"Owner\":\"mft-gw-0\",\"Name\":\"sftp_server_35281\",\"Address\":\"0.0.0.0:4003\",\"Protocol\":\"sftp\",\"Enabled\":{\"T\":true},\"RootDir\":\"rootdir_sftp\",\"ReceiveDir\":\"waarp-gatewayin\",\"UsernameSendDir\":\"totoout\",\"PasswordHashTmpReceiveDir\":\"$2a$12$J94lRBsky2Eud/D/U5Fk7urldJY.le3YwFbMmIk5iZTDpKabt/Loitmp\",\"ProtoConfig\":{\"Permissionscommands\":0{}}}", "after": "", "status": "SUCCESS", "info": "", "user": 10, "date": "20222024-0601-20T0716T11:5413:1013.009859Z7915008Z", "parent_id": "" }, { "id": 86641, "action": "CREATE", "table_name": "usersremote_accounts", "table_key": 428, "before": "", "after": "{\"ID\":40,\"OwnerRemoteAgentID\":\"waarp-gateway\"42,\"UsernameLogin\":\"totouser_35281\",\"PasswordHashPassword\":\"$2a$12$J94lRBsky2Eud/D/U5Fk7urldJY.le3YwFbMmIk5iZTDpKabt/Loi\",\"Permissionspassword\":0}", "status": "SUCCESS", "info": "", "user": 10, "date": "20222024-0601-20T0716T11:5412:0458.376231Z8763191Z", "parent_id": "" } ] } |
Get an audit record
...