Skip to content

Commit 5ae5439

Browse files
authored
Fixing REST API links
Not fixing it blocks merge.
1 parent a7f2553 commit 5ae5439

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/content/docs/workflows/build/trigger-workflows.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sidebar:
99
You can trigger Workflows both programmatically and via the Workflows APIs, including:
1010

1111
1. With [Workers](/workers) via HTTP requests in a `fetch` handler, or bindings from a `queue` or `scheduled` handler
12-
2. Using the [Workflows REST API](/api/paths/accounts-account_id--workflows/get)
12+
2. Using the [Workflows REST API](/api/operations/wor-list-workflows)
1313
2. Via the [wrangler CLI](/workers/wrangler/commands/#workflows) in your terminal
1414

1515
## Workers API (Bindings)
@@ -166,7 +166,7 @@ Restarting an instance will immediately cancel any in-progress steps, erase any
166166

167167
## REST API (HTTP)
168168

169-
Refer to the [Workflows REST API documentation](/api/paths/accounts-account_id--workflows--workflow_name--instances/post).
169+
Refer to the [Workflows REST API documentation](/api/operations/wor-create-new-workflow-instance).
170170

171171
## Command line (CLI)
172172

src/content/docs/workflows/get-started/cli-quick-start.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ npx wrangler@latest deploy
155155

156156
## 3. Run a Workflow
157157

158-
You can run a Workflow via the `wrangler` CLI, via a Worker binding, or via the Workflows [REST API](/api/paths/accounts-account_id--workflows/get).
158+
You can run a Workflow via the `wrangler` CLI, via a Worker binding, or via the Workflows [REST API](/api/operations/wor-list-workflows).
159159

160160
### `wrangler` CLI
161161

src/content/docs/workflows/get-started/guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ We have a very basic Workflow definition, but now need to provide a way to call
179179
1. External HTTP requests via a `fetch()` handler
180180
2. Messages from a [Queue](/queues/)
181181
3. A schedule via [Cron Trigger](/workers/configuration/cron-triggers/)
182-
4. Via the [Workflows REST API](/api/paths/accounts-account_id--workflows/get) or [wrangler CLI](/workers/wrangler/commands/#workflows)
182+
4. Via the [Workflows REST API](/api/operations/wor-list-workflows) or [wrangler CLI](/workers/wrangler/commands/#workflows)
183183

184184
Return to the `src/index.ts` file we created in the previous step and add a `fetch` handler that _binds_ to our Workflow. This binding allows us to create new Workflow instances, fetch the status of an existing Workflow, pause and/or terminate a Workflow.
185185

0 commit comments

Comments
 (0)