{
  "opencollection": "1.0.0",
  "info": {
    "name": "Prefect Cloud Account Billing Block types API",
    "version": "0.8.4"
  },
  "items": [
    {
      "info": {
        "name": "Block types",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create Block Type",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new block type\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Read Block Type By Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/:id",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block type ID"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a block type by ID.\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Update Block Type",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/:id",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block type ID"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a block type.\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Delete Block Type",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/:id",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block type ID"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Read Block Type By Slug",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/slug/:slug",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "The block type name"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get a block type by name.\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Read Block Types",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/filter",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Gets all block types. Optionally limit return with limit and offset.\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Read Block Documents For Block Type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/slug/:slug/block_documents",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "The block type name"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "include_secrets",
                "value": "",
                "type": "query",
                "description": "Whether to include sensitive values in the block document."
              }
            ]
          },
          "docs": "\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Read Block Document By Name For Block Type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/slug/:slug/block_documents/name/:block_document_name",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "slug",
                "value": "",
                "type": "path",
                "description": "The block type name"
              },
              {
                "name": "block_document_name",
                "value": "",
                "type": "path",
                "description": "The block type name"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "include_secrets",
                "value": "",
                "type": "query",
                "description": "Whether to include sensitive values in the block document."
              }
            ]
          },
          "docs": "\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Install System Block Types",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_types/install_system_block_types",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "\n\nRequired workspace scopes: `manage_blocks`"
        }
      ]
    }
  ],
  "bundled": true
}