mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-21 02:03:17 +00:00
add offertakenrequest route to mockoon
This commit is contained in:
2
docs/TapTrade_obs/.obsidian/graph.json
vendored
2
docs/TapTrade_obs/.obsidian/graph.json
vendored
@ -17,6 +17,6 @@
|
|||||||
"repelStrength": 10,
|
"repelStrength": 10,
|
||||||
"linkStrength": 1,
|
"linkStrength": 1,
|
||||||
"linkDistance": 250,
|
"linkDistance": 250,
|
||||||
"scale": 5.514946953973566,
|
"scale": 4.795555270105169,
|
||||||
"close": true
|
"close": true
|
||||||
}
|
}
|
40
docs/TapTrade_obs/.obsidian/workspace.json
vendored
40
docs/TapTrade_obs/.obsidian/workspace.json
vendored
@ -4,18 +4,21 @@
|
|||||||
"type": "split",
|
"type": "split",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "9151bc6da6fbbb91",
|
"id": "3311294fa81f4fbe",
|
||||||
"type": "tabs",
|
"type": "tabs",
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": "bdb9fd88a01a8909",
|
"id": "98e8706e39a96828",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "markdown",
|
"type": "canvas",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md",
|
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||||
"mode": "source",
|
"viewState": {
|
||||||
"source": false
|
"x": 292.40347373796766,
|
||||||
|
"y": 677.9895725137358,
|
||||||
|
"zoom": -0.35245157877604133
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -85,7 +88,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "backlink",
|
"type": "backlink",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md",
|
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||||
"collapseAll": false,
|
"collapseAll": false,
|
||||||
"extraContext": false,
|
"extraContext": false,
|
||||||
"sortOrder": "alphabetical",
|
"sortOrder": "alphabetical",
|
||||||
@ -102,7 +105,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outgoing-link",
|
"type": "outgoing-link",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md",
|
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||||
"linksCollapsed": false,
|
"linksCollapsed": false,
|
||||||
"unlinkedCollapsed": true
|
"unlinkedCollapsed": true
|
||||||
}
|
}
|
||||||
@ -125,7 +128,7 @@
|
|||||||
"state": {
|
"state": {
|
||||||
"type": "outline",
|
"type": "outline",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "Research/Bitcoin fundamentals/Knowledge sources.md"
|
"file": "Research/Trade Pipelines/new concepts/concept pipeline 1.canvas"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,23 +149,24 @@
|
|||||||
"command-palette:Open command palette": false
|
"command-palette:Open command palette": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"active": "bdb9fd88a01a8909",
|
"active": "98e8706e39a96828",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
|
"Research/Trade Pipelines/new concepts/concept locking script 1.canvas",
|
||||||
|
"Research/Bitcoin fundamentals/Signature and Flags.canvas",
|
||||||
|
"Research/Bitcoin fundamentals/Knowledge sources.md",
|
||||||
|
"Research/Implementation/CLI demonstrator architecture/demonstrator architecture.canvas",
|
||||||
|
"Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
||||||
|
"Research/Implementation/Libraries.md",
|
||||||
|
"Research/Implementation/BDK.md",
|
||||||
|
"Research/Implementation/UI ideas.canvas",
|
||||||
|
"Research/Trade Pipelines/Existing research.md",
|
||||||
"Research/Bitcoin fundamentals/Taproot output structure.canvas",
|
"Research/Bitcoin fundamentals/Taproot output structure.canvas",
|
||||||
"Research/Bitcoin fundamentals/Spending Taproot UTXOs.md",
|
"Research/Bitcoin fundamentals/Spending Taproot UTXOs.md",
|
||||||
"Research/Trade Pipelines/new concepts/concept pipeline 1.canvas",
|
|
||||||
"Research/Trade Pipelines/new concepts/concept locking script 1.canvas",
|
|
||||||
"Research/Bitcoin fundamentals/Knowledge sources.md",
|
|
||||||
"assets/Pasted image 20240611120722.png",
|
"assets/Pasted image 20240611120722.png",
|
||||||
"assets/Pasted image 20240611105421.png",
|
"assets/Pasted image 20240611105421.png",
|
||||||
"assets/ptlc2.png",
|
"assets/ptlc2.png",
|
||||||
"assets/ptlc.png",
|
"assets/ptlc.png",
|
||||||
"Research/Trade Pipelines/current trade flow.canvas",
|
"Research/Trade Pipelines/current trade flow.canvas",
|
||||||
"Research/Implementation/Libraries.md",
|
|
||||||
"Research/Bitcoin fundamentals/Signature and Flags.canvas",
|
|
||||||
"Research/Implementation/CLI demonstrator architecture/demonstrator architecture.canvas",
|
|
||||||
"Research/Implementation/UI ideas.canvas",
|
|
||||||
"Research/Trade Pipelines/Existing research.md",
|
|
||||||
"Research/Implementation/CLI demonstrator architecture",
|
"Research/Implementation/CLI demonstrator architecture",
|
||||||
"Research/Trade Pipelines/new concepts/Untitled.md"
|
"Research/Trade Pipelines/new concepts/Untitled.md"
|
||||||
]
|
]
|
||||||
|
@ -65,6 +65,54 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"responseMode": null
|
"responseMode": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "ad35d2da-7b97-4a27-9693-ee42deef7d45",
|
||||||
|
"type": "http",
|
||||||
|
"documentation": "",
|
||||||
|
"method": "post",
|
||||||
|
"endpoint": "request-offer-status",
|
||||||
|
"responses": [
|
||||||
|
{
|
||||||
|
"uuid": "03cbf2fb-b431-44bb-b19f-a4302118de52",
|
||||||
|
"body": "{\n \"trade_psbt_hex_to_sign\": \"DEADBEEF\",\n}",
|
||||||
|
"latency": 0,
|
||||||
|
"statusCode": 200,
|
||||||
|
"label": "Returned of the offer has been taken",
|
||||||
|
"headers": [],
|
||||||
|
"bodyType": "INLINE",
|
||||||
|
"filePath": "",
|
||||||
|
"databucketID": "",
|
||||||
|
"sendFileAsBody": false,
|
||||||
|
"rules": [],
|
||||||
|
"rulesOperator": "OR",
|
||||||
|
"disableTemplating": false,
|
||||||
|
"fallbackTo404": false,
|
||||||
|
"default": true,
|
||||||
|
"crudKey": "id",
|
||||||
|
"callbacks": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "9ada9097-97e3-40c3-b0cf-d0eec3587027",
|
||||||
|
"body": "{}",
|
||||||
|
"latency": 0,
|
||||||
|
"statusCode": 204,
|
||||||
|
"label": "Returned if the requested offer is not yet taken",
|
||||||
|
"headers": [],
|
||||||
|
"bodyType": "INLINE",
|
||||||
|
"filePath": "",
|
||||||
|
"databucketID": "",
|
||||||
|
"sendFileAsBody": false,
|
||||||
|
"rules": [],
|
||||||
|
"rulesOperator": "OR",
|
||||||
|
"disableTemplating": false,
|
||||||
|
"fallbackTo404": false,
|
||||||
|
"default": false,
|
||||||
|
"crudKey": "id",
|
||||||
|
"callbacks": []
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"responseMode": null
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"rootChildren": [
|
"rootChildren": [
|
||||||
@ -75,6 +123,10 @@
|
|||||||
{
|
{
|
||||||
"type": "route",
|
"type": "route",
|
||||||
"uuid": "bb20e299-c097-4555-aa5c-7c2975e65c48"
|
"uuid": "bb20e299-c097-4555-aa5c-7c2975e65c48"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "route",
|
||||||
|
"uuid": "ad35d2da-7b97-4a27-9693-ee42deef7d45"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"proxyMode": false,
|
"proxyMode": false,
|
||||||
|
Reference in New Issue
Block a user