> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Confluence Cloud page metadata

> Observe page metadata and trash entries in one Confluence Cloud space.

Follow the [REST app guide](https://docs.bijection.com/integrations/native-rest.md). Bind
`https://SITE.atlassian.net` and `/wiki/api/v2/pages`. Use header auth with `name: "Authorization"` and `prefix: "Basic "`. Seal the Base64 encoding of `email:api-token` for an account that can read the space. Pass the same label to the receiver binder and as the app's `data`.

Initialize with
`{ profile: { mode: "provider", provider: "confluence.pages.observations", selection: "123456", limit: 10 } }`.
Set `selection` to the numeric space ID as text. The feed publishes
current and archived page metadata by page ID and removes IDs explicitly
reported as trashed. Purged and invisible pages can disappear from the
listing without a tombstone. The feed extracts the cursor from the next
link and sends it to the original pages route. Reaching the end starts a
new sweep on the next poll. The bound is 1–100 pages per response and
36 KiB. The feed requires the bundled parser artifact.

[Confluence Cloud pages API](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-get)

## Write pages

Follow the [native write app guide](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes). Bind `providerWriter("confluence.pages.create-update-delete", { endpoint: "https://SITE.atlassian.net", auth }, data)` and pass it as `receivers.writers["confluence.pages.create-update-delete"]`. Seal an authorized API token for the site. Send Page API v2 JSON including the space ID on create and the required next version number, title and status on update. The adapter supplies the update ID from the command. HTTP 200 must return the page ID. Delete sends the standard request to move the current page to Trash and accepts HTTP 204.

The writer records its evidence under the app's `data` label. Commands take up to 24 KiB of JSON and carry no read cursor.

[Provider write API](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/)

## Page bodies, blog posts, comments and spaces

Bind a separate `providerEndpoint` and mount per mode. Use the same
Cloud site and sealed Basic authorization. Pass the same protected label to the receiver binder and as the app's `data`.

| Mode | Installed path | Terms and keys |
| - | - | - |
| `confluence.pages.content.observations` | `/wiki/api/v2/pages` | Set `selection` to the decimal space ID. Includes storage-format bodies and withdraws explicit trash entries by page ID. |
| `confluence.blogposts.observations` | `/wiki/api/v2/blogposts` | Set `selection` to the decimal space ID. Includes storage-format bodies and withdraws explicit trash entries by blog post ID. |
| `confluence.footer-comments.observations` | `/wiki/api/v2/footer-comments` | Visible footer comments, with storage-format bodies, keyed by comment ID. |
| `confluence.inline-comments.observations` | `/wiki/api/v2/inline-comments` | Visible inline comments, with storage-format bodies, keyed by comment ID. |
| `confluence.spaces.observations` | `/wiki/api/v2/spaces` | Spaces visible to the installed credential, keyed by space ID. |

Use up to 100 rows and 36 KiB per response. The cursor in the same-route
next link continues the sweep. A terminal response schedules a fresh sweep.
Missing records stay published.

[Blog posts](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post/) ·
[Comments](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-comment/) ·
[Spaces](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.