diff --git a/docs-v2/pages/connect/api.mdx b/docs-v2/pages/connect/api.mdx index 83f727948730c..b21dd2fb1c056 100644 --- a/docs-v2/pages/connect/api.mdx +++ b/docs-v2/pages/connect/api.mdx @@ -2247,9 +2247,21 @@ curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/triggers/de List all of the deployed triggers for a given user. ```text -GET /deployed-triggers/ +GET /deployed-triggers/{emitter_type} ``` +##### Path parameters + +`emitter_type` **string** (optional) + +Specify the type of emitter to retrieve deployed triggers from one of these options: +- `source`: default if no other `emitter_type` is specified, includes any app-based event source +- `http`: native HTTP webhook trigger +- `timer`: native schedule trigger +- `email`: native email trigger + +[See here](/connect/components/#deploying-triggers) for more info on source types. + ##### Query parameters `external_user_id` **string** diff --git a/docs-v2/pages/connect/components.mdx b/docs-v2/pages/connect/components.mdx index e6bc949151e32..04f26f0398367 100644 --- a/docs-v2/pages/connect/components.mdx +++ b/docs-v2/pages/connect/components.mdx @@ -923,8 +923,7 @@ const { data: deployedTrigger } = await pd.deployTrigger({ }); const { - id: triggerId, // The unique ID of the deployed trigger - endpoint_url: endpointUrl, // The endpoint URL to return to the user + id: triggerId, // The unique ID of the deployed trigger } = deployedTrigger; // Parse and return the data you need diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61cf7fbbcf78b..af8a696154918 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2864,8 +2864,7 @@ importers: specifier: ^4.17.21 version: 4.17.21 - components/consulta_unica: - specifiers: {} + components/consulta_unica: {} components/contact_enhance: dependencies: @@ -6512,8 +6511,7 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/instasent: - specifiers: {} + components/instasent: {} components/intellexer_api: dependencies: @@ -13754,8 +13752,7 @@ importers: specifier: ^6.11.2 version: 6.13.1 - components/urltopdf: - specifiers: {} + components/urltopdf: {} components/uscreen: dependencies: @@ -34616,6 +34613,8 @@ snapshots: '@putout/operator-filesystem': 5.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3)) '@putout/operator-json': 2.2.0 putout: 36.13.1(eslint@8.57.1)(typescript@5.6.3) + transitivePeerDependencies: + - supports-color '@putout/operator-regexp@1.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3))': dependencies: