Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The UDMG Server REST API is provided by the udmg-server daemon and provides all the operations that can be performed with the UDMG Client or with the UDMG Client. – should this be something else or extra "with udmg client?Admin UI.

Authentication

Only Local User Account authentication is supported for the REST API.

...

This authentication scheme is done using the HTTP Authorization header. To authenticate, the client must:

Step 1

Obtain user login and password.

Step 2

Build the user ID by concatenating the login, a colon (“:”) character and the password.

Step 3

Encode the obtained identifier in Base64.

Step 4

Prefix the encoded identifier with a declaration of the basic authentication scheme (“Basic”).

For example, if the user enters the name "Aladdin" and the password "open sesame", then the client must send the following header:

...

Note
titleNote

UDMG Server is customized, and the actual API request and response syntax may differ significantly from the original version. Please consult your Stonebranch contact or the Stonebranch Customer Portal for more comprehensive documentation. — is there other documentation or should this say for "support"support.


UDMG Specific Operations

In addition to what is supported by the original version of the waarp-gatewayd server, the following commands have been added for UDMG:

PGP Key Management

PGP key records can be stored in the UDMG database and retrieved with the CLI or the REST API. The PGP key records can be used by scripts or by Universal Controller tasks without having to be stored in a local keyring.

...


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-Typeapplication/json

Response Header

Location – The path to the newly created key

Example

See Add Key: JSON Example.

Properties

See Add Key: JSON Properties.

Anchor
add key
add key

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-Typeapplication/json

Example

See List Keys: JSON Example.

URI Parameters

See List Keys: URI Parameters.

Anchor
list key
list key

List Keys: JSON Example 

...

URI Parameter

Description

SpecificationsRequiredMutually Exclusive With
limitThe maximum number of keys allowed in the response. Set to 20 by default.String; URI parameterN**should this column be filled out?
offsetIndex of the first returned entry. Set to 0 by default.String; URI parameterN
sort

The setting and order in which keys will be displayed.

String; URI parameter

Valid values:

  • ascending by key name: name+ 

  • Descending by key name: name- 

N

...


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-Typeapplication/json

Example

See Get a Key: JSON Example.

Anchor
get key
get key

Get a Key: JSON Example 

...


Description

URI

http://host_name:port/api/sb_pgp/key_name

HTTP Method

DELETE

Description

Deletes the given key.

Example URI

http://localhost:18080/api/sb_pgp/test1.pub

Authentication

HTTP Basic


Audit Management

...