From 94c4a21ba6ff56cfbcbb75dd959fff11a0b1f55f Mon Sep 17 00:00:00 2001 From: fritz-astronomer <80706212+fritz-astronomer@users.noreply.github.com> Date: Tue, 27 Feb 2024 14:20:17 -0500 Subject: [PATCH] fix api route in docs --- astronomer_starship/starship_api.py | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/astronomer_starship/starship_api.py b/astronomer_starship/starship_api.py index 3cf16ce..3d61716 100644 --- a/astronomer_starship/starship_api.py +++ b/astronomer_starship/starship_api.py @@ -107,7 +107,7 @@ def health(self) -> str: --- - ### `GET /starship/api/health` + ### `GET /api/starship/health` **Parameters:** None @@ -130,7 +130,7 @@ def airflow_version(self) -> str: --- - ### `GET /starship/api/airflow_version` + ### `GET /api/starship/airflow_version` **Parameters:** None @@ -150,7 +150,7 @@ def env_vars(self): --- - ### `GET /starship/api/env_vars` + ### `GET /api/starship/env_vars` **Parameters:** None @@ -179,7 +179,7 @@ def pools(self): --- - ### GET /starship/api/pools + ### GET /api/starship/pools **Parameters:** None @@ -195,7 +195,7 @@ def pools(self): ] ``` - ### POST /starship/api/pools + ### POST /api/starship/pools **Parameters:** JSON @@ -227,7 +227,7 @@ def variables(self): --- - ### `GET /starship/api/variable` + ### `GET /api/starship/variable` **Parameters:** None @@ -243,7 +243,7 @@ def variables(self): ] ``` - ### `POST /starship/api/variable` + ### `POST /api/starship/variable` **Parameters:** JSON @@ -274,7 +274,7 @@ def connections(self): --- - ### `GET /starship/api/connection` + ### `GET /api/starship/connection` **Parameters:** None @@ -299,7 +299,7 @@ def connections(self): ] ``` - ### `POST /starship/api/connection` + ### `POST /api/starship/connection` **Parameters:** JSON @@ -336,7 +336,7 @@ def dags(self): --- - ### `GET /starship/api/dags` + ### `GET /api/starship/dags` **Parameters:** None @@ -357,7 +357,7 @@ def dags(self): ] ``` - ### `PATCH /starship/api/dags` + ### `PATCH /api/starship/dags` **Parameters:** JSON @@ -392,7 +392,7 @@ def dag_runs(self): --- - ### `GET /starship/api/dag_runs` + ### `GET /api/starship/dag_runs` **Parameters:** Args @@ -426,7 +426,7 @@ def dag_runs(self): ] ``` - ### `POST /starship/api/dag_runs` + ### `POST /api/starship/dag_runs` **Parameters:** JSON @@ -480,7 +480,7 @@ def task_instances(self): --- - ### `GET /starship/api/task_instances` + ### `GET /api/starship/task_instances` **Parameters:** Args @@ -517,7 +517,7 @@ def task_instances(self): } ``` - ### `POST /starship/api/task_instances` + ### `POST /api/starship/task_instances` **Parameters:** JSON