Skip to content

Make transaction IDs more accessible #1

@lukechampine

Description

@lukechampine

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions