Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/guides/psoxy-test-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,18 @@ node cli-call.js -u https://us-central1-acme.cloudfunctions.net -d zoom

Notice how the URL changes, and any other option the Psoxy may need doesn't.

#### Pagination (Microsoft Graph data sources)

Collection-returning endpoints for all Microsoft Graph data sources (`msft-entra-id`, `outlook-cal`, `outlook-mail`, `msft-teams`, `msft-copilot`, `msft-onedrive`) are marked in the spec (`data-sources/spec.js`) with `pagination: true`, but this is opt-in at runtime: pass `--paginate` to enable it. Without the flag, endpoints run exactly one call each, with no `$top` or other pagination-only params added — the same behavior as before pagination support existed.

With `--paginate`, endpoints marked `pagination: true` add `$top` (page size, default `1`) to their initial call and, if the response contains an `@odata.nextLink`, the runner follows it — rewriting the Graph `https://graph.microsoft.com/...` cursor URL to the equivalent path/query on your Psoxy deploy, so pagination is exercised through the proxy rather than calling Graph directly. Single-resource endpoints (e.g. `outlook-mail`'s `Mailbox Settings`) aren't marked paginated since Graph doesn't page those.

By default the page size is `1` and up to 3 pages are followed per endpoint; override with `--page-size <n>` and `--max-pages <n>`:

```shell
node cli-call.js -u https://acme.lambda-url.us-east-1.on.aws -r <ROLE> -d msft-teams --paginate --page-size 50 --max-pages 5
```

### Zoom: finding a meeting that has a summary

`GET /v2/meetings/{meetingId}/meeting_summary` requires a past meeting instance UUID where Zoom AI Companion actually produced a meeting summary. Numeric IDs from `GET /v2/users/{userId}/meetings` are scheduled meetings and usually return `Invalid meeting id`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@
}
}
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@
"useDefault":true
},
"eventType":"default"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -820,4 +820,4 @@
"eventType":"default"
}
]
}
}
Loading
Loading