Skip to content

Commit c77df2a

Browse files
committed
Amend title and fix curl copy/paste
1 parent 4bde167 commit c77df2a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs-v2/pages/connect/api.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ echo '{
13601360
}
13611361
}' > data.json
13621362

1363-
curl -X GET "https://api.pipedream.com/v1/connect/{your_project_id}/components/configure" \
1363+
curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/components/configure" \
13641364
-H "Authorization: Bearer {access_token}" \
13651365
-H "Content-Type: application/json" \
13661366
-d @data.json
@@ -1424,7 +1424,7 @@ Reload the component's props after configuring a dynamic prop, based on the
14241424
current component's configuration. This endpoint will use the component's
14251425
configuration to retrieve a new list of props depending on the value of the
14261426
props that were configured so far. See the [Dynamic
1427-
Props](/connect/components#dynamic-props) section for more information.
1427+
Props](/connect/components#dynamic-props-optional) section for more information.
14281428

14291429
```text
14301430
GET /{component_type}/props
@@ -1571,7 +1571,7 @@ echo '{
15711571
}
15721572
}' > data.json
15731573

1574-
curl -X GET "https://api.pipedream.com/v1/connect/{your_project_id}/components/props" \
1574+
curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/components/props" \
15751575
-H "Authorization: Bearer {access_token}" \
15761576
-H "Content-Type: application/json" \
15771577
-d @data.json
@@ -1778,7 +1778,7 @@ echo '{
17781778
}
17791779
}' > data.json
17801780

1781-
curl -X GET "https://api.pipedream.com/v1/connect/{your_project_id}/actions/run" \
1781+
curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/actions/run" \
17821782
-H "Authorization: Bearer {access_token}" \
17831783
-H "Content-Type: application/json" \
17841784
-d @data.json
@@ -1967,7 +1967,7 @@ echo '{
19671967
"webhook_url": "https://events.example.com/gitlab-new-issue"
19681968
}' > data.json
19691969

1970-
curl -X GET "https://api.pipedream.com/v1/connect/{your_project_id}/triggers/deploy" \
1970+
curl -X POST "https://api.pipedream.com/v1/connect/{your_project_id}/triggers/deploy" \
19711971
-H "Authorization: Bearer {access_token}" \
19721972
-H "Content-Type: application/json" \
19731973
-d @data.json

docs-v2/pages/connect/components.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ example, to retrieve the configuration options for the `refName` prop:
217217
}
218218
```
219219

220-
#### Dynamic props
220+
#### Dynamic props (optional)
221221

222222
The set of props that a component can accept might not be static, and can change
223223
depending on the values of prior props. Props that behave this way are called

0 commit comments

Comments
 (0)