Skip to content

Commit 085ef70

Browse files
authored
Merge branch 'master' into feat/add_linkup_actions
2 parents cd3b57e + 5c61c62 commit 085ef70

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

docs-v2/pages/connect/api.mdx

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -209,24 +209,21 @@ curl -X POST https://api.pipedream.com/v1/connect/rate_limits \
209209
# The response will include a rate limit token. Pass it as a header in your downstream requests to the Connect API.
210210
# Below is an example request that runs the "List Commits" action for the Gitlab app.
211211
212-
echo '{
213-
"external_user_id": "jverce",
214-
"id": "gitlab-list-commits",
215-
"configured_props": {
216-
"gitlab": {
217-
"authProvisionId": "apn_kVh9AoD"
218-
},
219-
"projectId": 45672541,
220-
"refName": "main"
221-
}
222-
}' > data.json
223-
224212
curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/actions/run" \
225213
-H "Authorization: Bearer {access_token}" \
226214
-H "Content-Type: application/json" \
227215
-H "x-pd-rate-limit: {rate_limit_token}" \ # Pass the rate limit token in the header
228-
-d @data.json
229-
'
216+
-d '{
217+
"external_user_id": "jverce",
218+
"id": "gitlab-list-commits",
219+
"configured_props": {
220+
"gitlab": {
221+
"authProvisionId": "apn_kVh9AoD"
222+
},
223+
"projectId": 45672541,
224+
"refName": "main"
225+
}
226+
}'
230227
```
231228

232229
## API Reference

pnpm-lock.yaml

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)