{ "uuid": "7f0e6404-7297-4249-acc9-aabb8c8257ca", "lastMigration": 32, "name": "Taptrade api", "endpointPrefix": "", "latency": 0, "port": 9999, "hostname": "", "folders": [], "routes": [ { "uuid": "7cdc672a-d43a-41f2-a10b-630306bf1d03", "type": "http", "documentation": "Receives OrderRequest Json and returns OfferCreationResponse on success", "method": "post", "endpoint": "create-offer", "responses": [ { "uuid": "a746f8e0-fdda-4086-b3a3-1bf65ba7bdb3", "body": "{\n \"bond_address\": \"tb1pfdvgfzwp8vhmelpv8w9kezz7nsmxw68jz6yehgze6mzx0t6r9t2qv9ynmm\",\n \"locking_amount\": 69420\n}", "latency": 0, "statusCode": 200, "label": "", "headers": [], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id", "callbacks": [] } ], "responseMode": null }, { "uuid": "bb20e299-c097-4555-aa5c-7c2975e65c48", "type": "http", "documentation": "", "method": "post", "endpoint": "submit-maker-bond", "responses": [ { "uuid": "f39116ac-02ab-4e7c-91ed-666cac6a5a47", "body": "{\n \"order_id_hex\": \"37346634343237352D373930622D343631342D626139332D656366373235653036383763\",\n \"bond_locked_until_timestamp\": 1725184724\n}", "latency": 0, "statusCode": 200, "label": "", "headers": [], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id", "callbacks": [] } ], "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": [ { "type": "route", "uuid": "7cdc672a-d43a-41f2-a10b-630306bf1d03" }, { "type": "route", "uuid": "bb20e299-c097-4555-aa5c-7c2975e65c48" }, { "type": "route", "uuid": "ad35d2da-7b97-4a27-9693-ee42deef7d45" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Access-Control-Allow-Origin", "value": "*" }, { "key": "Access-Control-Allow-Methods", "value": "GET,POST,PUT,PATCH,DELETE,HEAD,OPTIONS" }, { "key": "Access-Control-Allow-Headers", "value": "Content-Type, Origin, Accept, Authorization, Content-Length, X-Requested-With" } ], "proxyReqHeaders": [ { "key": "", "value": "" } ], "proxyResHeaders": [ { "key": "", "value": "" } ], "data": [], "callbacks": [] }