Skip to content

Commit 0e66e32

Browse files
committed
Fixing broken links
1 parent e69e9f8 commit 0e66e32

37 files changed

+151
-153
lines changed

docs-v2/pages/cli/reference.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ You can also run `pd signup -p <profile>` if you'd like to sign up for a new Pip
304304

305305
If you're working with resources in an [workspace](/workspaces/), you'll need to add an `org_id` to your profile.
306306

307-
1. [Retrieve your workspaces's ID](/workspaces/#finding-your-workspace-s-id)
307+
1. [Retrieve your workspaces's ID](/workspaces/#finding-your-workspaces-id)
308308
2. Open up your [Pipedream config file](#cli-config-file) and create a new [profile](#profiles) with the following information:
309309

310310
```bash

docs-v2/pages/code/nodejs/delay.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ import VideoPlayer from '@/components/VideoPlayer'
55

66
<VideoPlayer title="Delaying Workflow Steps" src="https://www.youtube.com/embed/IBORwBnIZ-k" startAt="148" />
77

8-
Use `$.flow.delay` to [delay a step in a workflow](/workflows/flow-control/#delay).
9-
10-
These docs show you how to write Node.js code to handle delays. If you don't need to write code, see [our built-in delay actions](/workflows/flow-control/#delay-actions).
11-
8+
Use `$.flow.delay` to [delay a step in a workflow](/workflows/control-flow/delay).
129

10+
These docs show you how to write Node.js code to handle delays. If you don't need to write code, see [our built-in delay actions](/workflows/control-flow/delay#delay-actions).
1311

1412
## Using `$.flow.delay`
1513

@@ -96,7 +94,7 @@ export default defineComponent({
9694
9795
## When delays happen
9896
99-
**Pipedream pauses your workflow at the _end_ of the step where you call `$.flow.delay`**. This lets you [send the `cancel_url` and `resume_url` to third-party systems](#cancel-url-and-resume-url).
97+
**Pipedream pauses your workflow at the _end_ of the step where you call `$.flow.delay`**. This lets you [send the `cancel_url` and `resume_url` to third-party systems](#cancel_url-and-resume_url).
10098
10199
```javascript
102100
export default defineComponent({

docs-v2/pages/code/nodejs/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ This defines [a Node.js component](/components/api/). Components let you:
170170

171171
- Pass input to steps using [props](/code/nodejs/#passing-props-to-code-steps)
172172
- [Connect an account to a step](/connected-accounts/#from-a-code-step)
173-
- [Issue HTTP responses](/workflows/steps/triggers/#http-responses)
173+
- [Issue HTTP responses](/workflows/triggers/#http-responses)
174174
- Perform workflow-level flow control, like [ending a workflow early](#ending-a-workflow-early)
175175

176176
When the step runs, Pipedream executes the `run` method:
@@ -190,7 +190,7 @@ export default defineComponent({
190190
});
191191
```
192192

193-
When you [connect an account to a step](/connected-accounts/#from-a-code-step), Pipedream exposes the auth info in the variable [`this.appName.$auth`](/code/nodejs/auth/#accessing-connected-account-data-with-this-appname-auth).
193+
When you [connect an account to a step](/connected-accounts/#from-a-code-step), Pipedream exposes the auth info in the variable [`this.appName.$auth`](/code/nodejs/auth/#accessing-connected-account-data-with-thisappnameauth).
194194

195195
## Logs
196196

@@ -344,13 +344,13 @@ Within a step, the [normal rules of JavaScript variable scope](https://developer
344344
There are two ways to make HTTP requests in code steps:
345345

346346
- Use any HTTP client that works with Node.js. [See this example guide for how to use `axios` to make HTTP requests](/code/nodejs/http-requests/).
347-
- [Use `$.send.http()`](/destinations/http/#using-send-http-in-workflows), a Pipedream-provided method for making asynchronous HTTP requests.
347+
- [Use `$.send.http()`](/destinations/http/#using-sendhttp-in-workflows), a Pipedream-provided method for making asynchronous HTTP requests.
348348

349-
In general, if you just need to make an HTTP request but don't care about the response, [use `$.send.http()`](/destinations/http/#using-send-http-in-workflows). If you need to operate on the data in the HTTP response in the rest of your workflow, [use `axios`](/code/nodejs/http-requests/).
349+
In general, if you just need to make an HTTP request but don't care about the response, [use `$.send.http()`](/destinations/http/#using-sendhttp-in-workflows). If you need to operate on the data in the HTTP response in the rest of your workflow, [use `axios`](/code/nodejs/http-requests/).
350350

351351
## Returning HTTP responses
352352

353-
You can return HTTP responses from [HTTP-triggered workflows](/workflows/steps/triggers/#http) using the [`$.respond()` function](/workflows/steps/triggers/#http-responses).
353+
You can return HTTP responses from [HTTP-triggered workflows](/workflows/triggers/#http) using the [`$.respond()` function](/workflows/triggers/#http-responses).
354354

355355
## Invoke another workflow
356356

docs-v2/pages/code/nodejs/rerun.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ If you resume a workflow, any data sent in the HTTP request is passed to the wor
6363
/>
6464
<br />
6565

66-
Requests to the `resume_url` have [the same limits as any HTTP request to Pipedream](/limits/#http-request-body-size), but you can send larger payloads using our [large payload](/workflows/steps/triggers/#sending-large-payloads) or [large file](/workflows/steps/triggers/#large-file-support) interfaces.
66+
Requests to the `resume_url` have [the same limits as any HTTP request to Pipedream](/limits/#http-request-body-size), but you can send larger payloads using our [large payload](/workflows/triggers/#sending-large-payloads) or [large file](/workflows/triggers/#large-file-support) interfaces.
6767

6868
### Default timeout of 24 hours
6969

docs-v2/pages/code/nodejs/sharing-code.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import VideoPlayer from '@/components/VideoPlayer'
77

88
Pipedream provides two ways to share code across workflows:
99

10-
- **Publish an action from a Node.js code step**. [Publish any Node.js code step as a reusable action](/code/nodejs/sharing-code/#publish-an-action-from-a-node-js-code-step) from the Pipedream dashboard.
10+
- **Publish an action from a Node.js code step**. [Publish any Node.js code step as a reusable action](/code/nodejs/sharing-code/#publish-an-action-from-a-nodejs-code-step) from the Pipedream dashboard.
1111

1212
- **Create an action from code**. Develop your action code on your local filesystem and [publish to your Pipedream account using the Pipedream CLI](/components/quickstart/nodejs/actions/).
1313

@@ -137,7 +137,7 @@ No, a new version of an action doesn't automatically update all instances of the
137137
This gives you the control to gradually update. Learn how to [update steps to the newest action versions here](https://pipedream.com/docs/workflows/steps/actions/#updating-actions-to-the-latest-version).
138138
</Callout>
139139

140-
After publishing a new version, all other steps using this same action will have the option to [update to the latest version](/workflows/steps/actions/#updating-actions-to-the-latest-version).
140+
After publishing a new version, all other steps using this same action will have the option to [update to the latest version](/workflows/actions/#updating-actions-to-the-latest-version).
141141

142142
## Differences between publishing actions from workflow Node.js code steps and directly from code
143143

docs-v2/pages/code/python/delay.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import Callout from '@/components/Callout'
22

33
# Delaying a workflow
44

5-
Use `pd.flow.delay` to [delay a step in a workflow](/workflows/flow-control/#delay).
5+
Use `pd.flow.delay` to [delay a step in a workflow](/workflows/control-flow/delay).
66

7-
These docs show you how to write Python code to handle delays. If you don't need to write code, see [our built-in delay actions](/workflows/flow-control/#delay-actions).
7+
These docs show you how to write Python code to handle delays. If you don't need to write code, see [our built-in delay actions](/workflows/control-flow/delay#delay-actions).
88

99
## Using `pd.flow.delay`
1010

@@ -91,7 +91,7 @@ In `pd.send.email`, the `html` argument defaults to `""`, so it overrides the em
9191

9292
## When delays happen
9393

94-
**Pipedream pauses your workflow at the _end_ of the step where you call `pd.flow.delay`**. This lets you [send the `cancel_url` and `resume_url` to third-party systems](#cancel-url-and-resume-url).
94+
**Pipedream pauses your workflow at the _end_ of the step where you call `pd.flow.delay`**. This lets you [send the `cancel_url` and `resume_url` to third-party systems](cancel_url-and-resume_url).
9595

9696
```python
9797
def handler(pd: 'pipedream'):
@@ -108,7 +108,7 @@ You cannot run `pd.respond` after running `pd.flow.delay`. Pipedream ends the or
108108

109109
> $.respond() not called for this invocation
110110
111-
If you need to set a delay on an HTTP request triggered workflow, consider using [`time.sleep`](#time-sleep) instead.
111+
If you need to set a delay on an HTTP request triggered workflow, consider using [`time.sleep`](#timesleep) instead.
112112

113113
## `time.sleep`
114114

docs-v2/pages/code/python/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ See the [Making HTTP Requests with Python](/code/python/http-requests/) docs for
104104

105105
## Returning HTTP responses
106106

107-
You can return HTTP responses from [HTTP-triggered workflows](/workflows/steps/triggers/#http) using the `pd.respond()` method:
107+
You can return HTTP responses from [HTTP-triggered workflows](/workflows/triggers/#http) using the `pd.respond()` method:
108108

109109
```python
110110
def handler(pd: "pipedream"):
@@ -123,7 +123,7 @@ Unlike the [Node.js equivalent](https://pipedream.com/docs/workflows/steps/trigg
123123
</Callout>
124124

125125
<Callout type="info">
126-
_Don't forget_ to [configure your workflow's HTTP trigger to allow a custom response](/workflows/steps/triggers/#http-responses). Otherwise your workflow will return the default response.
126+
_Don't forget_ to [configure your workflow's HTTP trigger to allow a custom response](/workflows/triggers/#http-responses). Otherwise your workflow will return the default response.
127127
</Callout>
128128

129129
## Sharing data between steps

docs-v2/pages/components/api.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Components are Node.js modules that run on Pipedream's serverless infrastructure
2020

2121
- Trigger Node.js code on HTTP requests, timers, cron schedules, or manually
2222
- Emit data on each event to inspect it. Trigger Pipedream hosted workflows or access it outside of Pipedream via API
23-
- Accept user input on deploy via [CLI](/cli/reference/#pd-deploy), [API](/api/rest/#overview), or [UI](https://pipedream.com/sources)
23+
- Accept user input on deploy via [CLI](/cli/reference/#pd-deploy), [API](/rest-api/#overview), or [UI](https://pipedream.com/sources)
2424
- Connect to [{process.env.PUBLIC_APPS}+ apps](https://pipedream.com/apps) using Pipedream managed auth
2525
- Use most npm packages with no `npm install` or `package.json` required
2626
- Store and retrieve state using the [built-in key-value store](#db)
@@ -878,7 +878,7 @@ When your workflow runs, you'll see the named exports appear below your step, wi
878878
879879
##### Returning HTTP responses with `$.respond`
880880
881-
`$.respond` lets you issue HTTP responses from your workflow. [See the full `$.respond` docs for more information](/workflows/steps/triggers/#customizing-the-http-response).
881+
`$.respond` lets you issue HTTP responses from your workflow. [See the full `$.respond` docs for more information](/workflows/triggers/#customizing-the-http-response).
882882
883883
```javascript
884884
async run({ $ }) {
@@ -924,35 +924,35 @@ $.export(
924924
925925
**`$.send.http`**
926926
927-
[See the HTTP destination docs](/destinations/http/#using-send-http-in-component-actions).
927+
[See the HTTP destination docs](/destinations/http/#using-sendhttp-in-component-actions).
928928
929929
**`$.send.email`**
930930
931-
[See the Email destination docs](/destinations/email/#using-send-email-in-component-actions).
931+
[See the Email destination docs](/destinations/email/#using-sendemail-in-component-actions).
932932
933933
**`$.send.s3`**
934934
935-
[See the S3 destination docs](/destinations/s3/#using-send-s3-in-component-actions).
935+
[See the S3 destination docs](/destinations/s3/#using-sends3-in-component-actions).
936936
937937
**`$.send.emit`**
938938
939-
[See the Emit destination docs](/destinations/emit/#using-send-emit-in-component-actions).
939+
[See the Emit destination docs](/destinations/emit/#using-sendemit-in-component-actions).
940940
941941
**`$.send.sse`**
942942
943-
[See the SSE destination docs](/destinations/sse/#using-send-sse-in-component-actions).
943+
[See the SSE destination docs](/destinations/sse/#using-sendsse-in-component-actions).
944944
945945
##### `$.context`
946946
947-
`$.context` exposes [the same properties as `steps.trigger.context`](/workflows/events/#steps-trigger-context), and more. Action authors can use it to get context about the calling workflow and the execution.
947+
`$.context` exposes [the same properties as `steps.trigger.context`](/workflows/events/#stepstriggercontext), and more. Action authors can use it to get context about the calling workflow and the execution.
948948
949-
All properties from [`steps.trigger.context`](/workflows/events/#steps-trigger-context) are exposed, as well as:
949+
All properties from [`steps.trigger.context`](/workflows/events/#stepstriggercontext) are exposed, as well as:
950950
951951
| Property | Description |
952952
| ---------- | :-----------------------------------------------------------------------------------------------------------------------------------------------------: |
953953
| `deadline` | An epoch millisecond timestamp marking the point when the workflow is configured to [timeout](/limits/#time-per-execution). |
954954
| `JIT` | Stands for "just in time" (environment). `true` if the user is testing the step, `false` if the step is running in production. |
955-
| `run` | An object containing metadata about the current run number. See [the docs on `$.flow.rerun`](/workflows/events/#steps-trigger-context) for more detail. |
955+
| `run` | An object containing metadata about the current run number. See [the docs on `$.flow.rerun`](/workflows/events/#stepstriggercontext) for more detail. |
956956
957957
### Environment variables
958958
@@ -1096,7 +1096,7 @@ You can delete a component via the UI at [https://pipedream.com/sources](https:/
10961096
10971097
#### API
10981098
1099-
See the [REST API docs](/api/rest/).
1099+
See the [REST API docs](/rest-api/).
11001100
11011101
### Managing Actions
11021102
@@ -1201,7 +1201,7 @@ When you navigate to your source [in the UI](https://pipedream.com/sources), you
12011201
12021202
#### API
12031203
1204-
Events can be retrieved using the [REST API](/api/rest/) or [SSE stream tied to your component](/api/sse/). This makes it easy to retrieve data processed by your component from another app. Typically, you'll want to use the [REST API](/api/rest/) to retrieve events in batch, and connect to the [SSE stream](/api/sse/) to process them in real time.
1204+
Events can be retrieved using the [REST API](/rest-api) or [SSE stream tied to your component](/api/sse/). This makes it easy to retrieve data processed by your component from another app. Typically, you'll want to use the [REST API](/rest-api) to retrieve events in batch, and connect to the [SSE stream](/api/sse/) to process them in real time.
12051205
12061206
#### CLI
12071207

docs-v2/pages/components/guidelines.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ comply with some requirements. The most important features are:
795795
against their DB
796796
2. Proxied execution of commands against a DB, which guarantees that such
797797
requests are always being made from the same range of static IPs (see the
798-
[shared static IPs docs](databases#send-requests-from-a-shared-static-ip))
798+
[shared static IPs docs](/databases#send-requests-from-a-shared-static-ip))
799799

800800
When dealing with database components, the Pipedream runtime performs certain
801801
actions internally to make these features work. For this reason, these

docs-v2/pages/connect/api.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,13 @@ GET /{project_id}/accounts/
293293

294294
The ID or name slug the app you'd like to retrieve. For example, Slack's unique app ID is `app_OkrhR1`, and its name slug is `slack`.
295295

296-
You can find the app's ID in the response from the [List apps](#list-apps) endpoint, and the name slug under the **Authentication** section of any [app page](https://pipedream.com/apps).
296+
You can find the app's ID in the response from the [List apps](/rest-api#list-apps) endpoint, and the name slug under the **Authentication** section of any [app page](https://pipedream.com/apps).
297297

298298
---
299299

300300
`oauth_app_id` **string** (_optional_)
301301

302-
The ID of the custom [OAuth app](/connect/quickstart#creating-a-custom-oauth-client) you'd like to retrieve accounts for.
302+
The ID of the custom [OAuth app](/connect/quickstart#create-a-pipedream-oauth-client) you'd like to retrieve accounts for.
303303

304304
---
305305

@@ -707,7 +707,7 @@ DELETE /{project_id}/apps/{app_id}/accounts
707707

708708
`app_id` **string**
709709

710-
The app ID for which you want to delete all connected accounts. `app_id` can be `oauth_app_id` for [OAuth apps](/connect/quickstart#creating-a-custom-oauth-client) or [name slug](/connect/quickstart/#find-your-apps-name-slug) for key-based apps.
710+
The app ID for which you want to delete all connected accounts. `app_id` can be `oauth_app_id` for [OAuth apps](/connect/quickstart#create-a-pipedream-oauth-client) or name slug for key-based apps, which you can find under the **Authentication** section of any [app page](https://pipedream.com/apps)
711711

712712
##### Examples
713713

0 commit comments

Comments
 (0)