prefect.server.api.block_documents
Routes for interacting with block objects.
count_block_documents(block_documents=None, block_types=None, block_schemas=None, db=Depends(provide_database_interface))
async
Count block documents.
Source code in src/prefect/server/api/block_documents.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
|
create_block_document(block_document, db=Depends(provide_database_interface))
async
Create a new block document.
Source code in src/prefect/server/api/block_documents.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
read_block_documents(limit=dependencies.LimitBody(), block_documents=None, block_types=None, block_schemas=None, include_secrets=Body(False, description='Whether to include sensitive values in the block document.'), sort=Body(schemas.sorting.BlockDocumentSort.NAME_ASC), offset=Body(0, ge=0), db=Depends(provide_database_interface))
async
Query for block documents.
Source code in src/prefect/server/api/block_documents.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
|