{
  "opencollection": "1.0.0",
  "info": {
    "name": "Radar Addresses Trips API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Trips",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List trips.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.radar.io/v1/trips",
            "params": [
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "Optional trip status to filter (started, approaching, arrived, completed, canceled, expired)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Lists trips, sorted by creation date descending."
        },
        {
          "info": {
            "name": "Get a trip.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.radar.io/v1/trips/:externalId",
            "params": [
              {
                "name": "externalId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieves a trip by external ID."
        },
        {
          "info": {
            "name": "Create or update a trip.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.radar.io/v1/trips/:externalId",
            "params": [
              {
                "name": "externalId",
                "value": "",
                "type": "path",
                "description": "The external ID that uniquely identifies the trip."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates or updates a trip identified by an external ID."
        },
        {
          "info": {
            "name": "Update a trip.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.radar.io/v1/trips/:externalId",
            "params": [
              {
                "name": "externalId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the status or metadata of an existing trip."
        }
      ]
    }
  ],
  "bundled": true
}