Nathan Walker

04/06/2021, 4:44 PM
I'm trying to dynamically update a bunch of Flow schedules using API calls. First, is there documentation for the API somewhere? I see it mentioned in the Server docs on occasion, but I want the nitty-gritty -- I have the schema and that's super helpful, but I'd like more. Second, I see that I can set_flow_group_schedule, but that doesn't include Filters. Is there a way to add Filters that I'm just missing? Third, if I want to extend API capabilities and write my own queries/mutations (i.e., adding to the schema), where would I begin looking in to this?


04/06/2021, 4:50 PM
Hi @Nathan Walker! For both Prefect Cloud and Prefect Server we have an interactive API where you can create and test all of your API calls 🚀
That includes all endpoints and all documentation for them
I believe the capability to set default parameters for clocks is supported but I’m not sure filters are just yet?
you might need to open an enhancement issue!
For the last, this largely depends on what you’d like to add!
Pop into #prefect-contributors to brainstorm + share your ideas

Nathan Walker

04/06/2021, 4:56 PM
Excellent, thank you so much, Dylan!