Skip to content

feat: enhance data with computed fields and metadata#14

Open
xavierandueza wants to merge 1 commit into
masterfrom
feature/update-multiple-endpoints
Open

feat: enhance data with computed fields and metadata#14
xavierandueza wants to merge 1 commit into
masterfrom
feature/update-multiple-endpoints

Conversation

@xavierandueza
Copy link
Copy Markdown
Owner

@xavierandueza xavierandueza commented Feb 13, 2026

Summary

  • Posts: Added reading_speed query parameter (WPM, default 250) and two new computed response fields — reading_time (estimated minutes based on content word count) and content_summary (auto-generated 160-character plain-text excerpt)
  • Media: Added focal_point input/output field (object with x/y coordinates for smart image cropping, stored as post meta) and accessibility_status computed field that rates metadata completeness based on alt text, caption, and description
  • Comments: Added priority field (enum: low/normal/high/urgent, stored as comment meta) for editorial moderation workflows and a computed word_count output field
  • Themes: Added sort collection parameter (name/author/version) and a compatibility_status response field that compares theme PHP/WP version requirements against the current environment

Enhance four REST API endpoints with new input parameters, output
fields, and internal logic for improved functionality.
@xavierandueza xavierandueza changed the title feat: enhance REST API endpoints with computed fields and metadata feat: enhance data with computed fields and metadata Feb 16, 2026
@xavierandueza xavierandueza marked this pull request as ready for review February 16, 2026 22:51
@xavierandueza xavierandueza reopened this Feb 17, 2026
@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 17, 2026

📚 Documentation update workflow has been queued for reopened PR (Job ID: 6994ec16a0f3185b35c76764). The documentation bot will propose changes (if relevant) shortly.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 20, 2026

📚 Analyzing PR for documentation updates...

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 20, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 26, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 26, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 26, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 27, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Feb 28, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 2, 2026

📚 Documentation Changes Applied

🔗 View changes in ReadMe

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 24, 2026

📚 No documentation updates were needed for this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 24, 2026

Documentation Changes Added

Page Section Action Preview
listpostsAPI Reference🔵 UpdatedPreview
createpostAPI Reference🔵 UpdatedPreview
getpostAPI Reference🔵 UpdatedPreview
updatepostAPI Reference🔵 UpdatedPreview
deletepostAPI Reference🔵 UpdatedPreview
listmediaAPI Reference🔵 UpdatedPreview
createmediaAPI Reference🔵 UpdatedPreview
getmediaAPI Reference🔵 UpdatedPreview
updatemediaAPI Reference🔵 UpdatedPreview
deletemediaAPI Reference🔵 UpdatedPreview
listcommentsAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
deletecommentAPI Reference🔵 UpdatedPreview
listthemesAPI Reference🔵 UpdatedPreview
getthemeAPI Reference🔵 UpdatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 24, 2026

📚 No documentation updates were needed for this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 24, 2026

Documentation Changes Added

Page Section Action Preview
listpostsAPI Reference🔵 UpdatedPreview
getpostAPI Reference🔵 UpdatedPreview
createpostAPI Reference🔵 UpdatedPreview
updatepostAPI Reference🔵 UpdatedPreview
createmediaAPI Reference🔵 UpdatedPreview
listcommentsAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
listthemesAPI Reference🔵 UpdatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 24, 2026

📚 No documentation updates were needed for this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 24, 2026

Documentation Changes Added

Page Section Action Preview
listmediaAPI Reference🔵 UpdatedPreview
getmediaAPI Reference🔵 UpdatedPreview
createmediaAPI Reference🔵 UpdatedPreview
updatemediaAPI Reference🔵 UpdatedPreview
listcommentsAPI Reference🔵 UpdatedPreview
getcommentAPI Reference🔵 UpdatedPreview
createcommentAPI Reference🔵 UpdatedPreview
updatecommentAPI Reference🔵 UpdatedPreview
listpostsAPI Reference🔵 UpdatedPreview
listthemesAPI Reference🔵 UpdatedPreview

🔗 View all changes in ReadMe


Actions

  • Merge doc branch with PR merge
  • Delete doc branch with PR close

@readme-agent-staging
Copy link
Copy Markdown

readme-agent-staging Bot commented Mar 26, 2026

📚 No documentation updates were needed for this PR.

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Mar 26, 2026

Documentation Changes Added

Page Section Action Summary
listthemesAPI Reference📝 UpdatedAdded sort query parameter (name/author/version) and compatibility_status response field to reflect new theme sorting and environment compatibility features.
getthemeAPI Reference📝 UpdatedAdded compatibility_status response field showing PHP and WordPress version compatibility status for the theme.
listmediaAPI Reference📝 UpdatedAdded focal_point and accessibility_status response fields to reflect new smart cropping and accessibility completeness features.
getmediaAPI Reference📝 UpdatedAdded focal_point and accessibility_status response fields to reflect new smart cropping and accessibility completeness features.
createmediaAPI Reference📝 UpdatedAdded focal_point input field to request body and focal_point/accessibility_status response fields for smart cropping and accessibility features.
updatemediaAPI Reference📝 UpdatedAdded focal_point input field to request body and focal_point/accessibility_status response fields for smart cropping and accessibility features.
listcommentsAPI Reference📝 UpdatedAdded priority and word_count response fields to reflect new editorial moderation priority and computed word count features.
getcommentAPI Reference📝 UpdatedAdded priority and word_count response fields to reflect new editorial moderation priority and computed word count features.
createcommentAPI Reference📝 UpdatedAdded priority input field to request body and priority/word_count response fields for editorial moderation workflow features.
updatecommentAPI Reference📝 UpdatedAdded priority input field to request body and priority/word_count response fields for editorial moderation workflow features.

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 2, 2026

Documentation Changes Added

Page Section Action Summary
listpostsAPI Reference📝 UpdatedAdd reading_speed query parameter and reading_time/content_summary response fields to List posts endpoint
createpostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Create a post endpoint
getpostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Retrieve a post endpoint
updatepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Update a post endpoint
deletepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Delete a post endpoint
listmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to List media endpoint
createmediaAPI Reference📝 UpdatedAdd focal_point input param and focal_point/accessibility_status response fields to Upload media endpoint
getmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Retrieve a media item endpoint
updatemediaAPI Reference📝 UpdatedAdd focal_point input param and focal_point/accessibility_status response fields to Update a media item endpoint
deletemediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Delete a media item endpoint
listcommentsAPI Reference📝 UpdatedAdd priority and word_count response fields to List comments endpoint
createcommentAPI Reference📝 UpdatedAdd priority input param and priority/word_count response fields to Create a comment endpoint
getcommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Retrieve a comment endpoint
updatecommentAPI Reference📝 UpdatedAdd priority input param and priority/word_count response fields to Update a comment endpoint
deletecommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Delete a comment endpoint
listthemesAPI Reference📝 UpdatedAdd sort query parameter and compatibility_status response field to List themes endpoint
getthemeAPI Reference📝 UpdatedAdd compatibility_status response field to Retrieve a theme endpoint

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 8, 2026

Documentation Changes Added

Page Section Action Summary
listpostsAPI Reference📝 UpdatedAdd reading_speed query parameter, reading_time and content_summary response fields to List posts endpoint
createpostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Create a post endpoint
getpostAPI Reference📝 UpdatedAdd reading_speed query parameter, reading_time and content_summary response fields to Retrieve a post endpoint
updatepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Update a post endpoint
deletepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Delete a post endpoint
listmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to List media endpoint
createmediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to Upload media endpoint
getmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Retrieve a media item endpoint
updatemediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to Update a media item endpoint
deletemediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Delete a media item endpoint
listcommentsAPI Reference📝 UpdatedAdd priority and word_count response fields to List comments endpoint
createcommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to Create a comment endpoint
getcommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Retrieve a comment endpoint
updatecommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to Update a comment endpoint
deletecommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Delete a comment endpoint
listthemesAPI Reference📝 UpdatedAdd sort query parameter and compatibility_status response field to List themes endpoint
getthemeAPI Reference📝 UpdatedAdd compatibility_status response field to Retrieve a theme endpoint

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 10, 2026

Documentation Changes Added

Page Section Action Summary
listpostsAPI Reference📝 UpdatedAdd reading_speed query parameter and reading_time/content_summary response fields for the Posts list endpoint.
createpostAPI Reference📝 UpdatedAdd reading_time and content_summary to the Create post response example.
getpostAPI Reference📝 UpdatedAdd reading_speed query parameter and reading_time/content_summary response fields to the Retrieve post endpoint.
updatepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to the Update post endpoint.
deletepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to the Delete post endpoint.
listmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to the List media endpoint.
createmediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to the Upload media endpoint.
getmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to the Retrieve media endpoint.
updatemediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to the Update media endpoint.
deletemediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to the Delete media endpoint.
listcommentsAPI Reference📝 UpdatedAdd priority and word_count response fields to the List comments endpoint.
createcommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to the Create comment endpoint.
getcommentAPI Reference📝 UpdatedAdd priority and word_count response fields to the Retrieve comment endpoint.
updatecommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to the Update comment endpoint.
deletecommentAPI Reference📝 UpdatedAdd priority and word_count response fields to the Delete comment endpoint.
listthemesAPI Reference📝 UpdatedAdd sort query parameter and compatibility_status response field to the List themes endpoint.
getthemeAPI Reference📝 UpdatedAdd compatibility_status response field to the Retrieve theme endpoint.

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 13, 2026

Documentation Changes Added

Page Section Action Summary
listpostsAPI Reference📝 UpdatedAdd reading_speed query parameter, reading_time and content_summary response fields to List posts endpoint
createpostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Create a post endpoint
createpostAPI Reference📝 UpdatedAdd reading_time and content_summary to Create a post response example
getpostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Retrieve a post endpoint
getpostAPI Reference📝 UpdatedAdd reading_time and content_summary to Retrieve a post response example
updatepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Update a post endpoint
deletepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Delete a post endpoint
listmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to List media endpoint
createmediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to Upload media endpoint
createmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status to Upload media response example
getmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Retrieve a media item endpoint
updatemediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to Update a media item endpoint
deletemediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Delete a media item endpoint
listcommentsAPI Reference📝 UpdatedAdd priority and word_count response fields to List comments endpoint
createcommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to Create a comment endpoint
createcommentAPI Reference📝 UpdatedAdd priority and word_count to Create a comment response example
getcommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Retrieve a comment endpoint
updatecommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to Update a comment endpoint
deletecommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Delete a comment endpoint
listthemesAPI Reference📝 UpdatedAdd sort query parameter and compatibility_status response field to List themes endpoint
getthemeAPI Reference📝 UpdatedAdd compatibility_status response field to Retrieve a theme endpoint

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

@readme-pr-app
Copy link
Copy Markdown

readme-pr-app Bot commented Apr 24, 2026

Documentation Changes Added

Page Section Action Summary
listpostsAPI Reference📝 UpdatedAdd reading_speed query parameter and reading_time/content_summary response fields to List posts endpoint
createpostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Create a post endpoint
getpostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Retrieve a post endpoint
getpostAPI Reference📝 UpdatedAdd reading_time and content_summary to Retrieve a post response example
updatepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Update a post endpoint
deletepostAPI Reference📝 UpdatedAdd reading_time and content_summary response fields to Delete a post endpoint
listmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to List media endpoint
createmediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to Upload media endpoint
getmediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Retrieve a media item endpoint
updatemediaAPI Reference📝 UpdatedAdd focal_point input/output and accessibility_status response fields to Update a media item endpoint
deletemediaAPI Reference📝 UpdatedAdd focal_point and accessibility_status response fields to Delete a media item endpoint
listcommentsAPI Reference📝 UpdatedAdd priority and word_count response fields to List comments endpoint
createcommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to Create a comment endpoint
getcommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Retrieve a comment endpoint
updatecommentAPI Reference📝 UpdatedAdd priority input/output and word_count response fields to Update a comment endpoint
deletecommentAPI Reference📝 UpdatedAdd priority and word_count response fields to Delete a comment endpoint
listthemesAPI Reference📝 UpdatedAdd sort query parameter and compatibility_status response field to List themes endpoint
getthemeAPI Reference📝 UpdatedAdd compatibility_status response field to Retrieve a theme endpoint

🔗 View all changes in ReadMe


Actions

  • Merge documentation branch with PR merge
  • Delete documentation branch with PR close

If neither actions are selected, on PR close/merge the docs branch in ReadMe will remain open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant