Apache Sling Resource API

The Sling Resource API provides RESTful access to JCR content repository nodes via HTTP. Every content node is addressable as a URL, supporting GET, POST, PUT, DELETE, and MOVE operations through the Sling Default GET/POST Servlets. Content is accessible in multiple formats via selector and extension: .json for structured data, .xml for XML export, .infinity.json for deep tree traversal, and .tidy.json for formatted output. The POST Servlet (SlingPostServlet) handles content creation, modification, deletion, move, copy, and import operations.

API entry from apis.yml

apis.yml Raw ↑
aid: apache-sling:apache-sling-resource-api
name: Apache Sling Resource API
description: 'The Sling Resource API provides RESTful access to JCR content repository nodes via HTTP.
  Every content node is addressable as a URL, supporting GET, POST, PUT, DELETE, and MOVE operations through
  the Sling Default GET/POST Servlets. Content is accessible in multiple formats via selector and extension:
  .json for structured data, .xml for XML export, .infinity.json for deep tree traversal, and .tidy.json
  for formatted output. The POST Servlet (SlingPostServlet) handles content creation, modification, deletion,
  move, copy, and import operations.'
humanURL: https://sling.apache.org/documentation/the-sling-engine/resources.html
tags:
- REST
- JCR
- Content Management
- Resources
- Java
properties:
- type: Documentation
  url: https://sling.apache.org/documentation/the-sling-engine/resources.html
- type: Documentation
  url: https://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-post.html