-
Notifications
You must be signed in to change notification settings - Fork 6
feat: add FourFour sample #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,47 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| specVersion: 1.0.0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| integrations: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - name: fourFour-read | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| displayName: FourFour-integration | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| provider: fourFour | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| read: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| objects: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - objectName: Chats | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination: fourFourWebhook | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| schedule: "*/10 * * * *" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # https://fourfour.ai/developers/api#tag/Chats/paths/~1Chats/get | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| requiredFields: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: id | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: created_at | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| optionalFields: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: filtered_at | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: user_id | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| backfill: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| defaultPeriod: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| fullHistory: true | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - objectName: ChatMessages | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| destination: fourFourWebhook | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| schedule: "*/10 * * * *" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # https://fourfour.ai/developers/api#tag/ChatMessages/paths/~1ChatMessages/get | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| requiredFields: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: content | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: created_at | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: id | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+28
to
+30
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - fieldName: content | |
| - fieldName: created_at | |
| - fieldName: id | |
| - fieldName: content | |
| - fieldName: created_at | |
| - fieldName: id |
Copilot
AI
Apr 13, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are trailing spaces on the - fieldName: id line, and there’s also inconsistent blank-line/whitespace usage in this block. Please trim trailing whitespace to avoid noisy diffs and formatter/linter issues.
| - objectName: ChatMessages | |
| destination: fourFourWebhook | |
| schedule: "*/10 * * * *" | |
| # https://fourfour.ai/developers/api#tag/ChatMessages/paths/~1ChatMessages/get | |
| requiredFields: | |
| - fieldName: content | |
| - fieldName: created_at | |
| - fieldName: id | |
| optionalFieldsAuto: all | |
| backfill: | |
| defaultPeriod: | |
| fullHistory: true | |
| - objectName: ChatMessages | |
| destination: fourFourWebhook | |
| schedule: "*/10 * * * *" | |
| # https://fourfour.ai/developers/api#tag/ChatMessages/paths/~1ChatMessages/get | |
| requiredFields: | |
| - fieldName: content | |
| - fieldName: created_at | |
| - fieldName: id | |
| optionalFieldsAuto: all | |
| backfill: | |
| defaultPeriod: | |
| fullHistory: true |
Copilot
AI
Apr 13, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proxy is indented under read here, but in other samples it’s a sibling of read/write at the integration level. With the current indentation it will be parsed as read.proxy, which likely won’t be recognized by the amp schema. Outdent proxy: (and enabled:) to align with read:.
| proxy: | |
| enabled: true | |
| proxy: | |
| enabled: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL comment for the
Chatsobject is less indented than the surrounding object properties, which makes the YAML harder to read and can look like it applies to a different level. Align the comment indentation with the other fields in the object block.