-
Notifications
You must be signed in to change notification settings - Fork 0
Adds get flows by product #65
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
12134d8
03d4e80
dd63870
a1c85ba
8570a86
d123561
d33eec2
c1088a8
0742192
e6ccf73
dbb6786
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,64 @@ | ||
| info: | ||
| name: Get Flows by Product | ||
| type: http | ||
| seq: 3 | ||
|
|
||
| http: | ||
| method: GET | ||
| url: "{{baseUrl}}/api/products/:id/flows" | ||
| params: | ||
| - name: id | ||
| value: "2" | ||
| type: path | ||
| auth: inherit | ||
|
|
||
| runtime: | ||
| assertions: | ||
| - expression: res.status | ||
| operator: eq | ||
| value: "200" | ||
|
|
||
| settings: | ||
| encodeUrl: true | ||
| timeout: 0 | ||
| followRedirects: true | ||
| maxRedirects: 5 | ||
|
|
||
| examples: | ||
| - name: sample | ||
| request: | ||
| url: "{{baseUrl}}/api/products/:id/flows" | ||
| method: GET | ||
| params: | ||
| - name: id | ||
| value: "2" | ||
| type: path | ||
| response: | ||
| status: 200 | ||
| statusText: OK | ||
| headers: | ||
| - name: content-type | ||
| value: application/json | ||
| - name: vary | ||
| value: Origin, Accept-Encoding | ||
| - name: date | ||
| value: Sun, 17 May 2026 01:59:32 GMT | ||
| - name: content-length | ||
| value: "128" | ||
| body: | ||
| type: json | ||
| data: |- | ||
| [ | ||
| { | ||
| "id": 1, | ||
| "name": "Flow 1", | ||
| "description": "flow 1 desc", | ||
| "created_at": "2026-05-15T19:11:09.35732-05:00", | ||
| "updated_at": "2026-05-15T19:11:09.35732-05:00" | ||
| } | ||
| ] | ||
|
|
||
| docs: |- | ||
| # Get Flows by Product | ||
|
|
||
| Gets all flows for a product. The product id is in the path. Returns an array of flows | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Include
product_idin the example response payload.The sample response omits
product_id, but the endpoint contract includes it. Please add it to keep docs aligned with actual response shape.Suggested doc patch
[ { "id": 1, + "product_id": 2, "name": "Flow 1", "description": "flow 1 desc", "created_at": "2026-05-15T19:11:09.35732-05:00", "updated_at": "2026-05-15T19:11:09.35732-05:00" } ]📝 Committable suggestion
🤖 Prompt for AI Agents