Skip to content

Commit 8386954

Browse files
Danny/connect deployed triggers docs patch (#16397)
* Small patch to connect triggers docs * Update pnpm-lock.yaml
1 parent 3c31a74 commit 8386954

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

docs-v2/pages/connect/api.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2247,9 +2247,21 @@ curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/triggers/de
22472247
List all of the deployed triggers for a given user.
22482248

22492249
```text
2250-
GET /deployed-triggers/
2250+
GET /deployed-triggers/{emitter_type}
22512251
```
22522252

2253+
##### Path parameters
2254+
2255+
`emitter_type` **string** (optional)
2256+
2257+
Specify the type of emitter to retrieve deployed triggers from one of these options:
2258+
- `source`: default if no other `emitter_type` is specified, includes any app-based event source
2259+
- `http`: native HTTP webhook trigger
2260+
- `timer`: native schedule trigger
2261+
- `email`: native email trigger
2262+
2263+
[See here](/connect/components/#deploying-triggers) for more info on source types.
2264+
22532265
##### Query parameters
22542266

22552267
`external_user_id` **string**

docs-v2/pages/connect/components.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -923,8 +923,7 @@ const { data: deployedTrigger } = await pd.deployTrigger({
923923
});
924924

925925
const {
926-
id: triggerId, // The unique ID of the deployed trigger
927-
endpoint_url: endpointUrl, // The endpoint URL to return to the user
926+
id: triggerId, // The unique ID of the deployed trigger
928927
} = deployedTrigger;
929928

930929
// Parse and return the data you need

pnpm-lock.yaml

Lines changed: 5 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)