feat(confluence): return page content in get page version tool#3344
Merged
waleedlatif1 merged 2 commits intostagingfrom Feb 25, 2026
Merged
feat(confluence): return page content in get page version tool#3344waleedlatif1 merged 2 commits intostagingfrom
waleedlatif1 merged 2 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
d5174c2 to
c459052
Compare
c459052 to
83d211a
Compare
Contributor
Greptile SummaryThis PR enhances the Get Page Version tool to return page content (title, body, cleaned text) alongside version metadata by making a parallel API call to fetch the page at the specific version. The implementation includes:
The code follows existing patterns in the codebase and handles errors appropriately. Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Client
participant API as page-versions/route
participant Confluence as Confluence API
Client->>API: POST /api/tools/confluence/page-versions<br/>{pageId, versionNumber}
API->>API: Validate inputs
par Parallel Fetch
API->>Confluence: GET /versions/{versionNumber}
Confluence-->>API: Version metadata
and
API->>Confluence: GET /pages/{id}?version={N}
Confluence-->>API: Page content at version
end
API->>API: Extract title, body from page data
API->>API: cleanHtmlContent(rawContent)
API-->>Client: {version, title, content, body}
Last reviewed commit: 83d211a |
waleedlatif1
added a commit
that referenced
this pull request
Feb 25, 2026
* feat(confluence): return page content in get page version tool * lint
waleedlatif1
added a commit
that referenced
this pull request
Feb 25, 2026
* feat(workflow): lock/unlock workflow from context menu and panel * lint * fix(workflow): prevent duplicate lock notifications, no-op guard, fix orphaned JSDoc * improvement(workflow): memoize hasLockedBlocks to avoid inline recomputation * feat(google-translate): add Google Translate integration (#3337) * feat(google-translate): add Google Translate integration * fix(google-translate): api key as query param, fix docsLink, rename tool file * feat(google): add missing tools for Gmail, Drive, Sheets, and Calendar (#3338) * feat(google): add missing tools for Gmail, Drive, Sheets, and Calendar * fix(google-drive): remove dead transformResponse from move tool * feat(confluence): return page content in get page version tool (#3344) * feat(confluence): return page content in get page version tool * lint * feat(api): audit log read endpoints for admin and enterprise (#3343) * feat(api): audit log read endpoints for admin and enterprise * fix(api): address PR review — boolean coercion, cursor validation, detail scope * ran lint * unified list of languages for google translate * fix(workflow): respect snapshot view for panel lock toggle, remove unused disableAdmin prop * improvement(canvas-menu): remove lock icon from workflow lock toggle * feat(audit): record audit log for workflow lock/unlock
waleedlatif1
added a commit
that referenced
this pull request
Feb 26, 2026
* feat(workflow): lock/unlock workflow from context menu and panel * lint * fix(workflow): prevent duplicate lock notifications, no-op guard, fix orphaned JSDoc * improvement(workflow): memoize hasLockedBlocks to avoid inline recomputation * feat(google-translate): add Google Translate integration (#3337) * feat(google-translate): add Google Translate integration * fix(google-translate): api key as query param, fix docsLink, rename tool file * feat(google): add missing tools for Gmail, Drive, Sheets, and Calendar (#3338) * feat(google): add missing tools for Gmail, Drive, Sheets, and Calendar * fix(google-drive): remove dead transformResponse from move tool * feat(confluence): return page content in get page version tool (#3344) * feat(confluence): return page content in get page version tool * lint * feat(api): audit log read endpoints for admin and enterprise (#3343) * feat(api): audit log read endpoints for admin and enterprise * fix(api): address PR review — boolean coercion, cursor validation, detail scope * ran lint * unified list of languages for google translate * fix(workflow): respect snapshot view for panel lock toggle, remove unused disableAdmin prop * improvement(canvas-menu): remove lock icon from workflow lock toggle * feat(audit): record audit log for workflow lock/unlock
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GET /pages/{id}?version={N}&body-format=storageto fetch page data at that versioncleanHtmlContentutility from existingtransformPageDatafor reuseType of Change
Testing
Tested manually
Checklist