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