-
Notifications
You must be signed in to change notification settings - Fork 78
Enable Schema.org Plugin Execution for API-saved Content in Joomla CMS. #442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Description: This PR enhances the Schema.org plugin to support execution when content is saved via the Joomla REST API. Previously, the plugin did not execute under API-based content creation or updates, limiting its functionality to administrator use cases.
Key changes in this PR:
Added support for Schema.org metadata injection during API content operations (POST, PATCH).
Ensured structured Schema.org metadata is accessible in API responses (GET).
Validated plugin behavior across both API and admin clients.
Testing Instructions:
Enable the Schema.org plugin in Joomla's backend.
Test API operations:
POST: Confirm metadata injection for new content items.
PATCH: Verify updates reflect in Schema.org metadata.
GET: Check metadata inclusion in response payloads.
Confirm consistent Schema.org metadata handling between admin UI and API.
Expected Result: Schema.org metadata is successfully applied and retrievable via both admin and API workflows, ensuring seamless integration and usa
PR Type
Documentation, Enhancement
Description
Added documentation for Schema.org plugin API support.
Detailed API endpoints for POST, PATCH, and GET operations.
Included testing instructions for validating API and admin workflows.
Highlighted expected behavior changes after the PR.
Changes walkthrough 📝
schemaorg-api-support.md
Added Schema.org plugin API documentation.
docs/webservices/schemaorg-api-support.md
responses.