Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/cli/commands/eventhouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/eventhouses/{eventhouse_id}/getDefinition
method: get
method: post
description: Get the definition of an eventhouse.
panel: EventhouseDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/eventstream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/eventstreams/{eventstream_id}/getDefinition
method: get
method: post
description: Get the definition of an eventstream.
panel: EventstreamDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/kql_dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/kqlDashboards/{kql_dashboard_id}/getDefinition
method: get
method: post
description: Get the definition of a kql dashboard.
panel: KqlDashboardDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/kql_database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/kqlDatabases/{kql_database_id}/getDefinition
method: get
method: post
description: Get the definition of a kql database.
panel: KqlDatabaseDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/kql_queryset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/kqlQuerysets/{kql_queryset_id}/getDefinition
method: get
method: post
description: Get the definition of a kql queryset.
panel: KqlQuerysetDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/mirrored_database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/mirroredDatabases/{mirrored_database_id}/getDefinition
method: get
method: post
description: Get the definition of a mirrored database.
panel: mirroredDatabaseDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/notebook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/notebooks/{notebook_id}/getDefinition
method: get
method: post
description: Get the definition of a notebook.
panel: NotebookDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/reflex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/reflexes/{reflex_id}/getDefinition
method: get
method: post
description: Get the definition of a reflex.
panel: reflexDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/reports/{report_id}/getDefinition
method: get
method: post
description: Get the definition of a report.
panel: reportDefinition
args:
Expand Down
2 changes: 1 addition & 1 deletion scripts/cli/commands/spark_job_definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subcommands:

get-definition:
endpoint: workspaces/{workspace_id}/sparkJobDefinitions/{spark_job_definition_id}/getDefinition
method: get
method: post
description: Get the definition of a spark job definition.
panel: Spark Job Definition
args:
Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/eventhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def eventhouse_get_definition(
url = f"{url}format={format}&"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/eventstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def eventstream_get_definition(
url = f"{url}format={format}&"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/kql_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def kql_dashboard_get_definition(
url = f"{url}?"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/kql_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def kql_database_get_definition(
url = f"{url}?"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/kql_queryset.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def kql_queryset_get_definition(
url = f"{url}?"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/mirrored_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def mirrored_database_get_definition(
url = f"{url}?"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def notebook_get_definition(
url = f"{url}format={format}&"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/reflex.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def reflex_get_definition(
url = f"{url}format={format}&"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def report_get_definition(
url = f"{url}format={format}&"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down
2 changes: 1 addition & 1 deletion src/msfabricutils/rest_api/spark_job_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def spark_job_definition_get_definition(
url = f"{url}?"
url = url.rstrip("&?")

method = "get"
method = "post"
token = get_fabric_bearer_token()
headers = {"Content-Type": "application/json", "Authorization": f"Bearer {token}"}

Expand Down