{ "opencollection": "1.0.0", "info": { "name": "Tweed assets contracts API", "version": "1.0" }, "items": [ { "info": { "name": "contracts", "type": "folder" }, "items": [ { "info": { "name": "Get contract by ID", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/contracts/:contractId", "params": [ { "name": "contractId", "value": "", "type": "path" } ] }, "docs": "Get contract by ID" }, { "info": { "name": "Get all contracts", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/v1/contracts" }, "docs": "Get all contracts" }, { "info": { "name": "Add contract", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/contracts/add", "body": { "type": "json", "data": "{}" } }, "docs": "Add contract" }, { "info": { "name": "Add contract function", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/v1/contracts/add-contract-function", "body": { "type": "json", "data": "{}" } }, "docs": "Add contract function" }, { "info": { "name": "Delete contract", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/v1/contracts/contract/:contractId", "params": [ { "name": "contractId", "value": "", "type": "path" } ] }, "docs": "Delete contract" } ] } ], "bundled": true }