{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dremio Intelligent Lakehouse REST API",
    "version": "3.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Authenticate with username and password and receive a token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api/v3/apiv2/login",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Authenticate with username and password and receive a token"
        }
      ]
    },
    {
      "info": {
        "name": "Catalog",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the catalog for the current Dremio instance",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/catalog",
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Retrieve the catalog for the current Dremio instance"
        },
        {
          "info": {
            "name": "Get a catalog entity by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/catalog/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a catalog entity by ID"
        },
        {
          "info": {
            "name": "Delete a catalog entity",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{hostname}/api/v3/catalog/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a catalog entity"
        },
        {
          "info": {
            "name": "Get a catalog entity by path",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/catalog/by-path/:path",
            "params": [
              {
                "name": "path",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a catalog entity by path"
        }
      ]
    },
    {
      "info": {
        "name": "Jobs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Submit a SQL query as a job",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api/v3/job",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Submit a SQL query as a job"
        },
        {
          "info": {
            "name": "Get job status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/job/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get job status"
        },
        {
          "info": {
            "name": "Fetch results for a completed job",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/job/:id/results",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Fetch results for a completed job"
        },
        {
          "info": {
            "name": "Cancel a running job",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api/v3/job/:id/cancel",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancel a running job"
        }
      ]
    },
    {
      "info": {
        "name": "Reflections",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List reflections",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/reflection"
          },
          "docs": "List reflections"
        },
        {
          "info": {
            "name": "Create a reflection",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api/v3/reflection"
          },
          "docs": "Create a reflection"
        },
        {
          "info": {
            "name": "Get a reflection",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/reflection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a reflection"
        },
        {
          "info": {
            "name": "Update a reflection",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{hostname}/api/v3/reflection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a reflection"
        },
        {
          "info": {
            "name": "Delete a reflection",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{hostname}/api/v3/reflection/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a reflection"
        }
      ]
    },
    {
      "info": {
        "name": "Sources",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List sources",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/source"
          },
          "docs": "List sources"
        }
      ]
    },
    {
      "info": {
        "name": "Scripts",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List SQL scripts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/scripts"
          },
          "docs": "List SQL scripts"
        },
        {
          "info": {
            "name": "Create a SQL script",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api/v3/scripts"
          },
          "docs": "Create a SQL script"
        }
      ]
    },
    {
      "info": {
        "name": "PAT",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List personal access tokens for a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/users/:userId/tokens",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List personal access tokens for a user"
        },
        {
          "info": {
            "name": "Create a personal access token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}/api/v3/users/:userId/tokens",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a personal access token"
        }
      ]
    },
    {
      "info": {
        "name": "Roles",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List roles",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}/api/v3/roles"
          },
          "docs": "List roles"
        }
      ]
    }
  ],
  "bundled": true
}