{ "opencollection": "1.0.0", "info": { "name": "TreasurySpring Public Calendar Tasks API", "version": "v0.7.3" }, "items": [ { "info": { "name": "Tasks", "type": "folder" }, "items": [ { "info": { "name": "Get a list of all pending tasks", "type": "http" }, "http": { "method": "GET", "url": "https://api.treasuryspring.com/api/v1/task", "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieves a list of all pending tasks that the user has." }, { "info": { "name": "Get single pending task", "type": "http" }, "http": { "method": "GET", "url": "https://api.treasuryspring.com/api/v1/task/:uid", "params": [ { "name": "uid", "value": "", "type": "path", "description": "Task uid" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieves a pending task by uid." }, { "info": { "name": "Submit a task", "type": "http" }, "http": { "method": "POST", "url": "https://api.treasuryspring.com/api/v1/task/:uid", "params": [ { "name": "uid", "value": "", "type": "path", "description": "Task uid" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Used to approve or deny a pending task." } ] } ], "bundled": true }