invokeRestApi
Invokes the Apache Airflow REST API on the webserver with the specified inputs. To learn more, see Using the Apache Airflow REST API
Samples
// Listing Airflow variables.
val resp = mwaaClient.invokeRestApi {
name = "MyEnvironment"
path = "/variables"
method = RestApiMethod.fromValue("GET")
}Content copied to clipboard