Versions Compared

Key

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

...


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 

...


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 

...