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:
parent
656aa9b6ed
commit
bfa215a8c2
@ -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-----"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user