{
  "opencollection": "1.0.0",
  "info": {
    "name": "Uber Direct API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://auth.uber.com/oauth/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Create a delivery quote",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.uber.com/v1/customers/:customer_id/delivery_quotes",
        "params": [
          {
            "name": "customer_id",
            "value": "",
            "type": "path"
          }
        ],
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create a delivery quote"
    },
    {
      "info": {
        "name": "List deliveries",
        "type": "http"
      },
      "http": {
        "method": "GET",
        "url": "https://api.uber.com/v1/customers/:customer_id/deliveries",
        "params": [
          {
            "name": "customer_id",
            "value": "",
            "type": "path"
          },
          {
            "name": "limit",
            "value": "",
            "type": "query"
          },
          {
            "name": "offset",
            "value": "",
            "type": "query"
          },
          {
            "name": "filter",
            "value": "",
            "type": "query"
          }
        ]
      },
      "docs": "List deliveries"
    },
    {
      "info": {
        "name": "Create a delivery",
        "type": "http"
      },
      "http": {
        "method": "POST",
        "url": "https://api.uber.com/v1/customers/:customer_id/deliveries",
        "params": [
          {
            "name": "customer_id",
            "value": "",
            "type": "path"
          }
        ],
        "body": {
          "type": "json",
          "data": "{}"
        }
      },
      "docs": "Create a delivery"
    }
  ],
  "bundled": true
}