Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 801 Bytes

File metadata and controls

57 lines (40 loc) · 801 Bytes

/appliances/:app/gpg_keys/:key

Contents

Example:

< DELETE /appliances/123/gpg_keys/testkey
< Accept: $CT:result

> 200 Ok
> Content-Type: $CT:result

Example:

< GET /appliances/123/gpg_keys/testkey
< Accept: $CT:gpg-key

> 200 Ok
> Content-Type: $CT:gpg-key
>
> {
>   "name": "testkey"
> , "target": "rpm"
> , "key": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."
> }

Example:

< PUT /appliances/123/gpg_keys/testkey
< Content-Type: $CT:gpg-key
<
< {
<   "name": "testkey"
< , "target": "rpm"
< , "key": "-----BEGIN PGP PUBLIC KEY BLOCK-----..."
< }

> 204 No Content