{ "opencollection": "1.0.0", "info": { "name": "Thumbtack Demand Authentication Orders API", "version": "4.0.0-draft" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Orders", "type": "folder" }, "items": [ { "info": { "name": "List on-demand service orders (v4, OAuth 2.0)", "type": "http" }, "http": { "method": "GET", "url": "https://api.thumbtack.com/v4/orders", "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.thumbtack.com/v4/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "List on-demand service orders (v4, OAuth 2.0)" }, { "info": { "name": "Create an on-demand service order (v4, OAuth 2.0)", "type": "http" }, "http": { "method": "POST", "url": "https://api.thumbtack.com/v4/orders", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.thumbtack.com/v4/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create an on-demand service order (v4, OAuth 2.0)" }, { "info": { "name": "Retrieve the status of an on-demand service order", "type": "http" }, "http": { "method": "GET", "url": "https://api.thumbtack.com/v4/orders/:orderId", "params": [ { "name": "orderId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.thumbtack.com/v4/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Retrieve the status of an on-demand service order" }, { "info": { "name": "Update an on-demand service order", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.thumbtack.com/v4/orders/:orderId", "params": [ { "name": "orderId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.thumbtack.com/v4/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Update an on-demand service order" }, { "info": { "name": "Cancel an on-demand service order", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.thumbtack.com/v4/orders/:orderId", "params": [ { "name": "orderId", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://api.thumbtack.com/v4/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Cancel an on-demand service order" } ] } ], "bundled": true }