From 613a83b8e47948ffe3f09ef985d7abe25681f290 Mon Sep 17 00:00:00 2001 From: fbock Date: Tue, 18 Jun 2024 10:10:07 +0200 Subject: [PATCH] add mockoon route for taker psbt submission --- taptrade_api_mockoon.json | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/taptrade_api_mockoon.json b/taptrade_api_mockoon.json index 00e1fd1..74fe4e2 100644 --- a/taptrade_api_mockoon.json +++ b/taptrade_api_mockoon.json @@ -200,6 +200,54 @@ } ], "responseMode": null + }, + { + "uuid": "34bda159-89cf-453c-bf5c-fa532b35f202", + "type": "http", + "documentation": "Taker submits the psbt as json to the coordinator. ", + "method": "post", + "endpoint": "submit-taker-psbt", + "responses": [ + { + "uuid": "e9f64b19-94d0-4356-8892-d05466abbc5d", + "body": "", + "latency": 0, + "statusCode": 200, + "label": "Returned if psbt/signature is valid.", + "headers": [], + "bodyType": "INLINE", + "filePath": "", + "databucketID": "", + "sendFileAsBody": false, + "rules": [], + "rulesOperator": "OR", + "disableTemplating": false, + "fallbackTo404": false, + "default": true, + "crudKey": "id", + "callbacks": [] + }, + { + "uuid": "fdfb8fc1-1d54-46fc-b5ad-174f761120c1", + "body": "{}", + "latency": 0, + "statusCode": 406, + "label": "Returned if the signature is invalid or the psbt has been changed ", + "headers": [], + "bodyType": "INLINE", + "filePath": "", + "databucketID": "", + "sendFileAsBody": false, + "rules": [], + "rulesOperator": "OR", + "disableTemplating": false, + "fallbackTo404": false, + "default": false, + "crudKey": "id", + "callbacks": [] + } + ], + "responseMode": null } ], "rootChildren": [ @@ -226,6 +274,10 @@ { "type": "route", "uuid": "cb932396-c73e-4a4c-9f1a-b4de5250cb16" + }, + { + "type": "route", + "uuid": "34bda159-89cf-453c-bf5c-fa532b35f202" } ], "proxyMode": false,