Skip to content

Commit 6dc901b

Browse files
Adds Queries to side navigation an reorganizes the List Queries to appear after Create
1 parent 490bacf commit 6dc901b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

content/terraform-docs-common/data/cloud-docs-nav-data.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@
809809
},
810810
{ "title": "Projects", "path": "api-docs/projects" },
811811
{ "title": "Project team access", "path": "api-docs/project-team-access" },
812+
{ "title": "Queries", "path": "api-docs/queries" },
812813
{ "title": "Reserved tag keys", "path": "api-docs/reserved-tag-keys"},
813814
{ "title": "Runs", "path": "api-docs/run" },
814815
{

content/terraform-docs-common/docs/cloud-docs/api-docs/queries/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ The scope of the API includes the following endpoints:
3535
| Method | Path | Action |
3636
|----------|-------------------------------------------------- |------------------------------------------------------------------------------------------------------------|
3737
| `POST` | `/queries` | Call this endpoint to [create a query run](#create-a-query-run). |
38+
| `GET` | `/workspaces/:workspace_id/queries` | Call this endpoint to [list query runs for a workspace](#list-query-runs-for-a-workspace). |
3839
| `GET` | `/queries/:query_id` | Call this endpoint to [show a query run](#show-a-query-run). |
3940
| `POST` | `/queries/:query_id/actions/cancel` | Call this endpoint to [cancel a query run](#cancel-a-query-run). |
40-
| `GET` | `/workspaces/:workspace_id/queries` | Call this endpoint to [list query runs for a workspace](#list-query-runs-for-a-workspace). |
41+
4142

4243
## Create a query run
4344

0 commit comments

Comments
 (0)