Enable Schema.org Plugin Execution for API-saved Content in Joomla CMS. #442
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.
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.