xtiles_get_collection_content
Fetch rows from an xTiles collection (database) view as CSV with pagination. Prerequisite: call xtiles_get_view_content for the collection page to learn its collection.views[] and pick a collection_view_id. The CSV header reflects the columns visible in that collection view; column types and IDs come from the collection schema. Note: server-side filtering is not yet exposed via this endpoint — apply any required filters client-side after fetching, or page through results until the desired rows are found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based — the first page is 1. Defaults to 1. | |
| viewId | Yes | View ID of an xTiles page. You can also extract it from a page URL — it is the last path segment, whatever the domain, e.g. `https://xtiles.app/6740858058af8a09bf6096e6` → viewId is `6740858058af8a09bf6096e6`. Discover IDs programmatically via `xtiles_list_projects` or `xtiles_get_project_content`. This must be the viewId of a collection (database) page. Use `xtiles_get_view_content` first to discover the schema and pick a `collection_view_id`. | |
| per_page | No | Page size, 1–100. Defaults to 100. | |
| time_zone | No | IANA time zone (e.g. "Europe/Kyiv") used to render date/datetime fields. | |
| collection_view_id | Yes | ID of a specific collection view (table, board, gallery, etc.) within the collection. Discover via `xtiles_get_view_content` — it returns `collection.views[]` with their IDs. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| content | No | ||
| view_id | No | ||
| pagination | No | ||
| project_id | No | ||
| collection_view_id | No |