Get Public Keys
Description
Returns a list of RSA public keys which should be used for files encryption.
Encryption details is available here.
Request
HTTP Method: GET
URI Path: /v3/public_keys
Examples
GET /v3/public_keys HTTP/1.1
Host: api.didww.com
Accept: application/vnd.api+json
curl -i -X GET https://api.didww.com/v3/public_keys -H "Accept: application/vnd.api+json"
HTTP/1.1 200 OK
Content-Type: application/vnd.api+json
{
"data": [
{
"id": "dcf2bfcb-a1d0-3b58-bbf0-3ec22a510ba8",
"type": "public_keys",
"attributes": {
"key": "-----BEGIN PUBLIC KEY-----\n...-----END PUBLIC KEY-----\n"
}
},
{
"id": "f40e1176-a4ff-36e6-b2ed-c2c2d18097a3",
"type": "public_keys",
"attributes": {
"key": "-----BEGIN PUBLIC KEY-----\n...-----END PUBLIC KEY-----\n"
}
}
],
"meta": {
"api_version": "2021-12-15"
}
}