Generic reading by using REST services for Web Content Manager | HCL Digital Experience
Although not all item types are handled by the REST service, all item types can be read in a generic fashion by using the REST service.
/item/{item-uuid}
Example
GET /wps/mycontenthandler/wcmrest/item/c98d11e1-7f2a-480e-9aac-40eb1949cbda HTTP/1.0
HTTP/1.0 200 OK
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:wcm="wcm/namespace">
<id>c98d11e1-7f2a-480e-9aac-40eb1949cbda</id>
<title>Web Content</title>
<link rel="edit" href="/wps/mycontenthandler/!ut/p/wcmrest/item/c98d11e1-7f2a-480e-9aac-40eb1949cbda"/>
<link rel="library" href="/wps/mycontenthandler/!ut/p/wcmrest/item/c98d11e1-7f2a-480e-9aac-40eb1949cbda"/>
<updated>2011-05-16T20:42:29.979Z</updated>
<wcm:type>interface com.ibm.workplace.wcm.api.Library</wcm:type>
<wcm:state>PUBLISHED</wcm:state>
</entry>
Digital Experience Core Configuration API
The Digital Experience Core Configuration API allows developers to retrieve DX configuration settings. It is available for use with HCL Digital Experience 9.5 Container Update CF181 and higher releases.
- Endpoint
- GET request to:
- Expected Body
- With payload:
- Expected Headers
- LTPA token of the user.
- Return body
- Result: 200, if successful.
Explanation of parameters
- dam - enabled: If the Digital Asset Management (DAM) is configured.
- dam - picker-url-files: If DAM is enabled, this parameter holds the URL to launch the DAM Selection interface and the filter for Files (excluding images).
- dam - picker-url-images: If DAM is enabled, this parameter holds the URL to launch the DAM Selection interface and filter for Images (excluding other files).
- wcm - maxuploadsize: Maximum size of assets that can be uploaded to the Web Content Manager JCR (not the Digital Asset Manager storage container.
- wcm - browserCacheMaxAge: The configured timeout value in Web Content Manager for static resources, in seconds. Default value is 600 seconds.
- wcm - picker-url-content: The URL to launch the Content Picker (selection interface).