{
  "opencollection": "1.0.0",
  "info": {
    "name": "Snowflake View API",
    "version": "0.0.1"
  },
  "items": [
    {
      "info": {
        "name": "view",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Views",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://org-account.snowflakecomputing.com/api/v2/databases/:database/schemas/:schema/views",
            "params": [
              {
                "name": "deep",
                "value": "true",
                "type": "query",
                "description": "Optionally includes dependency information of the view."
              }
            ]
          },
          "docs": "List views"
        },
        {
          "info": {
            "name": "Create a View",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://org-account.snowflakecomputing.com/api/v2/databases/:database/schemas/:schema/views",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a view"
        },
        {
          "info": {
            "name": "Fetch a View",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://org-account.snowflakecomputing.com/api/v2/databases/:database/schemas/:schema/views/:name"
          },
          "docs": "Fetch a view"
        },
        {
          "info": {
            "name": "Delete a View",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://org-account.snowflakecomputing.com/api/v2/databases/:database/schemas/:schema/views/:name"
          },
          "docs": "Delete a view"
        },
        {
          "info": {
            "name": "Set tags on a view.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://org-account.snowflakecomputing.com/api/v2/databases/:database/schemas/:schema/views/:name:set-tags",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Set tags on a view."
        },
        {
          "info": {
            "name": "Unset tags from a view.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://org-account.snowflakecomputing.com/api/v2/databases/:database/schemas/:schema/views/:name:unset-tags",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unset tags from a view."
        },
        {
          "info": {
            "name": "Get the tag assignments for a view.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://org-account.snowflakecomputing.com/api/v2/databases/:database/schemas/:schema/views/:name:get-tags"
          },
          "docs": "Returns all tags assigned to a view. This operation requires an active warehouse."
        }
      ]
    }
  ],
  "bundled": true
}