Skip to content

Commit

Permalink
fix(docs): Fix payload on request examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanieJKS committed Oct 16, 2023
1 parent 2917d07 commit 5ce3335
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 24 deletions.
12 changes: 6 additions & 6 deletions packages/docs/blocks/input/MultipleSelector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,19 @@ _ref:
type: MongoDBAggregation
connectionId: companies
payload:
query:
_string.concat:
- '*'
- _state: search_input
- '*'
search_input:
_state: search_input
properties:
pipeline:
- $search:
compound:
should:
- wildcard:
query:
_payload: query
_string.concat:
- '*'
- _payload: search_input
- '*'
path: # field names to search in the companies collection
- _id
- company_name
Expand Down
12 changes: 6 additions & 6 deletions packages/docs/blocks/input/Selector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@ _ref:
type: MongoDBAggregation
connectionId: companies
payload:
query:
_string.concat:
- '*'
- _state: search_input
- '*'
search_input:
_state: search_input
properties:
pipeline:
- $search:
compound:
should:
- wildcard:
query:
_payload: query
_string.concat:
- '*'
- payload: search_input
- '*'
path: # field names to search in the companies collection
- _id
- company_name
Expand Down
12 changes: 7 additions & 5 deletions packages/docs/connections/AWSS3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,17 +139,19 @@ _ref:
type: AwsS3PresignedPostPolicy
connectionId: my_bucket_connection
payload:
filename:
_args: filename
uid:
_args: uid
properties:
key:
_nunjucks:
template: uploads/{{filename}}-{{uid}}
on:
filename:
_args: filename
_payload: filename
uid:
_args: uid
properties:
key:
_payload: key
_payload: uid
```
## Creating a bucket
Expand Down
12 changes: 6 additions & 6 deletions packages/docs/connections/AxiosHttp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,17 +150,17 @@ _ref:
type: AxiosHttp
connectionId: app_api
payload:
order_id:
_state: order_id
data:
_state: true
properties:
url:
_nunjucks:
template: /orders/{{ order_id }}
on:
order_id:
_state: order_id
data:
_state: true
properties:
url:
_payload: url
_payload: order_id
method: post
data:
_payload: data
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/requests/insert_feedback.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ properties:
url_query:
_payload: url_query
url:
_location: href
_payload: url
timestamp:
_date: now
feedback:
Expand Down

0 comments on commit 5ce3335

Please sign in to comment.