diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-08-08 21:19:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-08-08 21:19:29 +0200 |
commit | 37d403bbe04e49445dc697ecfab23dcdb115fe1d (patch) | |
tree | e00c664b8ff1a08984901ee8ae7550e6e41a4aa0 /api-mint.rst | |
parent | 95afc65ab01fec2c22e8555af69ba386233c80b2 (diff) | |
download | docs-37d403bbe04e49445dc697ecfab23dcdb115fe1d.tar.gz docs-37d403bbe04e49445dc697ecfab23dcdb115fe1d.tar.bz2 docs-37d403bbe04e49445dc697ecfab23dcdb115fe1d.zip |
document other API return values
Diffstat (limited to 'api-mint.rst')
-rw-r--r-- | api-mint.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api-mint.rst b/api-mint.rst index 1248b395..3f6db4d4 100644 --- a/api-mint.rst +++ b/api-mint.rst @@ -346,6 +346,10 @@ However, the new coins are linkable from the private keys of all old coins using :status 403 Forbidden: The operation is not allowed as (at least) one of the coins has insufficient funds. :resheader Content-Type: application/json :>json string error: the value is "insufficient funds" + :>json base32 coin_pub: public key of a melted coin that had insufficient funds + :>json amount original_value: original (total) value of the coin + :>json amount residual_value: remaining value of the coin + :>json amount requested_value: amount of the coin's value that was to be melted :>json array history: the transaction list of the respective coin that failed to have sufficient funds left. The format is the same as for insufficient fund reports during /deposit. Note that only the transaction history for one bogus coin is given, even if multiple coins would have failed the check. **Failure response: Unknown denomination key** |