Creating a Connection via REST API - correctly handling extras #31962
Answered
by
potiuk
andersbogsnes
asked this question in
Q&A
-
|
I'm trying to get the correct format for posting a Kubernetes Connection to the REST endpoint - the endpoint expects a string for the "extra" field, but I can't work out how to stringify properly and also have Airflow read the variable correctly. Is there any documentation on how this should be done? |
Beta Was this translation helpful? Give feedback.
Answered by
potiuk
Jun 16, 2023
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
andersbogsnes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html#generating-a-connection-uri