id: schemaorg-api-support title: Schema.org Plugin API Documentation description: Guide for using the Schema.org plugin via Joomla REST API slug: /webservices/schemaorg-api-support
This document provides details about the Schema.org system plugin's API support in Joomla CMS. This guide outlines the API endpoints, payload structure, and testing instructions.
Creates a new content item with Schema.org metadata.
{
"title" : "Test Article",
"@type" : "Article",
"articletext" : "Content",
"author": {
"type" : "Person",
"name" : "John-doe",
"email" : "john@example.com"
}
}Response
- Status Code:
201 Created. - Payload:
{
"id" : 123,
"status" : "success",
"message" : "Schema.org created successfully."
}Updates an existing content item with Schema.org metadata.
{
"author": {
"type" : "Person2",
"email" : "person2@example.com"
}
}Response
- Status Code:
200 OKor204 No Content.
Retrieves content items with Schema.org metadata.
type: Filter by type (e.g.,Article,Person).author: Filter by author name.
GET /content?type=Article&author=john-doeResponses
- Status Code :
200 OK.{ "id" : 123, "title" : "Test Article", "@type" : "Article", "author" : { "type" : "Person", "name" :"John-doe", "email" : "john@example.com" } }
- Enable the Schema.org plugin in Joomla's backend.
- Use Joomla REST API to
- POST : Creates new content.
- PATCH: Update existing content.
- GET : Verify structured metadata is included in the response.
- Ensure that schema metadata appears in both API and administrator use cases.
-Schema.org plugin does not execute when content is saved via API.
-Schema.org plugin supports execution via both admin and API clients, enabling full metadata injection.