Manipulating content with APIs

November 14, 2023

You can use APIs to manipulate content on your Jahia sites. Available APIs include GraphQL, JCR, and Actions. GraphQL is the recommended approach, especially for client-side applications. For more information on the GraphQL API, see Using GraphQL to perform queries. The JCR API is typically used to perform CRUD operations on content, automatically split nodes, and use property interceptors. Actions are the legacy method for creating custom business logic in Jahia. Jahia now recommends using GraphQL instead with modern web applications.

The topics here show how to use the JCR API, RESTful JCR, and the Actions API to manipulate content.

For more information on the differences between the GraphQL API, REST API, and Jahia Actions, see About Jahia APIs.