The following API call provides a possibility to get metadata of the key.
Resource URL
/api/1.0/pgp-key/metadata/<ID>
Resource Information
| Response formats | JSON |
| Response code | 200 |
| Requires authentication? | Yes |
| HTTP Method | GET |
Example Request URL
Example Result
{
"id": <uuid>,
"name": <string>,
"created": <timestamp>,
"modified": <timestamp>,
"public": <base64 string>,
"private": <base64 string>,
"email": <string>
}
0 Comments