prefect.server.api.block_schemas
Routes for interacting with block schema objects.
delete_block_schema(block_schema_id=Path(..., description='The block schema id', alias='id'), db=Depends(provide_database_interface), api_version=Depends(dependencies.provide_request_api_version))
async
Delete a block schema by id.
Source code in src/prefect/server/api/block_schemas.py
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
|
read_block_schema_by_id(block_schema_id=Path(..., description='The block schema id', alias='id'), db=Depends(provide_database_interface))
async
Get a block schema by id.
Source code in src/prefect/server/api/block_schemas.py
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
|
read_block_schemas(block_schemas=None, limit=dependencies.LimitBody(), offset=Body(0, ge=0), db=Depends(provide_database_interface))
async
Read all block schemas, optionally filtered by type
Source code in src/prefect/server/api/block_schemas.py
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
|