name: liferay-data-apis description: Expert guidance for Liferay Objects, Headless APIs, and Commerce logic. Focuses on data modeling, API interaction, and batch data operations.
Liferay Data & APIs Skill
This skill provides expert procedural knowledge for interacting with Liferay's data layer via Headless APIs and managing Object definitions and Commerce logic.
Core Workflows
- Headless API Interaction: Consume Liferay's REST APIs for content, documents, and custom Objects.
- Object Definition & Population: Programmatically create Object definitions and populate them with data.
- Batch Operations: Use Batch Client Extensions for bulk data initialization and synchronization.
- Commerce Logic: Interact with Liferay Commerce APIs for catalogs, SKUs, and pricing.
STRICT EXECUTION PROTOCOL (MANDATORY READS)
You MUST NOT rely on pre-existing Liferay knowledge. You MUST use the read_file tool to read the following reference documents BEFORE beginning execution or strategy planning:
- General Liferay Tasks: Read LIFERAY_BEST_PRACTICES.md for baseline standards.
- Headless APIs: Read LIFERAY_HEADLESS_API_GUIDE.md for REST endpoint standards and query parameters.
- Object Definitions: Read OBJECT_DEFINITION_CREATION_AND_POPULATION.md for mapping and publishing Objects.
- Batch Client Extensions: Read BATCH_OBJECT_CLIENT_EXTENSION_GUIDE.md for data import/export patterns.
- Commerce APIs: Read LIFERAY_COMMERCE_API_GUIDE.md for product and catalog management.