Fix README example API response

API uses JSON booleans and numbers instead of strings.
Adjust example JSON output to reflect that.
This commit is contained in:
Wiktor Kwapisiewicz 2017-12-18 12:28:37 +01:00
parent 656aa9b6ed
commit bfa215a8c2
No known key found for this signature in database
GPG Key ID: B97A1EE09DB417EC

View File

@ -89,17 +89,17 @@ GET /api/v1/key?email=user@example.com
{ {
"name": "Jon Smith", "name": "Jon Smith",
"email": "jon@smith.com", "email": "jon@smith.com",
"verified": "true" "verified": true
}, },
{ {
"name": "Jon Smith", "name": "Jon Smith",
"email": "jon@organization.com", "email": "jon@organization.com",
"verified": "false" "verified": false
} }
], ],
"created": "Sat Oct 17 2015 12:17:03 GMT+0200 (CEST)", "created": "Sat Oct 17 2015 12:17:03 GMT+0200 (CEST)",
"algorithm": "rsa_encrypt_sign", "algorithm": "rsa_encrypt_sign",
"keySize": "4096", "keySize": 4096,
"publicKeyArmored": "-----BEGIN PGP PUBLIC KEY BLOCK----- ... -----END PGP PUBLIC KEY BLOCK-----" "publicKeyArmored": "-----BEGIN PGP PUBLIC KEY BLOCK----- ... -----END PGP PUBLIC KEY BLOCK-----"
} }
``` ```