prefect.server.api.admin
¶
Routes for admin-level interactions with the Prefect REST API.
clear_database
async
¶
Clear all database tables without dropping them.
Source code in prefect/server/api/admin.py
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|
create_database
async
¶
Create all database objects.
Source code in prefect/server/api/admin.py
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
|
drop_database
async
¶
Drop all database objects.
Source code in prefect/server/api/admin.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
read_settings
async
¶
Get the current Prefect REST API settings.
Secret setting values will be obfuscated.
Source code in prefect/server/api/admin.py
15 16 17 18 19 20 21 22 |
|
read_version
async
¶
Returns the Prefect version number
Source code in prefect/server/api/admin.py
25 26 27 28 |
|