+

Search Tips   |   Advanced Search

Generic reading using REST services for Web Content Manager

Although not all item types are handled by the REST service, all item types can be read in a generic fashion using the REST service.

We can issue a GET request to any web content item using the following URI:

/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="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>


Parent: Work with web content items using REST