Browse a connected account or one of its sources
List one page of what a connected account or a source holds, read with the caller’s own sign-in. Start from a connected account’s catalog (the catalogId the React SDK’s useAthenaConnectors gives for each account): its items are its sources (a OneDrive, SharePoint sites). List a source’s catalog_asset_id for its libraries, folders and files, and pass folder_id to open a library or a folder. The caller needs a connected account of their own for the source: being able to see a colleague’s catalog is answered 403 connect_your_own, and nothing is asked of the provider. Listings carry names and ids, never a token or a signed download link.
Authentication
Path parameters
Headers
Query parameters
The next_page_token of the page before, for the next one.
Response
What was listed: microsoft_365 (a connected account: its items are sources), sharepoint_site or onedrive.
Pass as page_token, with the same catalog_asset_id and folder_id, for the next page. Opaque. Null on the last page.
