{
  "opencollection": "1.0.0",
  "info": {
    "name": "Prefect Cloud Account Billing Block documents API",
    "version": "0.8.4"
  },
  "items": [
    {
      "info": {
        "name": "Block documents",
        "type": "folder"
      },
      "items": [
        {
          "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": "Create Block Document",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new block document.\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Create Or Update Block Document",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Read Block Documents",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/filter",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Query for block documents.\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Count Block Documents",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/count",
            "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": "Count block documents.\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Read Block Document By Id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/:id",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block document id"
              },
              {
                "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": "Update Block Document Data",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/:id",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block document id"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Delete Block Document",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/:id",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block document id"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Read Block Document Access",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/:id/access",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block_document id"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Read access controls for a block_document.\n\nRequired workspace scopes: `see_blocks`"
        },
        {
          "info": {
            "name": "Set Block Document Access",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/:id/access",
            "headers": [
              {
                "name": "x-prefect-api-version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The block_document id"
              },
              {
                "name": "account_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "workspace_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Set access controls for a block document.\nThe given access controls will replace any existing access controls.\n\nRequired workspace scopes: `manage_blocks`"
        },
        {
          "info": {
            "name": "Read Actors Block Document Access",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/api/accounts/:account_id/workspaces/:workspace_id/block_documents/my-access",
            "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": "Read access controls for a set of block documents and return the resolved\naccess levels for the current actor.\n\nRequired workspace scopes: `see_blocks`"
        }
      ]
    }
  ],
  "bundled": true
}