Merged
Conversation
Add site:read capability for GET /sites/:siteId/metadata route and add unit test verifying empty string tag values are returned as null. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
This PR will trigger a minor release when merged. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Kanishkavijay39
approved these changes
Apr 1, 2026
solaris007
pushed a commit
that referenced
this pull request
Apr 1, 2026
# [1.394.0](v1.393.0...v1.394.0) (2026-04-01) ### Features * metadata api ([#2068](#2068)) ([e8de8a1](e8de8a1))
Member
|
🎉 This PR is included in version 1.394.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
ravverma
pushed a commit
that referenced
this pull request
Apr 6, 2026
## Summary - Add `GET /sites/:siteId/metadata` endpoint that returns scraped page metadata (title, description, h1) from S3 - Reads `scrape.json` from the site's S3 scrape storage; accepts an optional `path` query param to target a specific page (defaults to homepage) - Includes access control (`site:read` capability), input validation, and proper error handling (404 for missing data, 500 for S3 failures) ## Related Issues SITES-41731 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ravverma
pushed a commit
that referenced
this pull request
Apr 6, 2026
# [1.394.0](v1.393.0...v1.394.0) (2026-04-01) ### Features * metadata api ([#2068](#2068)) ([e8de8a1](e8de8a1))
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 /sites/:siteId/metadataendpoint that returns scraped page metadata (title, description, h1) from S3scrape.jsonfrom the site's S3 scrape storage; accepts an optionalpathquery param to target a specific page (defaults to homepage)site:readcapability), input validation, and proper error handling (404 for missing data, 500 for S3 failures)Related Issues
SITES-41731
🤖 Generated with Claude Code