DELETE /limbo/:txid requires you to specify the ID of the transaction, but the ID isn't present in the response of /limbo, which means you either need to track it independently, or recompute the ID using the transaction object (which is rather difficult if you're not using Go).
PUT /limbo/:txid suffers from the same problem, although I suppose we could alleviate it by switching the endpoint to POST /limbo.
The most generic solution would be a /txid method that computes and returns the ID of the transaction supplied in the request body. But I dunno, it feels like overkill to add an endpoint that just calls a method on the provided object.
DELETE /limbo/:txidrequires you to specify the ID of the transaction, but the ID isn't present in the response of/limbo, which means you either need to track it independently, or recompute the ID using the transaction object (which is rather difficult if you're not using Go).PUT /limbo/:txidsuffers from the same problem, although I suppose we could alleviate it by switching the endpoint toPOST /limbo.The most generic solution would be a
/txidmethod that computes and returns the ID of the transaction supplied in the request body. But I dunno, it feels like overkill to add an endpoint that just calls a method on the provided object.