{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mixpanel Warehouse Connectors API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Connectors",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mixpanel List warehouse sources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              }
            ]
          },
          "docs": "Retrieve all warehouse source connections configured for the project."
        },
        {
          "info": {
            "name": "Mixpanel Create warehouse source",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new warehouse source connection for importing data from a data warehouse into Mixpanel."
        },
        {
          "info": {
            "name": "Mixpanel Get warehouse source",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources/:sourceId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "sourceId",
                "value": "",
                "type": "path",
                "description": "The warehouse source connection ID"
              }
            ]
          },
          "docs": "Retrieve details of a specific warehouse source connection."
        },
        {
          "info": {
            "name": "Mixpanel Update warehouse source",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources/:sourceId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "sourceId",
                "value": "",
                "type": "path",
                "description": "The warehouse source connection ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the configuration of an existing warehouse source connection."
        },
        {
          "info": {
            "name": "Mixpanel Delete warehouse source",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources/:sourceId",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "sourceId",
                "value": "",
                "type": "path",
                "description": "The warehouse source connection ID"
              }
            ]
          },
          "docs": "Delete a warehouse source connection and all its import configurations."
        }
      ]
    },
    {
      "info": {
        "name": "Imports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Mixpanel List warehouse tables",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources/:sourceId/tables",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "sourceId",
                "value": "",
                "type": "path",
                "description": "The warehouse source connection ID"
              }
            ]
          },
          "docs": "List all tables configured for import from a warehouse source."
        },
        {
          "info": {
            "name": "Mixpanel List import runs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources/:sourceId/runs",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "sourceId",
                "value": "",
                "type": "path",
                "description": "The warehouse source connection ID"
              }
            ]
          },
          "docs": "Retrieve the import run history for a specific warehouse source."
        },
        {
          "info": {
            "name": "Mixpanel Trigger import run",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://mixpanel.com/api/app/projects/:projectId/warehouse-sources/:sourceId/runs",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "path",
                "description": "The Mixpanel project ID"
              },
              {
                "name": "sourceId",
                "value": "",
                "type": "path",
                "description": "The warehouse source connection ID"
              }
            ]
          },
          "docs": "Manually trigger an import run for a warehouse source connection."
        }
      ]
    }
  ],
  "bundled": true
}