Skip to content

Commit 9780aab

Browse files
Updating header anchor tags
1 parent 787970c commit 9780aab

File tree

10 files changed

+24
-18
lines changed

10 files changed

+24
-18
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ docs/.vuepress/dist
1818
components/**/package-lock.json
1919
/packages/evals/
2020
/packages/sdk/examples/.next/
21+
22+
**/.claude/settings.local.json

docs-v2/next.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,10 @@ export default withNextra({
556556
source: "/api-demo-connect/accounts/:id/",
557557
destination: "/api/demo-connect/accounts/:id",
558558
},
559+
{
560+
source: "/workflows/errors/",
561+
destination: "/workflows/building-workflows/errors/",
562+
},
559563
];
560564
},
561565
env: {

docs-v2/pages/connect/api.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const pd = createBackendClient({
6767

6868
You'll primarily use the browser SDK to let your users securely connect apps from your frontend. Here, you
6969

70-
1. [Create a short-lived token on your server](#create-a-new-token)
70+
1. [Create a short-lived token on your server](#create-token)
7171
2. Initiate auth with that token to securely connect an account for a specific user
7272

7373
Here's a Next.js example [from our quickstart](/connect/managed-auth/quickstart/):
@@ -240,7 +240,7 @@ Your app will initiate the account connection flow for your end users in your fr
240240

241241
See [the Connect tokens docs](/connect/tokens/) for more information.
242242

243-
#### Create a new token
243+
#### Create token
244244

245245
```
246246
POST /{project_id}/tokens
@@ -999,7 +999,7 @@ curl -X DELETE "https://api.pipedream.com/v1/connect/{project_id}/accounts/{acco
999999

10001000
Pipedream returns a `204 No Content` response on successful account deletion
10011001

1002-
#### Delete an end user
1002+
#### Delete end user
10031003

10041004
Delete an end user, all their connected accounts, and any deployed triggers.
10051005

@@ -2688,7 +2688,7 @@ curl -X GET \
26882688
}
26892689
```
26902690

2691-
#### Delete a deployed trigger
2691+
#### Delete deployed trigger
26922692

26932693
Delete deployed trigger for a given user.
26942694

@@ -2798,7 +2798,7 @@ curl -X DELETE \
27982798
Pipedream returns a `204 No Content` response on successful deletion
27992799

28002800

2801-
#### Retrieve the events emitted by a deployed trigger
2801+
#### Retrieve events emitted by deployed trigger
28022802

28032803
Retrieve a list of the last events that a deployed trigger emitted.
28042804

@@ -2995,7 +2995,7 @@ curl -X GET \
29952995
}
29962996
```
29972997

2998-
#### Retrieve the webhooks listening to a deployed trigger
2998+
#### Retrieve webhooks listening to deployed trigger
29992999

30003000
Retrieve the list of webhook URLs listening to a deployed trigger.
30013001

@@ -3116,7 +3116,7 @@ curl -X GET \
31163116
}
31173117
```
31183118

3119-
#### Update the webhooks listening to a deployed trigger
3119+
#### Update webhooks listening to deployed trigger
31203120

31213121
Update the list of webhook URLs that will listen to a deployed trigger.
31223122

@@ -3255,7 +3255,7 @@ curl -X PUT \
32553255
}
32563256
```
32573257

3258-
#### Retrieve the workflows listening to a deployed trigger
3258+
#### Retrieve workflows listening to deployed trigger
32593259

32603260
Retrieve the list of workflow IDs listening to a deployed trigger.
32613261

@@ -3377,7 +3377,7 @@ curl -X GET \
33773377
}
33783378
```
33793379

3380-
#### Update the workflows listening to a deployed trigger
3380+
#### Update workflows listening to deployed trigger
33813381

33823382
Update the list of workflows that will listen to a deployed trigger.
33833383

docs-v2/pages/connect/components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ Refer to the [full Connect API reference](/connect/api/#deploy-a-trigger) to lis
833833
- Many event sources attempt to retrieve a small set of historical events on deploy to provide visibility into the event shape for end users and developers
834834
- Exposing real test events make it easier to consume the event in downstream systems without requiring users to trigger real events ([more info](/components/contributing/guidelines/#surfacing-test-events))
835835
- However, this results in emitting those events to the listening webhook immediately, which may not always be ideal, depending on your use case
836-
- If you'd like to avoid emitting historical events, you can deploy a trigger without defining a `webhook_url`, then [update the listening webhooks for the deployed trigger](/connect/api/#update-the-webhooks-listening-to-a-deployed-trigger) after roughly a minute
836+
- If you'd like to avoid emitting historical events, you can deploy a trigger without defining a `webhook_url`, then [update the listening webhooks for the deployed trigger](/connect/api/#update-webhooks-listening-to-deployed-trigger) after roughly a minute
837837

838838

839839
### Native triggers

docs-v2/pages/connect/environments.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The `development` environment is not intended for production use with your custo
2727

2828
## How to specify the environment
2929

30-
You specify the environment when [creating a new Connect token](/connect/api/#create-a-new-token) with the Pipedream SDK or API. When users successfully connect their account, Pipedream saves the account credentials (API key, access token, etc.) for that `external_user_id` in the specified environment.
30+
You specify the environment when [creating a new Connect token](/connect/api/#create-token) with the Pipedream SDK or API. When users successfully connect their account, Pipedream saves the account credentials (API key, access token, etc.) for that `external_user_id` in the specified environment.
3131

3232
Always set the environment when you create the SDK client:
3333

docs-v2/pages/connect/managed-auth/connect-link.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ https://pipedream.com/_static/connect.html?token={token}&connectLink=true&app={a
2727

2828
## Success and error redirect URLs
2929

30-
To automatically redirect users somewhere after they complete the connection flow (or if an error occurs), define the `success_redirect_uri` and `error_redirect_uri` parameters during token creation. [See the API docs](/connect/api/#create-a-new-token) for details.
30+
To automatically redirect users somewhere after they complete the connection flow (or if an error occurs), define the `success_redirect_uri` and `error_redirect_uri` parameters during token creation. [See the API docs](/connect/api/#create-token) for details.
3131

3232
In the absence of these URLs, Pipedream will redirect the user to a Pipedream-hosted success or error page at the end of the connection flow.

docs-v2/pages/connect/managed-auth/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ In the code below you can see how we generate a Connect token for an example use
7878
Once you have a token, return it to your frontend to start the account connection flow for the user, or redirect them to a Pipedream-hosted URL with [Connect Link](#or-use-connect-link).
7979

8080
<Callout type="info">
81-
Refer to the API docs for [full set of parameters you can pass](/connect/api/#create-a-new-token) in the `ConnectTokenCreate` call.
81+
Refer to the API docs for [full set of parameters you can pass](/connect/api/#create-token) in the `ConnectTokenCreate` call.
8282
</Callout>
8383

8484
### Connect your user's account
@@ -121,7 +121,7 @@ After generating a token in the [step above](#generate-a-short-lived-token), you
121121
<Callout type="info">
122122
Make sure to add the `app` parameter to the end of the URL to specify the app.
123123

124-
Check out the [full API docs](/connect/api/#create-a-new-token) for all parameters you can pass when creating tokens, including setting redirect URLs for success or error cases.
124+
Check out the [full API docs](/connect/api/#create-token) for all parameters you can pass when creating tokens, including setting redirect URLs for success or error cases.
125125
</Callout>
126126

127127
### Make authenticated requests

docs-v2/pages/connect/managed-auth/tokens.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Connect tokens currently have a 4-hour expiry, and can only be used once.
1717

1818
## Creating a token
1919

20-
See docs on [the `/tokens` endpoint](/connect/api/#create-a-new-token) to create new tokens.
20+
See docs on [the `/tokens` endpoint](/connect/api/#create-token) to create new tokens.
2121

2222
## Webhooks
2323

@@ -27,6 +27,6 @@ When you generate a token, you can specify a `webhook_uri` where Pipedream will
2727

2828
## Tokens are scoped to end users and environments
2929

30-
When you [create a new Connect token](/connect/api/#create-a-new-token), you pass an `external_user_id` and an `environment`. See the docs on [environments](/connect/environments/) for more information on passing environment in the SDK and API.
30+
When you [create a new Connect token](/connect/api/#create-token), you pass an `external_user_id` and an `environment`. See the docs on [environments](/connect/environments/) for more information on passing environment in the SDK and API.
3131

3232
Tokens are scoped to this user and environment. When the user successfully connects an account with that token, it will be saved for that `external_user_id` in the specified environment.

docs-v2/pages/connect/managed-auth/webhooks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Connect Webhooks
22

3-
When you [generate a Connect token](/connect/managed-auth/quickstart/#generate-a-short-lived-token), you can pass a `webhook_uri` parameter. Pipedream will send a POST request to this URL when the user completes the connection flow, or if an error occurs at any point. [See the API docs](/connect/api/#create-a-new-token) for details.
3+
When you [generate a Connect token](/connect/managed-auth/quickstart/#generate-a-short-lived-token), you can pass a `webhook_uri` parameter. Pipedream will send a POST request to this URL when the user completes the connection flow, or if an error occurs at any point. [See the API docs](/connect/api/#create-token) for details.
44

55
## Webhook events
66

docs-v2/pages/privacy-and-security/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Pipedream provides a [client-side SDK](/connect/api/#typescript-sdk-browser) to
124124

125125
When you initiate authorization, you must:
126126

127-
1. [Create a server-side token for a specific end user](/connect/api/#create-a-new-token)
127+
1. [Create a server-side token for a specific end user](/connect/api/#create-token)
128128
2. Initiate auth with that token, connecting an account for a specific user
129129

130130
These tokens can only initiate the auth connection flow. They have no permissions to access credentials or perform other operations against the REST API. They are meant to be scoped to a specific user, for use in clients that need to initiate auth flows.

0 commit comments

Comments
 (0)